:root {
  --mobcow-black: #000000;
  --mobcow-red: #e53935;
  --mobcow-white: #ffffff;
  --mobcow-muted: rgba(255, 255, 255, 0.72);
  --mobcow-border: rgba(255, 255, 255, 0.14);
  --nav-height: 92px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  background: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* =========================
   NAVBAR
========================= */

.mobcow-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-height);
  z-index: 1000;
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobcow-nav {
  height: 100%;
  padding: 0 34px;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 24px;
}

.mobcow-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.mobcow-brand img {
  width: 112px;
  height: 112px;
  display: block;
  object-fit: contain;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.mobcow-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 38px;
}

.mobcow-menu a {
  position: relative;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.25s ease, transform 0.25s ease;
}

.mobcow-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -23px;
  width: 0;
  height: 3px;
  background: var(--mobcow-red);
  transition: width 0.25s ease;
}

.mobcow-menu a.active::after,
.mobcow-menu a:hover::after {
  width: 100%;
}

.mobcow-menu a:hover,
.mobcow-menu a.active {
  color: #fff;
  transform: translateY(-1px);
}

.mobcow-nav-cta {
  min-height: 52px;
  padding: 0 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--mobcow-red);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.mobcow-nav-cta span {
  font-size: 24px;
  transition: transform 0.25s ease;
}

.mobcow-nav-cta:hover {
  transform: translateY(-2px);
  background: #f03a36;
  box-shadow: 0 12px 28px rgba(229, 57, 53, 0.2);
}

.mobcow-nav-cta:hover span {
  transform: translateX(3px);
}

.mobcow-menu-toggle {
  display: none;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  text-decoration: none;
  box-shadow: none;
  border: none;
  transition: transform 0.22s ease;
  overflow: hidden;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}

.whatsapp-float img {
  width: 86%;
  height: 86%;
  display: block;
  object-fit: contain;
}

.floating-socials {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.floating-socials__item {
  pointer-events: auto;
  display: grid;
  place-items: center;
  align-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  background: rgba(12, 12, 12, 0.92);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.floating-socials__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
}

.floating-socials__icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  flex: 0 0 auto;
}

.floating-socials__icon img {
  width: 96%;
  height: 96%;
  display: block;
  object-fit: contain;
}

.floating-socials__text {
  display: none;
}

