/* ─────────────────────────────────────────────
   CUSTOM FONTS
───────────────────────────────────────────── */
@font-face {
  font-family: 'LoewNextArabic';
  src: url('../font/Loew Next Arabic Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'LoewNextArabic';
  src: url('../font/Loew Next Arabic_2.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'LoewNextArabic', system-ui, sans-serif;
  height: 100%;
  overflow: hidden;
  background: #ccc8bc;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ─────────────────────────────────────────────
   CONTAINER
───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─────────────────────────────────────────────
   PAGE PILING ENGINE
───────────────────────────────────────────── */
.pp-pages {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.pp-section {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.85s cubic-bezier(0.645, 0.045, 0.355, 1);
  scrollbar-width: none;
}

.pp-section::-webkit-scrollbar {
  display: none;
}

.pp-section.pp-visible {
  transform: translateY(0);
}

.pp-page-dark {
  background-color: #000;
}

.pp-page-text {
  background: url('../images/MMBG-Website-hero.png') center center / cover no-repeat;
}

.pp-page-ecosystem {
  background: url("../images/Group'sbg.jpg") center center / cover no-repeat;
}

.pp-page-awards {
  background: url('../images/Recognized-bg.jpg') center center / cover no-repeat;
}

.pp-page-contact {
  background: url('../images/contact-bg.jpg') center center / cover no-repeat;
}

.pp-page-contact {
  justify-content: flex-start;
}

.pp-page-contact .contact {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pp-section[data-page="1"] {
  justify-content: flex-start;
}

.hero-heading-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 12rem;
}

/* ── Scroll-down hint (page 1) ── */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 2.75rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  animation: pp-scroll-float 2.2s ease-in-out infinite;
}

.scroll-hint-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.scroll-hint-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-hint-wheel {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: #fff;
  animation: pp-scroll-wheel 1.6s ease-in-out infinite;
}

@keyframes pp-scroll-wheel {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; transform: translateY(0); }
}

@keyframes pp-scroll-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 600px) {
  .scroll-hint {
    bottom: 1.5rem;
  }
}

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
.site-header {
  width: 100%;
  padding: 2rem 3rem 0;
  background-color: #000;
}

.header-inner {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: pp-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.logo-img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* Global logo overlay — shown on pages 2–6 */
.global-logo {
  position: fixed;
  top: 2rem;
  right: 3rem;
  z-index: 50;
  height: 56px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.global-logo img {
  height: 100%;
  width: auto;
  display: block;
  filter: brightness(0); /* black logo for light pages */
}

.global-logo.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.global-logo.on-dark img {
  filter: brightness(0) invert(1); /* white logo for dark pages */
}

/* Global border line — matches page 1's header rule, shown on pages 2–6 */
.global-rule {
  position: fixed;
  top: calc(2rem + 56px + 1.75rem);
  left: 3rem;
  right: 3rem;
  height: 0;
  margin: 0;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.4); /* black for light pages */
  z-index: 49;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.global-rule.is-visible {
  opacity: 1;
}

.global-rule.on-dark {
  border-top-color: rgba(255, 255, 255, 0.5); /* white for dark pages */
}

@media (max-width: 600px) {
  .global-logo {
    top: 1.25rem;
    right: 1.25rem;
    height: 36px;
  }

  .global-rule {
    top: calc(1.25rem + 36px + 1rem);
    left: 1.25rem;
    right: 1.25rem;
  }
}

.header-rule {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  width: 100%;
  opacity: 0;
  animation: pp-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}

/* ─────────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────────── */
.pp-page-dark .container,
.pp-page-text .container {
  text-align: center;
  padding: 0 2rem;
}

.hero-heading {
  font-size: clamp(1.5rem, 3.5vw, 2.15rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.7;
  color: #fff;
  opacity: 0;
  animation: pp-fade-up 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

@keyframes pp-fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pp-page-video {
  padding: 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.hero-body-heading {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.hero-body {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero-body p {
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  font-weight: 400;
  line-height: 1.75;
  color: #222;
  max-width: 680px;
  margin: 0 auto;
}

@media (min-width: 901px) {
  .hero-body p {
    font-size: 1.2rem;
    max-width: 980px;
  }
}

/* ─────────────────────────────────────────────
   BRANDS BAR
───────────────────────────────────────────── */
.brands {
  padding: 2.5rem 2rem 3rem;
}

.brands-heading {
  text-align: center;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1a1a1a;
  margin: 0 0 2rem;
}

/* Ecosystem intro — mirrors awards-intro (dark text for the light bg) */
.brands-intro {
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  font-weight: 400;
  line-height: 1.75;
  color: #222;
  max-width: 680px;
  margin: 0 auto 4rem;
  text-align: center;
}

@media (min-width: 901px) {
  .brands-intro {
    font-size: 1.2rem;
    max-width: 980px;
  }
}

/* Click hint — sits just above the icons */
.brands-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 0 3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #000;
  cursor: default;
  animation: cta-pulse 2.4s ease-in-out infinite;
}

.brands-cta-icon {
  flex-shrink: 0;
  transform-origin: center;
  animation: cta-tap 2.4s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes cta-tap {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(2px, 2px) scale(0.86); }
}

.brands-slider {
  position: relative;
  width: 100%;
}

.brands-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

/* Slider nav buttons — hidden on desktop, shown on mobile */
.brands-nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.brands-nav:active {
  opacity: 0.6;
}

.brands-nav[disabled] {
  opacity: 0.25;
  cursor: default;
}

.brands-nav--prev {
  left: 0;
}

.brands-nav--next {
  right: 0;
}

.brand-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 70px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.brand-icon,
.brand-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  max-width: 85%;
  object-fit: contain;
  filter: brightness(0);
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-icon {
  height: 50px;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.brand-logo {
  height: 32px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
}

.brand-item[data-brand="sima"] .brand-logo,
.brand-item[data-brand="charizma"] .brand-logo,
.brand-item[data-brand="fasila"] .brand-logo,
.brand-item[data-brand="naqsh"] .brand-logo {
  height: 46px;
}

.brand-item.active .brand-icon {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
}

.brand-item.active .brand-logo {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Hover reveal only on real-mouse devices (avoids double-tap on touch) */
@media (hover: hover) {
  .brand-item:hover .brand-icon {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }

  .brand-item:hover .brand-logo {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Active brand — full opacity */
.brand-item.active .brand-icon,
.brand-item.active .brand-logo {
  filter: brightness(0);
}

/* Dimmed brands — 30% opacity */
.brand-item.dimmed {
  opacity: 0.3;
}


/* ─────────────────────────────────────────────
   BRAND STORY SECTIONS
───────────────────────────────────────────── */
.brand-story {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(0);
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* default dark bg for brands without a bg image */
  background-color: #1a1209;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-story.active {
  max-height: 800px;
  opacity: 1;
  transform: translateY(0);
  min-height: 480px;
}

.brand-story-overlay {
  display: none;
}

.brand-story-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 720px;
  padding: 5rem 2rem;
}

.brand-story-content h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: 2rem;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.brand-story-content p {
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  font-weight: 400;
  line-height: 1.85;
  color: #fff;
  text-shadow: 0 1px 5px rgba(0,0,0,0.55);
  margin-bottom: 2.5rem;
}

.brand-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 2px solid #fff;
  color: #fff;
  font-family: 'LoewNextArabic', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.brand-btn:hover {
  background: #fff;
  color: #1a1209;
}

/* MmBrand section — black text & button */
#story-mmbrand .brand-story-content h2,
#story-mmbrand .brand-story-content p {
  color: #111;
  text-shadow: none;
}

#story-mmbrand .brand-btn {
  border-color: #111;
  color: #111;
}

#story-mmbrand .brand-btn:hover {
  background: #111;
  color: #fff;
}

/* ─────────────────────────────────────────────
   AWARDS SHOWCASE (3-column, before contact)
───────────────────────────────────────────── */
.awards-showcase {
  padding: 5rem 2.5rem 2rem;
}

.awards-heading {
  text-align: center;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  margin: 0 0 2rem;
}

.awards-intro {
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  font-weight: 400;
  line-height: 1.75;
  color: #e8edf2;
  max-width: 680px;
  margin: 0 auto 4rem;
  text-align: center;
}

@media (min-width: 901px) {
  .awards-intro {
    font-size: 1.2rem;
    max-width: 980px;
  }
}

/* Click hint — sits just above the awards icons */
.awards-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 0 3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  cursor: default;
  animation: cta-pulse 2.4s ease-in-out infinite;
}

.awards-cta-icon {
  flex-shrink: 0;
  transform-origin: center;
  animation: cta-tap 2.4s ease-in-out infinite;
}

.awards-showcase-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.awards-col {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.awards-col img {
  height: 140px;
  width: auto;
  object-fit: contain;
}

/* ── Award story panel ── */
.award-story {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease, padding 0.5s ease;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-story-inner {
  background-image: url("../images/awardsdownbg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.award-story.active {
  max-height: 800px;
  opacity: 1;
  padding: 5rem 2.5rem;
}

/* Dim the award col when active */
.awards-col--hoverable {
  cursor: pointer;
}

.awards-col--hoverable img {
  filter: none;
  mix-blend-mode: normal;
  transition: opacity 0.25s ease;
}

.awards-col--hoverable.active img {
  opacity: 0.55;
}

.award-story-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1300px;
  width: 100%;
  padding: 8rem 5rem;
}

.award-story-img {
  display: none;
}

.award-story-img img {
  height: 180px;
  width: auto;
  object-fit: contain;
}

.award-story-text h2 {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 1.5rem;
}

.award-story-text h3 {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 700;
  color: #111;
  margin-bottom: 0.85rem;
}

.award-story-text p {
  font-size: clamp(0.85rem, 1.3vw, 0.95rem);
  line-height: 1.85;
  color: rgba(17,17,17,0.75);
}

/* ── Award popup (mobile only) ── */
.award-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.award-modal.is-open {
  display: flex;
}

.award-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}

.award-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 85vh;
  overflow-y: auto;
  background-image: url("../images/awardsdownbg.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  padding: 2.75rem 1.5rem 2.25rem;
  animation: modalZoomIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.award-modal.is-closing .award-modal-dialog {
  animation: modalZoomOut 0.28s cubic-bezier(0.55, 0, 0.85, 0.6) forwards;
}

/* Shared popup zoom transitions (brand + award) */
@keyframes modalZoomIn {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes modalZoomOut {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(0.6); }
}

.award-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 0;
  background: rgba(17, 17, 17, 0.08);
  color: #111;
  cursor: pointer;
  transition: background 0.2s ease;
}

.award-modal-close:hover {
  background: rgba(17, 17, 17, 0.18);
}

.award-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.award-modal-content .award-story-img {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.award-modal-content .award-story-img img {
  height: 120px;
  width: auto;
  object-fit: contain;
}

body.award-modal-locked {
  overflow: hidden;
}

/* ── Brand popup (mobile only) ── */
.brand-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.brand-modal.is-open {
  display: flex;
}

.brand-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}

.brand-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 85vh;
  overflow: hidden;
  background-color: #1a1209;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: modalZoomIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-modal.is-closing .brand-modal-dialog {
  animation: modalZoomOut 0.28s cubic-bezier(0.55, 0, 0.85, 0.6) forwards;
}

/* Readability overlay over the brand background image */
.brand-modal-dialog::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.brand-modal[data-brand="mmbrand"] .brand-modal-dialog::before {
  background: rgba(255, 255, 255, 0.2);
}

.brand-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.brand-modal[data-brand="mmbrand"] .brand-modal-close {
  background: rgba(17, 17, 17, 0.1);
  color: #111;
}

.brand-modal-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.brand-modal-content {
  position: relative;
  z-index: 1;
  max-height: 85vh;
  overflow-y: auto;
  text-align: center;
  color: #fff;
  padding: 3.25rem 1.75rem 2.75rem;
  scrollbar-width: none;
}

.brand-modal-content::-webkit-scrollbar {
  display: none;
}

.brand-modal-content h2 {
  font-size: clamp(1.05rem, 4.5vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.brand-modal-content p {
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.8;
  color: #fff;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
  margin-bottom: 1.75rem;
}

.brand-modal-content .brand-btn {
  display: inline-block;
  padding: 0.7rem 1.9rem;
  border: 2px solid #fff;
  color: #fff;
  font-family: 'LoewNextArabic', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.brand-modal-content .brand-btn:hover {
  background: #fff;
  color: #1a1209;
}

/* MmBrand — dark text & button on its light background */
.brand-modal[data-brand="mmbrand"] .brand-modal-content h2,
.brand-modal[data-brand="mmbrand"] .brand-modal-content p {
  color: #111;
  text-shadow: none;
}

.brand-modal[data-brand="mmbrand"] .brand-modal-content .brand-btn {
  border-color: #111;
  color: #111;
}

.brand-modal[data-brand="mmbrand"] .brand-modal-content .brand-btn:hover {
  background: #111;
  color: #fff;
}

@media (max-width: 768px) {
  .award-story {
    align-items: flex-start;
    padding: 0;
    background-image: url("../images/awardsdownbg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .award-story-inner {
    background-image: none;
    max-width: 100%;
    width: 100%;
    border-radius: 0;
    padding: 3rem 10px;
  }
  .award-story-img img {
    height: 110px;
  }
  #award-story-property .award-story-img img {
    height: 150px;
  }
  .award-story-text h2 {
    line-height: 1.6;
  }
  .award-story.active {
    max-height: 1400px;
  }
  .award-story-inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .awards-showcase {
    padding: 5rem 1rem 2rem;
  }

  .awards-showcase-inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    column-gap: 0.75rem;
  }
  .awards-col {
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
  }

  .awards-col[data-award="bestplace"] {
    flex-direction: row;
  }
  .awards-col img {
    height: 80px;
    transition: height 0.25s ease;
  }

  .awards-col--hoverable.active img {
    height: 105px;
  }

  .awards-col--hoverable:not(.active) img {
    height: 70px;
  }

  .awards-col[data-award="bestplace"] img {
    height: 70px;
  }

  .awards-col[data-award="bestplace"].active img {
    height: 90px;
  }
}

/* ─────────────────────────────────────────────
   CONTACT SECTION
───────────────────────────────────────────── */
.contact {
  padding: 6rem 0 3rem;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
}

.contact-heading {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: #111;
}

/* ── Form panel ── */
.contact-right {
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1.1rem 0.2rem;
  border: none;
  border-bottom: 1px solid rgba(17,17,17,0.25);
  background: transparent;
  font-family: 'LoewNextArabic', system-ui, sans-serif;
  font-size: 0.85rem;
  color: #111;
  outline: none;
  transition: border-color 0.25s ease;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #000;
  opacity: 1;
  letter-spacing: 0.05em;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: #9a7c3f;
}

.form-btn {
  align-self: flex-start;
  padding: 0.9rem 2.5rem;
  border: none;
  background: #111;
  color: #fff;
  font-family: 'LoewNextArabic', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.form-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.form-btn:hover {
  background: #9a7c3f;
}

.form-btn:hover::after {
  transform: translateX(100%);
}

.form-feedback {
  font-size: 0.85rem;
  min-height: 1.2rem;
  color: #2a7a2a;
  letter-spacing: 0.03em;
}

.form-feedback.error {
  color: #c0392b;
}

.form-thankyou {
  text-align: center;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.form-thankyou-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #111;
}

.form-thankyou-sub {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(17,17,17,0.55);
  max-width: 400px;
}

@media (max-width: 900px) {
  .contact-inner {
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .contact {
    padding: 3rem 0 0;
  }
  .contact-inner {
    padding: 0 1.25rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .form-btn {
    align-self: stretch;
    text-align: center;
  }
}

/* ─────────────────────────────────────────────
   AWARDS SECTION
───────────────────────────────────────────── */
.awards {
  padding: 1rem 2rem 4rem;
}

.awards-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.awards-inner img {
  height: 140px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.awards-inner img:hover {
  transform: scale(1.05);
}

.award-multiply {
  mix-blend-mode: normal;
}

@media (min-width: 901px) {
  .award-multiply {
    transform: translateY(-5px);
  }
}

@media (max-width: 900px) {
  .awards-inner {
    gap: 1.5rem;
  }
  .awards-inner img {
    height: 75px;
  }
}

@media (max-width: 600px) {
  .awards {
    padding: 1.5rem 1.25rem;
  }
  .awards-inner {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2.5rem 0.5rem;
    padding: 0;
    align-items: center;
    justify-items: center;
  }
  .awards-inner img {
    height: 90px;
    width: 100%;
    object-fit: contain;
  }

  /* Row 1: 1st, 4th, 5th — 3 equal columns */
  .awards-inner img:nth-child(1) { grid-column: 1 / span 2; grid-row: 1; }
  .awards-inner img:nth-child(4) { grid-column: 3 / span 2; grid-row: 1; }
  .awards-inner img:nth-child(5) { grid-column: 5 / span 2; grid-row: 1; transform: translateY(-5px); }

  /* Row 2: 2nd, 3rd — centered */
  .awards-inner img:nth-child(2) { grid-column: 2 / span 2; grid-row: 2; }
  .awards-inner img:nth-child(3) { grid-column: 4 / span 2; grid-row: 2; }
}

/* ─────────────────────────────────────────────
   RESPONSIVE — TABLET (≤ 900px)
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .site-header {
    padding: 1.5rem 2rem 0;
  }

  .logo-img {
    height: 44px;
  }

  .pp-page-dark .container,
  .pp-page-text .container {
    padding: 0 1.5rem;
  }

  .brand-item {
    padding: 0.25rem 0.5rem;
    height: 56px;
  }

  .brand-icon {
    height: 38px;
  }

  .brand-logo {
    height: 26px;
  }
}

/* ─────────────────────────────────────────────
   RESPONSIVE — MOBILE (≤ 600px)
───────────────────────────────────────────── */
@media (max-width: 600px) {
  .site-header {
    padding: 1.25rem 1.25rem 0;
  }

  .logo-img {
    height: 36px;
  }

  .pp-page-dark .container,
  .pp-page-text .container {
    padding: 0 1.25rem;
  }

  .hero-heading {
    font-size: clamp(1.05rem, 5.5vw, 1.35rem);
    letter-spacing: 0.02em;
    line-height: 2;
    text-align: center;
  }

  .hero-video {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 60vh;
    margin: 0;
  }

  /* Reduce gap between heading and icons on mobile */
  .brands-heading {
    margin: 0 0 1.5rem;
  }

  .brands-intro {
    margin-bottom: 2.5rem;
  }

  .brands-cta {
    margin-bottom: 1.25rem;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
  }

  /* Hide slider nav buttons on mobile */
  .brands-nav {
    display: none;
  }

  /* Brands in 2 centered lines on mobile */
  .brands-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 0.75rem;
    padding: 0 1rem;
  }

  .brand-item {
    padding: 0.25rem 0.5rem;
    flex: 0 0 21%;
    max-width: 21%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .brand-icon {
    height: 40px;
  }

  .brand-logo {
    height: 28px;
  }
}

/* ─────────────────────────────────────────────
   POWERED BY STRIP
───────────────────────────────────────────── */
.powered-strip {
  background-color: #000;
  padding: calc(0.4rem + 3px) 2rem calc(0.4rem + 3px);
  text-align: center;
}

.powered-strip p {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
}

.powered-strip a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.powered-strip a:hover {
  text-decoration: underline;
}
