/* =========================================================
   MYANMAR GSS — HOME PAGE
   Home-only layout, typography, backgrounds and controls.
   Load after styles.css, footer.css and premium-carousel.css.
   ========================================================= */

:root {
  --home-cream: #fff8ef;
  --home-cream-deep: #f5e8d6;
  --home-paper: #ffffff;
  --home-ink: #242226;
  --home-muted: #5e5960;
  --home-red: #a9002f;
  --home-pink: #e85a78;
  --home-dark: #26030e;
}

/* Global readable type scale for the home page */
body {
  font-family: "Roboto", "Google Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--home-ink);
}

h1,
h2,
h3,
h4,
p,
li,
a,
button {
  overflow-wrap: normal;
}

/* Navigation: stable glass segmented language switch */
.nav-shell {
  background: rgba(255, 250, 244, 0.86);
  border-bottom: 1px solid rgba(55, 30, 35, 0.12);
  box-shadow: 0 8px 28px rgba(40, 12, 20, 0.06);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.language-selector {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 104px;
  height: 40px;
  padding: 3px;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 5px 18px rgba(48, 17, 28, .10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.language-pill-bg {
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: linear-gradient(135deg, #b20b3b, #850023);
  box-shadow: 0 5px 14px rgba(169, 0, 47, .28), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.language-btn {
  min-height: 32px;
  height: 32px;
  font-family: "Roboto", "Google Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #514b50;
}

.language-btn[aria-pressed="true"] {
  color: #fff;
}

.language-btn:hover {
  color: #a9002f;
}

.language-btn[aria-pressed="true"]:hover {
  color: #fff;
}

/* Hero: less height, calmer line length and readable title */
.hero {
  min-height: 690px;
  color: #fff;
}

.hero-content {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
  padding: 92px 0 78px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #ffb6c7;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 42px;
  height: 2px;
  background: #ff9fb7;
  flex: 0 0 auto;
}

.hero .hero-title {
  max-width: 900px;
  margin: 0 0 26px;
  font-family: "Roboto", "Google Sans", Arial, sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.7px;
  text-wrap: balance;
}

.hero .hero-title .red {
  color: #f18aa0;
}

.hero-highlights {
  max-width: 720px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-highlights li {
  min-height: 0;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, .86);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-meta .btn {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

.hero-facts {
  margin-top: 34px;
}

.hero-fact small {
  font-size: 12px;
}

.hero-fact strong {
  font-size: 14px;
}

/* Distinct surfaces make each section easier to scan */
.section-company {
  background: var(--home-cream);
}

.section-services {
  background: #f3e4d1;
}

.section-message {
  background: var(--home-dark);
  color: #fff;
}

.section-activities {
  background: #fffaf5;
}

.section {
  padding: 88px 0;
}

.section-title {
  max-width: 700px;
  margin: 0 0 22px;
  font-family: "Roboto", "Google Sans", Arial, sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.1px;
  color: var(--home-ink);
}

.section-copy {
  max-width: 660px;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--home-muted);
}

.eyebrow {
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #cf4564;
}

.section-services .section-title,
.section-services .section-copy,
.section-services .eyebrow {
  color: var(--home-ink);
}

.service-card {
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(92, 53, 55, .16);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(67, 34, 31, .08);
}

.service-card .number {
  font-size: 38px;
  line-height: 1;
}

.service-card h3 {
  margin: 20px 0 12px;
  font-size: 23px;
  line-height: 1.22;
  letter-spacing: -.4px;
}

.service-card p {
  min-height: 92px;
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1.7;
  color: #5f5960;
}

.service-card .btn {
  font-size: 14px;
}

/* Representative message: no oversized quotation */
.section-message .section-title {
  color: #fff;
  font-size: 46px;
}

.section-message .quote {
  max-width: 620px;
  border-left: 3px solid #ff5478;
  padding-left: 22px;
  color: rgba(255, 255, 255, .94);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.48;
}

.section-message .btn {
  margin-top: 22px;
  font-size: 14px;
}

.section-message .light-eyebrow {
  color: #ff7894;
}

/* Premium carousel controls: equal circles, centered glyphs, no distorted pill */
premium-carousel .dock {
  right: 14px;
  bottom: 14px;
  left: 14px;
  gap: 10px;
}

premium-carousel .arrow {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: rgba(25, 17, 24, .62);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  transform: none;
}

premium-carousel .arrow:hover,
premium-carousel .arrow:focus-visible {
  background: #a9002f;
  border-color: #fff;
  transform: scale(1.04);
}

premium-carousel .indicators {
  padding: 7px 12px;
  gap: 7px;
}

premium-carousel .dot {
  width: 8px;
  height: 8px;
}

premium-carousel .dot.is-active {
  width: 22px;
  background: #ff5478;
}

@media (max-width: 1100px) {
  .hero .hero-title {
    font-size: 48px;
  }

  .section-title {
    font-size: 42px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding: 70px 20px 66px;
  }

  .hero .hero-title {
    max-width: 720px;
    font-size: 42px;
    letter-spacing: -1px;
  }

  .section {
    padding: 68px 0;
  }

  .section-title {
    font-size: 36px;
  }

  .section-message .quote {
    font-size: 23px;
  }
}

@media (max-width: 600px) {
  .language-selector {
    width: 96px;
    height: 38px;
  }

  .language-btn {
    font-size: 12px;
  }

  .hero .hero-title {
    font-size: 34px;
    line-height: 1.12;
  }

  .hero-highlights li {
    font-size: 16px;
  }

  .section-title {
    font-size: 32px;
  }

  .service-card {
    padding: 24px;
  }

  .service-card h3 {
    font-size: 21px;
  }

  .section-message .section-title {
    font-size: 34px;
  }

  .section-message .quote {
    font-size: 20px;
    padding-left: 16px;
  }
}

/* =========================================================
   FINAL HOME OVERRIDES
   These rules intentionally come last so they win over legacy
   home declarations in the global stylesheet.
   ========================================================= */

/* Home hero typography: readable at desktop and easy to scan. */
.hero {
  min-height: 720px;
}

.hero-content {
  width: min(1180px, calc(100% - 48px));
  padding: 108px 0 72px;
}

.hero .hero-title {
  max-width: 820px;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.hero-highlights li {
  max-width: 650px;
  font-size: 16px;
  line-height: 1.65;
}

/* Hero carousel controls — visible, keyboard accessible and icon-ready. */
.hero-carousel-controls {
  position: absolute;
  z-index: 8;
  right: 32px;
  bottom: 28px;
  left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(24, 15, 23, 0.48);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.hero-carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero-carousel-arrow i {
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
}

.hero-carousel-arrow:hover,
.hero-carousel-arrow:focus-visible {
  background: #a9002f;
  border-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.06);
}

.hero-carousel-arrow:focus-visible,
.hero-carousel-dot:focus-visible {
  outline: 2px solid #ffb5c3;
  outline-offset: 3px;
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 4px;
}

.hero-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.hero-carousel-dot.active {
  width: 24px;
  background: #ff5478;
  border-color: #ff5478;
}

/* Section contrast: every home section has a deliberate text surface. */
.section-company {
  background: #fff8ef;
  color: #242226;
}

.section-services {
  background: #f3e4d1;
  color: #242226;
}

.section-message,
.section-message.dark-panel {
  background: #26030e;
  color: #ffffff;
}

.section-activities {
  background: #fffaf5;
  color: #242226;
}

.section-company .section-title,
.section-services .section-title,
.section-activities .section-title,
.section-company .section-copy,
.section-services .section-copy,
.section-activities .section-copy {
  color: #242226;
}

.section-message .section-title,
.section-message .section-copy,
.section-message p,
.section-message .quote {
  color: #ffffff;
}

.section-message .quote {
  max-width: 560px;
  font-size: 22px;
  line-height: 1.55;
  font-weight: 400;
}

/* Language selector: stable glass segmented switch. */
.language-selector {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  width: 104px;
  height: 40px;
  margin-left: 12px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 6px 22px rgba(48, 17, 28, 0.12);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  overflow: hidden;
}

.language-pill-bg {
  z-index: 1;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: linear-gradient(135deg, #b20b3b, #850023);
  box-shadow: 0 5px 14px rgba(169, 0, 47, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.language-btn {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #514b50;
  font-family: var(--font-sans, "Roboto", Arial, sans-serif);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.language-btn[aria-pressed="true"] {
  color: #ffffff;
}

.language-btn:hover {
  color: #a9002f;
}

.language-btn[aria-pressed="true"]:hover {
  color: #ffffff;
}

@media (max-width: 1100px) {
  .hero .hero-title {
    font-size: 44px;
  }

  .hero-carousel-controls {
    right: 24px;
    bottom: 22px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 650px;
  }

  .hero-content {
    width: min(100% - 40px, 720px);
    padding: 84px 0 100px;
  }

  .hero .hero-title {
    max-width: 700px;
    font-size: 38px;
    line-height: 1.15;
  }

  .hero-carousel-controls {
    right: 20px;
    bottom: 18px;
  }

  .section-message .quote {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 620px;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 64px 0 92px;
  }

  .hero .hero-title {
    font-size: 30px;
    letter-spacing: -0.4px;
  }

  .hero-highlights li {
    font-size: 15px;
  }

  .hero-carousel-controls {
    right: 12px;
    bottom: 12px;
    gap: 6px;
    padding: 6px;
  }

  .hero-carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .hero-carousel-dots {
    gap: 5px;
  }

  .hero-carousel-dot {
    width: 7px;
    height: 7px;
  }

  .hero-carousel-dot.active {
    width: 18px;
  }

  .language-selector {
    width: 96px;
    height: 38px;
    margin-left: 0;
  }

  .language-btn {
    height: 30px;
    font-size: 12px;
  }
}

/* =========================================================
   FINAL CAROUSEL BUTTON HARDENING
   Keeps the premium glass UI and guarantees visible controls.
   ========================================================= */
.hero {
  isolation: isolate;
}

.hero-photo,
.hero-grid,
.hero-content,
.hero-carousel-controls {
  position: absolute;
}

.hero-photo {
  inset: 0;
  z-index: 0;
}

.hero-grid {
  inset: 0;
  z-index: 1;
}

.hero-content {
  inset: 0;
  z-index: 4;
  position: relative;
}



/* =========================================================
   MGSS HERO CAROUSEL CONTROLS
   Minimal floating controls + individual glass buttons
   No outer container / no surrounding border
   ========================================================= */

/* Controls wrapper — transparent, no box */
.hero-carousel-controls {
  position: absolute;
  z-index: 10;
  right: clamp(20px, 5vw, 72px);
  bottom: clamp(20px, 4vw, 48px);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  padding: 0;
  margin: 0;

  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* =========================================================
   PREVIOUS / NEXT — individual glass buttons
   ========================================================= */

.hero-carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;

  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;

  padding: 0;
  margin: 0;

  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);

  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;

  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);

  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);

  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;

  cursor: pointer;

  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

/* Bootstrap Icons */
.hero-carousel-arrow i {
  display: block;
  font-size: 15px;
  line-height: 1;
  pointer-events: none;
}

/* Hover */
.hero-carousel-arrow:hover {
  color: #ffffff;
  background: rgba(169, 0, 47, 0.88);
  border-color: rgba(255, 255, 255, 0.7);

  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);

  transform: translateY(-2px);
}

/* Press */
.hero-carousel-arrow:active {
  transform: scale(0.94);
}

/* Keyboard focus */
.hero-carousel-arrow:focus-visible,
.hero-carousel-dot:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

/* =========================================================
   DOTS — clean indicators without a background container
   ========================================================= */

.hero-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 0;
  margin: 0;

  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Individual dot */
.hero-carousel-dot {
  display: block;
  flex: 0 0 9px;

  width: 9px;
  min-width: 9px;
  height: 9px;
  min-height: 9px;

  padding: 0;
  margin: 0;

  background: rgba(255, 255, 255, 0.55);
  border: 0;
  border-radius: 999px;

  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.22);

  cursor: pointer;

  transition:
    width 220ms ease,
    flex-basis 220ms ease,
    background-color 220ms ease,
    opacity 220ms ease;
}

/* Active slide */
.hero-carousel-dot.active {
  flex-basis: 25px;
  width: 25px;

  background: #ffffff;
  opacity: 1;
}

/* Dot hover */
.hero-carousel-dot:hover {
  background: #ffb4c4;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
  .hero-carousel-controls {
    right: 20px;
    bottom: 22px;
    gap: 12px;
  }

  .hero-carousel-arrow {
    flex-basis: 42px;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
  }

  .hero-carousel-dots {
    gap: 7px;
  }

  .hero-carousel-dot.active {
    flex-basis: 22px;
    width: 22px;
  }
}

@media (max-width: 480px) {
  .hero-carousel-controls {
    right: 14px;
    bottom: 16px;
    gap: 10px;
  }

  .hero-carousel-arrow {
    flex-basis: 38px;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .hero-carousel-arrow i {
    font-size: 13px;
  }

  .hero-carousel-dots {
    gap: 6px;
  }

  .hero-carousel-dot {
    flex-basis: 7px;
    width: 7px;
    min-width: 7px;
    height: 7px;
    min-height: 7px;
  }

  .hero-carousel-dot.active {
    flex-basis: 18px;
    width: 18px;
  }
}

/* UNUSED: Previous pill/container styling is superseded by this
   carousel visual and interaction regression testing is complete. */

/* 
.hero-carousel-controls {
  z-index: 30;
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto;
}

.hero-carousel-arrow {
  flex: 0 0 42px;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  color: #ffffff !important;
  background: rgba(25, 17, 24, 0.72) !important;
  text-indent: 0;
  overflow: visible;
}

.hero-carousel-arrow i {
  display: inline-block;
  width: auto;
  height: auto;
  color: inherit;
  font-size: 14px;
  line-height: 1;
}

.hero-carousel-dot {
  flex: 0 0 auto;
  display: block;
  visibility: visible;
  opacity: 0.8;
}

.hero-carousel-dot.active {
  opacity: 1;
}

@media (max-width: 700px) {
  .hero-carousel-controls {
    right: 12px;
    bottom: 12px;
  }
} */