.floating-socials__item--whatsapp {
  background: linear-gradient(135deg, #25d366, #1fa84f);
}

.floating-socials__item--facebook {
  background: linear-gradient(135deg, #1877f2, #0f5cc0);
}

.floating-socials__item--twitter {
  background: linear-gradient(135deg, #111, #000);
}

.floating-socials__item--linkedin {
  background: linear-gradient(135deg, #0a66c2, #084b8a);
}

/* =========================
   HERO BASE
========================= */

.mobcow-hero {
  position: relative;
  height: 100vh;
  min-height: 790px;
  overflow: hidden;
  background: #000;
  color: #fff;
}

/* =========================
   IMAGE STRIP AREA
========================= */

.mobcow-hero-gallery {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1.05fr 1.15fr 1.05fr 1.12fr 1.15fr 1.12fr 1.15fr;
  z-index: 1;
}

.mobcow-hero-gallery.is-slideshow {
  display: block;
}

.mobcow-hero-gallery.is-slideshow .hero-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
  will-change: opacity;
  background-position: center top;
  transform: scale(1.02);
  transition:
    opacity 1.1s ease-in-out,
    transform 1.4s ease-in-out,
    filter 0.5s ease;
}

.mobcow-hero-gallery.is-slideshow .hero-panel.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-panel {
  min-height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border-right: 1px solid rgba(229, 57, 53, 0.2);
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: saturate(1.02) contrast(1.02);
}

.hero-panel:hover {
  transform: scale(1.02);
  filter: saturate(1.15) contrast(1.08);
}

/* TEMP PLACEHOLDERS UNTIL YOU ADD IMAGES */
.panel-1 {
  background:
    linear-gradient(rgba(0,0,0,.01), rgba(0,0,0,.01)),
    url("../../images/featured/mobcows-uwc.jpg");
}

.panel-2 {
  background:
    linear-gradient(rgba(0,0,0,.01), rgba(0,0,0,.01)),
    url("../../images/featured/catering.jpg");
}

.panel-3 {
  background:
    linear-gradient(rgba(229,57,53,.03), rgba(0,0,0,.08)),
    url("../../images/featured/events.jpg");
}

.panel-4 {
  background:
    linear-gradient(rgba(0,0,0,.01), rgba(0,0,0,.01)),
    url("../../images/featured/youth-development.jpg");
}

.panel-5 {
  background:
    linear-gradient(rgba(0,0,0,.01), rgba(0,0,0,.01)),
    url("../../images/featured/programmes.jpg");
}

.panel-6 {
  background:
    linear-gradient(rgba(0,0,0,.01), rgba(0,0,0,.01)),
    url("../../images/featured/community-projects.jpg");
}

.panel-7 {
  background:
    linear-gradient(rgba(0,0,0,.01), rgba(0,0,0,.01)),
    url("../../images/featured/mobcows-uwc.jpg");
}

.mobcow-hero-overlay {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.36) 0%,
      rgba(0,0,0,0.2) 34%,
      rgba(0,0,0,0.02) 68%,
      rgba(0,0,0,0.18) 100%
    ),
    linear-gradient(
      0deg,
      rgba(0,0,0,0.58) 0%,
      rgba(0,0,0,0.28) 26%,
      rgba(0,0,0,0.02) 100%
    );
  transition: opacity 0.35s ease;
}

/* =========================
   HERO TEXT
========================= */

.mobcow-hero-content {
  position: absolute;
  z-index: 10;
  left: 38px;
  bottom: 166px;
  width: 820px;
  max-width: 820px;
  text-align: left;
}

.mobcow-hero-eyebrow {
  margin: 0 0 18px;
  color: var(--mobcow-red);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.mobcow-hero-eyebrow span {
  margin: 0 12px;
}

.mobcow-hero h1 {
  margin: 0;
  max-width: 820px;
  color: #fff;
  font-size: clamp(56px, 4.6vw, 78px);
  line-height: 0.98;
  letter-spacing: -2px;
  font-weight: 900;
}

.mobcow-hero h1 span {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.mobcow-hero-content,
.mobcow-stat-card,
.mobcow-capability-strip {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.mobcow-hero-content:hover {
  transform: translateY(-3px);
}

.mobcow-red-line {
  width: 240px;
  height: 3px;
  margin: 26px 0 20px;
  background: var(--mobcow-red);
  box-shadow: 0 0 24px rgba(229,57,53,.55);
}

.mobcow-hero-copy {
  margin: 0;
  max-width: 760px;
  color: rgba(255,255,255,.72);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}

.mobcow-hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.mobcow-btn {
  min-height: 58px;
  padding: 0 30px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mobcow-btn span {
  font-size: 23px;
  transition: transform 0.25s ease;
}

.mobcow-btn-red {
  background: var(--mobcow-red);
  color: #fff;
}

.mobcow-btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(229, 57, 53, 0.24);
}

.mobcow-btn-outline {
  color: #fff;
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(0,0,0,.34);
}

.mobcow-btn-outline:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.62);
  background: rgba(255,255,255,.06);
}

.mobcow-btn:hover span {
  transform: translateX(4px);
}

/* =========================
   RIGHT STATS CARD
========================= */

.mobcow-stat-card {
  position: absolute;
  z-index: 10;
  right: 38px;
  bottom: 150px;
  width: 560px;
  min-height: 138px;
  padding: 24px 34px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
  border: 1px solid rgba(229,57,53,.62);
  border-radius: 12px;
  background: rgba(10,10,10,.74);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 90px rgba(0,0,0,.42);
}

.mobcow-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 57, 53, 0.9);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  text-align: center;
  transition: transform 0.25s ease;
}

.stat-icon {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin: 0 auto 12px;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.stat-item:hover .stat-icon {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.stat-item span {
  color: rgba(255,255,255,.68);
  font-size: 18px;
  line-height: 1.06;
  font-weight: 400;
  width: 100%;
}

.stat-item strong {
  color: #fff;
  font-size: 24px;
  line-height: 1.03;
  font-weight: 600;
  width: 100%;
}

.stat-item:last-child span {
  max-width: 100px;
  margin-inline: auto;
}

.stat-item:last-child strong {
  max-width: 110px;
  margin-inline: auto;
}

.stat-divider {
  width: 1px;
  height: 72px;
  background: rgba(255,255,255,.34);
}

/* =========================
   BOTTOM CAPABILITY STRIP
========================= */

.mobcow-capability-strip {
  position: absolute;
  z-index: 10;
  left: 38px;
  right: 38px;
  bottom: 22px;
  min-height: 74px;
  padding: 14px 34px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  align-items: center;
  border-radius: 12px;
  border: 1px solid rgba(210, 168, 23, 0.9);
  background: linear-gradient(180deg, rgba(255, 214, 51, 0.98) 0%, rgba(244, 198, 39, 0.98) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.mobcow-capability-strip:hover {
  transform: translateY(-2px);
  border-color: rgba(210, 168, 23, 1);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

@supports not (backdrop-filter: blur(10px)) {
  .mobcow-stat-card,
  .mobcow-capability-strip,
  .mobcow-menu {
    background: rgba(10, 10, 10, 0.92);
  }
}

@supports not (width: fit-content) {
  .mobcow-hero h1 span {
    display: inline-block;
  }
}

.capability-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  justify-content: center;
  text-align: left;
  transition: transform 0.25s ease;
}

.capability-icon {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.capability-item:hover {
  transform: translateY(-2px);
}

.capability-item:hover .capability-icon {
  transform: scale(1.08);
  filter: brightness(1.08);
}

.capability-item > div {
  min-width: 0;
}

.capability-item h3 {
  margin: 0 0 6px;
  color: #1a1300;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.1;
}

.capability-item p {
  margin: 0;
  color: rgba(34, 24, 0, 0.72);
  font-size: 12.5px;
  line-height: 1.3;
}

.strip-divider {
  width: 1px;
  height: 40px;
  background: rgba(60, 46, 0, 0.22);
}

.mobcow-menu-toggle,
.mobcow-menu-toggle span {
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

@media (max-width: 1350px) {
  .mobcow-nav {
    grid-template-columns: 260px 1fr auto;
    gap: 24px;
  }

  .mobcow-menu {
    gap: 38px;
  }

  .mobcow-hero-content {
    left: 38px;
    bottom: 166px;
    width: 820px;
  }

  .mobcow-hero h1 {
    font-size: clamp(64px, 5vw, 86px);
  }

  .mobcow-stat-card {
    right: 38px;
    bottom: 150px;
    width: 560px;
  }
}

@media (max-width: 1150px) {
  :root {
    --nav-height: 92px;
  }

  .mobcow-header {
    height: var(--nav-height);
  }

  .mobcow-nav {
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }

  .mobcow-brand-mark {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .mobcow-brand-text {
    font-size: 14px;
  }

  .mobcow-menu-toggle {
    display: block;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.04);
    border-radius: 6px;
    position: relative;
  }

  .mobcow-menu-toggle span {
    position: absolute;
    left: 13px;
    width: 22px;
    height: 2px;
    background: #fff;
  }

  .mobcow-menu-toggle span:first-child {
    top: 18px;
  }

  .mobcow-menu-toggle span:last-child {
    top: 28px;
  }

  .mobcow-menu {
    position: fixed;
    top: var(--nav-height);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: rgba(5,5,5,.98);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
  }

  .mobcow-menu.is-open {
    display: flex;
  }

  .mobcow-menu a {
    padding: 17px 18px;
  }

  .mobcow-menu a::after {
    display: none;
  }

  .mobcow-nav-cta {
    display: none;
  }

  .mobcow-hero-gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .panel-5,
  .panel-6,
  .panel-7 {
    display: none;
  }

  .mobcow-hero-content {
    left: 38px;
    right: 38px;
    bottom: 275px;
    width: auto;
  }

  .mobcow-stat-card {
    left: 38px;
    right: 38px;
    bottom: 70px;
    width: auto;
  }

  .mobcow-capability-strip {
    display: none;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float img {
    width: 84%;
    height: 84%;
  }

  .floating-socials {
    right: 16px;
    bottom: 16px;
    gap: 9px;
  }

  .floating-socials__item {
    width: 48px;
    height: 48px;
  }

  .floating-socials__icon {
    width: 100%;
    height: 100%;
  }

  .floating-socials__icon img {
    width: 96%;
    height: 96%;
  }
}

@media (max-width: 700px) {
  :root {
    --nav-height: 82px;
  }

  .mobcow-brand img {
    width: 84px;
    height: 84px;
  }

  .mobcow-brand-text {
    font-size: 13px;
  }

  .mobcow-hero {
    min-height: 100svh;
    height: 100svh;
  }

  .mobcow-hero-gallery {
    grid-template-columns: 1fr;
  }

  .mobcow-hero-content {
    left: 22px;
    right: 22px;
    bottom: 220px;
  }

  .mobcow-hero-eyebrow {
    font-size: 10px;
    line-height: 1.55;
    letter-spacing: 2.8px;
    margin-bottom: 16px;
  }

  .mobcow-hero-eyebrow span {
    margin: 0 6px;
  }

  .mobcow-hero h1 {
    font-size: 28px;
    line-height: 1.02;
    letter-spacing: -1px;
    max-width: 305px;
  }

  .mobcow-red-line {
    width: 140px;
    height: 3px;
    margin: 18px 0 16px;
  }

  .mobcow-hero-copy {
    max-width: 305px;
    font-size: 13px;
    line-height: 1.55;
  }

  .mobcow-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 22px;
    max-width: 300px;
  }

  .mobcow-btn {
    width: 100%;
    min-height: 52px;
    font-size: 15px;
  }

  .mobcow-stat-card {
    left: 24px;
    right: 24px;
    bottom: 70px;
    width: auto;
    min-height: 112px;
    padding: 16px 16px;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    border-radius: 10px;
  }

  .stat-divider {
    display: none;
  }

  .stat-icon {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .stat-item span {
    font-size: 12px;
    line-height: 1.15;
  }

  .stat-item strong {
    font-size: 14px;
    line-height: 1.1;
  }

  .floating-socials {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .floating-socials__item {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 430px) {
  .mobcow-hero-content {
    bottom: 214px;
  }

  .mobcow-hero h1 {
    font-size: 26px;
    max-width: 290px;
  }

  .mobcow-hero-copy {
    font-size: 13px;
    max-width: 290px;
  }

  .mobcow-hero-actions {
    max-width: 100%;
  }

  .mobcow-stat-card {
    bottom: 58px;
  }
}
