@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@600;700;800&display=swap");

:root {
  --navy: #080824;
  --deep: #050515;
  --violet: #7b2cff;
  --electric-blue: #16d9ff;
  --cyan: #4af4ff;
  --magenta: #ff2ebd;
  --pink: #ff5fd7;
  --rose: #ff3f7f;
  --cream: #fff8ef;
  --white: #ffffff;
  --ink: #11113a;
  --muted: #6b6b88;
  --line: rgba(123, 44, 255, 0.18);
  --shadow: 0 30px 90px rgba(8, 8, 36, 0.22);
  --soft-shadow: 0 18px 45px rgba(8, 8, 36, 0.12);
  --glow-blue: 0 0 34px rgba(22, 217, 255, 0.35);
  --glow-pink: 0 0 34px rgba(255, 46, 189, 0.35);
  --radius-xl: 36px;
  --radius-lg: 26px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 46, 189, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(22, 217, 255, 0.14), transparent 32%),
    var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", serif;
}

.hidden {
  display: none !important;
}

/* NAVIGATION */

.luxury-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 92%);
  min-height: 78px;
  padding: 12px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 99;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(26px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 55px rgba(8, 8, 36, 0.15);
}

.brand-block,
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--deep);
  box-shadow: var(--glow-pink), var(--glow-blue);
  overflow: hidden;
  flex-shrink: 0;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-block h1 {
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  letter-spacing: 1px;
  font-family: "Inter", sans-serif;
  font-weight: 900;
}

.brand-block p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--navy);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  transition: 0.25s ease;
}

.nav-links a:hover {
  color: var(--magenta);
}

.nav-outline {
  background: linear-gradient(135deg, var(--violet), var(--magenta), var(--electric-blue));
  color: var(--white) !important;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 35px rgba(255, 46, 189, 0.25);
}

.menu-btn {
  display: none;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 22px;
}

/* BUTTONS */

.btn {
  border: none;
  border-radius: 999px;
  padding: 15px 24px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.28s ease;
}

.btn:hover {
  transform: translateY(-4px);
}

.primary-btn {
  background: linear-gradient(135deg, var(--electric-blue), var(--violet), var(--magenta));
  color: var(--white);
  box-shadow: 0 18px 45px rgba(255, 46, 189, 0.28);
}

.soft-btn {
  background: var(--white);
  color: var(--navy);
}

.light-glass-btn {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(8, 8, 36, 0.12);
}

.dark-btn {
  background: linear-gradient(135deg, var(--navy), var(--violet));
  color: var(--white);
}

.full-btn {
  width: 100%;
  margin-top: 20px;
}

/* BRIGHT HERO */

.bright-hero {
  position: relative;
  min-height: 100vh;
  padding: 145px 6% 80px;
  color: var(--navy);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 46, 189, 0.22), transparent 28%),
    radial-gradient(circle at 80% 12%, rgba(22, 217, 255, 0.22), transparent 30%),
    radial-gradient(circle at 60% 90%, rgba(123, 44, 255, 0.14), transparent 34%),
    linear-gradient(135deg, #fff8ef 0%, #fff4fb 42%, #eefaff 100%);
  overflow: hidden;
}

.hero-layout {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.new-hero-content {
  max-width: 620px;
}

.section-kicker {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 16px;
}

.section-kicker.dark {
  color: var(--magenta);
}

.new-hero-content .section-kicker {
  color: var(--magenta);
  margin-bottom: 18px;
}

.new-hero-content h2 {
  font-size: clamp(48px, 6.4vw, 88px);
  line-height: 0.95;
  letter-spacing: -2.5px;
  color: var(--navy);
  margin-bottom: 24px;
  text-shadow: none;
}

.new-hero-content p {
  max-width: 560px;
  color: #4f5878;
  font-size: 17px;
  line-height: 1.85;
}

.hero-service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-service-pills span {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(123, 44, 255, 0.16);
  box-shadow: 0 14px 35px rgba(8, 8, 36, 0.08);
  color: var(--navy);
  font-weight: 900;
  font-size: 13px;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
  min-height: 590px;
}

.hero-photo-card {
  position: absolute;
  overflow: hidden;
  background: var(--white);
  border: 10px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 30px 90px rgba(8, 8, 36, 0.18);
}

.hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* main picture */
.photo-main {
  width: 68%;
  height: 500px;
  right: 8%;
  top: 35px;
  border-radius: 48px;
  transform: rotate(2deg);
  animation: heroPhotoFloat 7s ease-in-out infinite;
}

/* small picture 1 */
.photo-small-one {
  width: 250px;
  height: 180px;
  left: 0;
  top: 95px;
  border-radius: 34px;
  transform: rotate(-6deg);
  animation: heroPhotoFloat 8s ease-in-out infinite;
}

/* small picture 2 */
.photo-small-two {
  width: 230px;
  height: 170px;
  left: 42px;
  bottom: 70px;
  border-radius: 34px;
  transform: rotate(5deg);
  animation: heroPhotoFloat 9s ease-in-out infinite;
}

@keyframes heroPhotoFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}

.hero-logo-float {
  position: absolute;
  right: 0;
  top: 0;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--deep);
  box-shadow: var(--glow-pink), var(--glow-blue);
  animation: logoPulse 4s ease-in-out infinite;
}

.hero-logo-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: var(--glow-pink), var(--glow-blue);
  }

  50% {
    transform: scale(1.06);
    box-shadow: 0 0 55px rgba(255, 46, 189, 0.55), 0 0 55px rgba(22, 217, 255, 0.45);
  }
}

.service-badge {
  position: absolute;
  right: 4%;
  bottom: 25px;
  width: 260px;
  padding: 24px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(8, 8, 36, 0.92), rgba(123, 44, 255, 0.82));
  color: var(--white);
  box-shadow: var(--shadow), var(--glow-pink);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.service-badge p {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.service-badge h3 {
  font-size: 30px;
  line-height: 1.1;
  color: var(--white);
}

/* moving soft objects */

.hero-bg-shapes .shape {
  position: absolute;
  display: block;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.6;
  filter: blur(1px);
  animation: softFloat 8s ease-in-out infinite;
}

.shape-one {
  width: 180px;
  height: 180px;
  background: rgba(255, 46, 189, 0.22);
  top: 18%;
  left: 8%;
}

.shape-two {
  width: 140px;
  height: 140px;
  background: rgba(22, 217, 255, 0.22);
  bottom: 12%;
  left: 42%;
  animation-delay: 2s;
}

.shape-three {
  width: 230px;
  height: 230px;
  background: rgba(123, 44, 255, 0.16);
  top: 22%;
  right: 8%;
  animation-delay: 4s;
}

.shape-four {
  width: 90px;
  height: 90px;
  background: rgba(255, 95, 215, 0.22);
  bottom: 20%;
  right: 32%;
  animation-delay: 6s;
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-28px) translateX(18px); }
}

.hero-sparkle-text {
  position: absolute;
  z-index: 2;
  font-weight: 900;
  letter-spacing: 5px;
  font-size: clamp(22px, 4vw, 56px);
  color: rgba(8, 8, 36, 0.045);
  animation: sparkleMove 10s ease-in-out infinite;
}

.sparkle-one {
  top: 30%;
  left: 38%;
}

.sparkle-two {
  bottom: 22%;
  left: 22%;
  animation-delay: 3s;
}

.sparkle-three {
  top: 24%;
  right: 18%;
  animation-delay: 6s;
}

@keyframes sparkleMove {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.45;
  }

  50% {
    transform: translateY(-18px);
    opacity: 0.9;
  }
}

/* MARQUEE */

.marquee-band {
  background: linear-gradient(90deg, var(--electric-blue), var(--violet), var(--magenta), var(--rose));
  overflow: hidden;
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee-track span {
  white-space: nowrap;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 3px;
  font-size: 14px;
  padding-right: 40px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* PUBLIC SECTIONS */

.vision-section {
  padding: 120px 6%;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(255, 46, 189, 0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(22, 217, 255, 0.16), transparent 35%),
    var(--cream);
}

.vision-copy h2,
.section-heading h2,
.portal-copy h2,
.page-heading h2,
.checkin-copy h2 {
  font-size: clamp(44px, 6vw, 86px);
  line-height: 0.96;
  margin-bottom: 24px;
  color: var(--navy);
}

.vision-copy p,
.section-heading p,
.portal-copy p,
.page-heading p,
.checkin-copy p {
  color: var(--muted);
  line-height: 1.9;
}

.vision-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.gallery-card {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 260px;
  transform: rotate(1deg);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: var(--deep);
}

.gallery-card:nth-child(2) {
  transform: rotate(-2deg);
}

.tall-card {
  grid-row: span 2;
  height: 540px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 9s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

/* SERVICE SECTION */

.service-stage {
  position: relative;
  min-height: 90vh;
  padding: 120px 6%;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(5, 5, 21, 0.82), rgba(5, 5, 21, 0.25)),
    url("images/img14.png");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.stage-light {
  position: absolute;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 46, 189, 0.36), transparent 38%),
    radial-gradient(circle, rgba(22, 217, 255, 0.32), transparent 58%);
  animation: pulseLight 5s ease-in-out infinite;
}

@keyframes pulseLight {
  0%, 100% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}

.service-content {
  position: relative;
  z-index: 2;
  max-width: 950px;
}

.service-logo {
  width: 126px;
  height: 126px;
  margin: 0 auto 22px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--glow-pink), var(--glow-blue);
}

.service-logo img,
.form-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content h2 {
  font-size: clamp(64px, 12vw, 150px);
  line-height: 0.9;
  color: var(--white);
  text-shadow: 0 0 40px rgba(255, 46, 189, 0.45);
}

.service-content p {
  max-width: 700px;
  margin: 28px auto;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.8;
}

/* PHOTO RAIL */

.photo-rail-section {
  padding: 40px 0;
  background:
    linear-gradient(90deg, rgba(22, 217, 255, 0.08), rgba(255, 46, 189, 0.08)),
    var(--white);
  overflow: hidden;
}

.photo-rail {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: photoRail 42s linear infinite;
}

.photo-rail img {
  width: 300px;
  height: 210px;
  border-radius: 30px;
  object-fit: cover;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(255, 255, 255, 0.86);
  transition: 0.3s ease;
}

.photo-rail img:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-pink), var(--soft-shadow);
}

@keyframes photoRail {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* MOMENTS */

.moments-section {
  padding: 120px 6%;
  background:
    radial-gradient(circle at 20% 20%, rgba(22, 217, 255, 0.12), transparent 34%),
    radial-gradient(circle at 90% 70%, rgba(255, 46, 189, 0.14), transparent 34%),
    var(--cream);
}

.center-heading {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 60px;
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.moments-grid img {
  width: 100%;
  height: 340px;
  border-radius: 34px;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

.moments-grid img:nth-child(2),
.moments-grid img:nth-child(5),
.moments-grid img:nth-child(8) {
  transform: translateY(34px);
}

.moments-grid img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--glow-blue), var(--shadow);
}

/* CELLS */

.cells-section {
  padding: 120px 6%;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 46, 189, 0.16), transparent 32%),
    radial-gradient(circle at 90% 80%, rgba(22, 217, 255, 0.17), transparent 35%),
    #fff7ef;
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.life-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 34px;
  padding: 30px;
  min-height: 250px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: 0.3s ease;
}

.life-card:hover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: var(--glow-pink), var(--shadow);
}

.life-card span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--electric-blue), var(--violet));
  color: var(--white);
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: 24px;
}

.life-card:nth-child(2) span { background: linear-gradient(135deg, var(--magenta), var(--rose)); }
.life-card:nth-child(3) span { background: linear-gradient(135deg, var(--violet), var(--magenta)); }
.life-card:nth-child(4) span { background: linear-gradient(135deg, var(--cyan), var(--magenta)); }

.life-card h3 {
  font-size: 30px;
  margin-bottom: 12px;
}

.life-card p {
  color: var(--muted);
  line-height: 1.8;
}

/* TEAMS */

.teams-section {
  padding: 120px 6%;
  background:
    radial-gradient(circle at top left, rgba(255, 46, 189, 0.2), transparent 35%),
    radial-gradient(circle at bottom right, rgba(22, 217, 255, 0.2), transparent 38%),
    var(--deep);
  color: var(--white);
}

.teams-section h2 {
  color: var(--white);
}

.teams-section p {
  color: rgba(255, 255, 255, 0.72);
}

.team-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 50px;
}

.team-cloud span {
  border-radius: 999px;
  padding: 18px 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-weight: 900;
  transition: 0.28s ease;
}

.team-cloud span:hover {
  background: linear-gradient(135deg, var(--electric-blue), var(--magenta));
  transform: translateY(-6px);
  box-shadow: var(--glow-pink);
}

/* CHECK-IN AND PORTAL */

.checkin-section,
.portal-section {
  padding: 120px 6%;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.checkin-section {
  background:
    radial-gradient(circle at top left, rgba(255, 46, 189, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(22, 217, 255, 0.18), transparent 34%),
    var(--cream);
}

.portal-section {
  background:
    linear-gradient(135deg, rgba(5, 5, 21, 0.92), rgba(5, 5, 21, 0.45)),
    url("images/img08.png");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.portal-copy h2,
.portal-copy p {
  color: var(--white);
}

.portal-copy p {
  opacity: 0.82;
}

.checkin-card,
.portal-card,
.form-card,
.dashboard-compartment,
.metric-card,
.single-cell-dashboard,
.mini-chart-card,
.workflow-selector-card,
.workflow-map {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.checkin-card,
.portal-card {
  padding: 34px;
  border-radius: var(--radius-xl);
}

.form-logo {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--glow-pink), var(--glow-blue);
}

.checkin-card h3 {
  color: var(--navy);
  font-size: 36px;
  margin-bottom: 22px;
}

.checkin-message {
  color: var(--navy);
  font-weight: 900;
  margin-top: 18px;
  line-height: 1.6;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px;
  border-radius: 999px;
  background: rgba(8, 8, 36, 0.08);
  margin-bottom: 24px;
}

.tabs button {
  border: none;
  border-radius: 999px;
  padding: 13px;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
  color: var(--navy);
}

.tabs button.active {
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  color: var(--white);
}

label {
  display: block;
  color: var(--navy);
  margin: 14px 0 7px;
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(8, 8, 36, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  font-family: "Inter", sans-serif;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 4px rgba(255, 46, 189, 0.14);
}

textarea {
  min-height: 110px;
  margin-top: 16px;
}

/* DASHBOARD */

.dashboard {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 315px 1fr;
  background:
    radial-gradient(circle at top right, rgba(255, 46, 189, 0.12), transparent 35%),
    radial-gradient(circle at bottom left, rgba(22, 217, 255, 0.12), transparent 35%),
    var(--cream);
}

.sidebar {
  background:
    radial-gradient(circle at top left, rgba(255, 46, 189, 0.24), transparent 35%),
    radial-gradient(circle at bottom right, rgba(22, 217, 255, 0.2), transparent 35%),
    var(--deep);
  color: var(--white);
  padding: 30px;
}

.sidebar-brand {
  margin-bottom: 26px;
}

.sidebar-brand h2 {
  color: var(--white);
  font-size: 28px;
  line-height: 1;
}

.sidebar-brand p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  margin-top: 4px;
}

.user-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 18px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.sidebar button {
  width: 100%;
  padding: 14px 15px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  border-radius: 18px;
  cursor: pointer;
  text-align: left;
  font-weight: 900;
  transition: 0.25s ease;
}

.sidebar button:hover {
  background: linear-gradient(135deg, var(--electric-blue), var(--magenta));
  transform: translateX(5px);
  box-shadow: var(--glow-pink);
}

.dashboard-content {
  padding: 42px;
}

.page-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.stats-grid,
.form-grid,
.cell-cards-grid,
.mini-chart-grid {
  display: grid;
  gap: 20px;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 28px;
}

.metric-card {
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: 0.25s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--glow-pink);
}

.metric-card p {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.8px;
}

.metric-card h3 {
  font-family: "Inter", sans-serif;
  font-size: 34px;
  color: var(--navy);
  margin-top: 10px;
}

.clickable-card {
  cursor: pointer;
  position: relative;
}

.clickable-card::after {
  content: "View names";
  position: absolute;
  right: 22px;
  bottom: 18px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--magenta);
  opacity: 0;
  transition: 0.25s ease;
}

.clickable-card:hover::after {
  opacity: 1;
}

.attendance-detail-box {
  margin-top: 8px;
}

.attendance-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.recognition-card {
  background:
    radial-gradient(circle at top left, rgba(255, 46, 189, 0.28), transparent 40%),
    radial-gradient(circle at bottom right, rgba(22, 217, 255, 0.25), transparent 40%),
    var(--deep);
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  box-shadow: var(--shadow), var(--glow-blue);
}

.recognition-card h2 {
  font-size: 42px;
  color: var(--white);
}

.recognition-card p {
  color: rgba(255, 255, 255, 0.75);
}

.recognition-score {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--electric-blue), var(--magenta));
  color: var(--white);
  font-size: 28px;
  font-weight: 900;
  box-shadow: var(--glow-pink), var(--glow-blue);
}

.dashboard-compartment,
.form-card,
.single-cell-dashboard,
.workflow-selector-card,
.workflow-map {
  padding: 30px;
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
}

.dashboard-compartment h3,
.form-card h3,
.workflow-title h3 {
  font-size: 30px;
  margin-bottom: 16px;
  color: var(--navy);
}

.form-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cell-cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.cell-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition: 0.25s ease;
}

.cell-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow), var(--glow-blue);
}

.cell-card h3 {
  font-size: 30px;
  margin-bottom: 12px;
}

.cell-card p {
  color: var(--muted);
  line-height: 1.7;
}

.cell-card-score {
  margin-top: 15px;
  display: inline-block;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  color: var(--white);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.single-cell-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.single-cell-header h2 {
  font-size: 44px;
}

.mini-chart-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.mini-chart-card {
  border-radius: var(--radius-lg);
  padding: 20px;
}

.mini-chart-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.mini-chart-card canvas {
  height: 170px !important;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 18px;
}

table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.9);
}

th,
td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(8, 8, 36, 0.08);
}

th {
  background: linear-gradient(135deg, var(--deep), var(--violet));
  color: var(--white);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
}

.status {
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
}

.completed { background: #e3f5e9; color: #1c6b3b; }
.progress { background: #fff3cf; color: #805b12; }
.pending { background: #eaecf0; color: #344054; }
.blocked { background: #ffe5d2; color: #9a3412; }
.overdue { background: #ffe1e1; color: #991b1b; }

.prayer-met {
  color: #1c6b3b;
  font-weight: 900;
}

.prayer-not-met {
  color: #991b1b;
  font-weight: 900;
}

.cell-picture-gallery {
  margin-top: 28px;
}

.picture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.picture-grid a {
  display: block;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--deep);
}

.picture-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: 0.3s ease;
}

.picture-grid img:hover {
  transform: scale(1.05);
}

/* WORKFLOW */

.workflow-selector-card {
  max-width: 520px;
}

.workflow-map {
  overflow-x: auto;
}

.workflow-title {
  margin-bottom: 28px;
}

.workflow-title p {
  color: var(--muted);
  line-height: 1.7;
}

.flow-row {
  min-width: 1000px;
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.flow-step {
  flex: 1;
  min-width: 150px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}

.flow-step::after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--magenta);
  font-size: 24px;
  font-weight: 900;
}

.flow-step:last-child::after {
  display: none;
}

.flow-day {
  display: inline-block;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  color: var(--white);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.flow-step h4 {
  font-size: 24px;
  margin-bottom: 8px;
}

.flow-step p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.flow-prayer { border-top: 5px solid var(--electric-blue); }
.flow-action { border-top: 5px solid var(--magenta); }
.flow-submit { border-top: 5px solid var(--violet); }
.flow-review { border-top: 5px solid var(--rose); }

/* RESPONSIVE */

@media (max-width: 1100px) {
  .hero-layout,
  .vision-section,
  .portal-section,
  .dashboard,
  .stats-grid,
  .checkin-section,
  .life-grid,
  .moments-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 560px;
  }

  .photo-main {
    width: 78%;
    right: 0;
  }

  .photo-small-one {
    left: 0;
  }

  .photo-small-two {
    left: 4%;
  }

  .recognition-card,
  .single-cell-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .tall-card {
    height: 360px;
  }

  .moments-grid img:nth-child(2),
  .moments-grid img:nth-child(5),
  .moments-grid img:nth-child(8) {
    transform: none;
  }
}

@media (max-width: 760px) {
  .luxury-nav {
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 20px;
  }

  .nav-links.show {
    display: flex;
  }

  .bright-hero {
    padding: 135px 6% 70px;
  }

  .new-hero-content h2 {
    font-size: 46px;
    letter-spacing: -1.5px;
  }

  .new-hero-content p {
    font-size: 15.5px;
  }

  .hero-media {
    min-height: 500px;
  }

  .photo-main {
    width: 88%;
    height: 360px;
    right: 0;
    top: 60px;
    border-radius: 34px;
  }

  .photo-small-one {
    width: 170px;
    height: 125px;
    top: 20px;
  }

  .photo-small-two {
    width: 170px;
    height: 125px;
    bottom: 20px;
  }

  .hero-logo-float {
    width: 90px;
    height: 90px;
  }

  .service-badge {
    width: 220px;
    right: 0;
    bottom: 0;
  }

  .service-badge h3 {
    font-size: 24px;
  }

  .hero-service-pills span {
    font-size: 12px;
  }

  .vision-section,
  .portal-section,
  .teams-section,
  .checkin-section,
  .cells-section,
  .moments-section {
    padding: 80px 6%;
  }

  .dashboard-content {
    padding: 24px;
  }

  .mini-chart-grid {
    grid-template-columns: 1fr;
  }

  .picture-grid {
    grid-template-columns: 1fr;
  }

  .photo-rail img {
    width: 230px;
    height: 160px;
  }

  .moments-grid img {
    height: 260px;
  }

  .brand-block h1 {
    font-size: 16px;
  }

  .brand-block p {
    display: none;
  }
}

.birthday-field label {
  margin-top: 0;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

/* ================================= */
/* LEARNING QUIZ OPTIONS */
/* ================================= */

.learning-quiz-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;

  width: 100%;
  padding: 12px 0;

  cursor: pointer;
  text-align: left;
}

.learning-quiz-option input[type="radio"] {
  width: 18px !important;
  height: 18px !important;

  min-width: 18px;
  flex: 0 0 18px;

  margin: 0;
  padding: 0;

  cursor: pointer;
}

.learning-quiz-option strong {
  min-width: 28px;
}

.learning-quiz-option span {
  flex: 1;
}

/* ========================================= */
/* LOGGED-IN MOBILE PORTAL SIDEBARS */
/* ========================================= */

.portal-sidebar-close {
  display: none;
}

.portal-sidebar-overlay {
  display: none;
}

@media (max-width: 900px) {

  body.portal-sidebar-active {
    overflow: hidden;
  }

  #leaderSidebar.portal-sidebar,
  #foundationSidebar.portal-sidebar {
    position: fixed !important;

    top: 0;
    left: 0;

    width: min(88vw, 380px);
    height: 100vh;

    padding:
      90px
      24px
      40px;

    overflow-y: auto;

    background:
      linear-gradient(
        180deg,
        #2e0833 0%,
        #08081c 60%,
        #071b2b 100%
      );

    z-index: 6001;

    transform:
      translateX(-105%);

    transition:
      transform 0.3s ease;

    box-shadow:
      18px 0 45px
      rgba(0, 0, 0, 0.3);
  }

  #leaderSidebar.portal-sidebar-open,
  #foundationSidebar.portal-sidebar-open {
    transform:
      translateX(0);
  }

/* Small, neat portal menu close button */

.portal-sidebar-close {
  display: none;
}

@media (max-width: 900px) {
  .portal-sidebar-close {
    display: grid !important;
    place-items: center;

    position: absolute;
    top: 18px;
    right: 18px;

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

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50% !important;

    background: rgba(255, 255, 255, 0.12) !important;
    color: white !important;

    font-size: 25px !important;
    line-height: 1 !important;

    cursor: pointer;
    z-index: 10;
  }

  .portal-sidebar-close:hover {
    background: rgba(255, 255, 255, 0.23) !important;
    transform: translateX(-2px);
  }
}

  .portal-sidebar-close:hover {
    background:
      rgba(255, 255, 255, 0.2);
  }

  .portal-sidebar-overlay {
    display: block;

    position: fixed;
    inset: 0;

    z-index: 6000;

    background:
      rgba(5, 5, 21, 0.58);

    opacity: 0;
    visibility: hidden;

    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .portal-sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  /*
    Prevent the old public dropdown from
    covering the portal while logged in.
  */

  #dashboardApp:not(.hidden) ~ #navLinks,
  #foundationSchoolApp:not(.hidden) ~ #navLinks {
    display: none;
  }
}

/* ================================= */
/* TOP FIVE WEEKLY CELL LEADERS */
/* ================================= */

.weekly-leaderboard {
  overflow: hidden;
}

.weekly-leaderboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.top-five-leaders-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.weekly-leader-card {
  position: relative;

  min-height: 190px;
  padding: 24px;

  border-radius: 24px;
  border: 1px solid rgba(123, 44, 255, 0.15);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.96),
      rgba(243, 238, 255, 0.94)
    );

  box-shadow:
    0 15px 35px rgba(24, 17, 47, 0.08);
}

.weekly-leader-card:first-child {
  color: white;

  background:
    linear-gradient(
      135deg,
      #471044,
      #06071d 72%,
      #092d43
    );
}

.weekly-leader-rank {
  display: grid;
  place-items: center;

  width: 46px;
  height: 46px;

  margin-bottom: 18px;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      #25c4ff,
      #8c42ff,
      #ed24c7
    );

  color: white;
  font-weight: 800;
}

.weekly-leader-card h4 {
  margin-bottom: 7px;
  font-size: 25px;
}

.weekly-leader-cell {
  margin-bottom: 14px;
  opacity: 0.78;
}

.weekly-leader-stats {
  font-size: 14px;
  line-height: 1.7;
}

.weekly-leader-score {
  display: inline-block;

  margin-top: 14px;
  padding: 8px 13px;

  border-radius: 30px;

  background: rgba(123, 44, 255, 0.12);
  font-weight: 800;
}

.weekly-leader-card:first-child .weekly-leader-score {
  background: rgba(255, 255, 255, 0.15);
}

/* ================================= */
/* SMALLER CELL KPI CHART */
/* ================================= */

.cell-kpi-chart-wrap {
  width: min(100%, 520px);
  height: 350px;

  margin: 0 auto;
}

.cell-kpi-chart-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 600px) {
  .cell-kpi-chart-wrap {
    height: 290px;
  }
}

/* ================================= */
/* CELL MEETING PHOTO GALLERY */
/* ================================= */

.cell-photo-field {
  grid-column: 1 / -1;
}

.cell-photo-field label {
  display: block;
  margin-bottom: 9px;
  font-weight: 800;
}

.cell-photo-field small {
  display: block;
  margin-top: 8px;
  opacity: 0.68;
}

.cell-meeting-gallery {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.cell-meeting-photo {
  overflow: hidden;
  margin: 0;

  border-radius: 20px;
  background: white;

  box-shadow:
    0 12px 28px rgba(10, 10, 30, 0.1);
}

.cell-meeting-photo img {
  display: block;

  width: 100%;
  height: 220px;

  object-fit: cover;
}

.cell-meeting-photo figcaption {
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 700;
}

/* Individual cell mini charts */

.mini-chart-card {
  min-height: 250px;
}

.mini-chart-card canvas {
  display: block;

  width: 100% !important;
  height: 190px !important;
}

/* Force hide single cell dashboard when moving to another portal page */

#singleCellDashboard.force-hide {
  display: none !important;
}

/* Attendance Dashboard Weekly Trend Charts */
.attendance-trends-box {
  margin-top: 28px;
}

.attendance-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.attendance-chart-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(123, 44, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 20px;
  min-height: 320px;
}

.attendance-chart-card h4 {
  color: var(--navy);
  font-size: 22px;
  margin-bottom: 16px;
}

.attendance-chart-card canvas {
  width: 100% !important;
  height: 240px !important;
}

.attendance-chart-card.wide-chart {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .attendance-chart-grid {
    grid-template-columns: 1fr;
  }

  .attendance-chart-card.wide-chart {
    grid-column: auto;
  }
}


/* ================================================= */
/* LUXURY CAMPUS LANDING PAGE OVERRIDE              */
/* ================================================= */

.luxury-campus-hero {
  min-height: 100vh;
  padding: 145px 5% 72px;
  background:
    radial-gradient(circle at 8% 22%, rgba(255, 46, 189, 0.18), transparent 32%),
    radial-gradient(circle at 88% 10%, rgba(22, 217, 255, 0.24), transparent 34%),
    radial-gradient(circle at 72% 82%, rgba(123, 44, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #fff8f2 0%, #fff2fb 40%, #eef8ff 100%);
}

.luxury-campus-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.36), rgba(235, 245, 255, 0.55)),
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.75), transparent 45%);
  pointer-events: none;
}

.luxury-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.7;
  pointer-events: none;
}

.luxury-glow-one {
  width: 260px;
  height: 260px;
  left: -80px;
  bottom: 4%;
  background: rgba(255, 95, 215, 0.22);
}

.luxury-glow-two {
  width: 320px;
  height: 320px;
  right: -90px;
  top: 22%;
  background: rgba(22, 217, 255, 0.18);
}

.luxury-hero-layout {
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  max-width: 1380px;
}

.luxury-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 640px;
}

.luxury-pill-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(214, 151, 49, 0.32);
  color: #d06d72 !important;
  text-transform: uppercase;
  letter-spacing: 2.8px;
  font-size: 11px !important;
  font-weight: 900;
  line-height: 1 !important;
  box-shadow: 0 14px 45px rgba(255, 46, 189, 0.08);
}

.luxury-pill-kicker span {
  color: #c9962f;
  font-size: 15px;
}

.luxury-hero-copy h2 {
  margin-top: 24px;
  margin-bottom: 24px;
  color: #090824;
  font-size: clamp(58px, 7.1vw, 112px);
  line-height: 0.86;
  letter-spacing: -4px;
  text-transform: none;
}

.luxury-hero-copy h2 em {
  display: inline-block;
  position: relative;
  font-style: italic;
  font-weight: 700;
  color: #e23aa8;
  background: linear-gradient(135deg, #bd2ff3 0%, #ff2ebd 48%, #f0a03a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.luxury-hero-copy h2 em::after {
  content: "";
  position: absolute;
  left: 8px;
  right: -4px;
  bottom: 6px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f0a03a, #ff2ebd);
  transform: rotate(-3deg);
  opacity: 0.9;
}

.luxury-hero-text {
  max-width: 500px !important;
  color: #3d4669 !important;
  font-size: 16px !important;
  line-height: 1.72 !important;
}

.luxury-service-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.luxury-service-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(214, 151, 49, 0.24);
  box-shadow: 0 16px 45px rgba(8, 8, 36, 0.08);
}

.service-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  background: linear-gradient(135deg, #7b2cff, #16d9ff);
  box-shadow: 0 10px 22px rgba(123, 44, 255, 0.2);
}

.pink-icon {
  background: linear-gradient(135deg, #ff2ebd, #ff9b4a);
}

.luxury-service-chip small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #3d4669;
  font-size: 10px;
  font-weight: 900;
}

.luxury-service-chip strong {
  display: block;
  margin-top: 2px;
  color: #090824;
  font-size: 15px;
}

.luxury-hero-actions {
  margin-top: 26px;
}

.luxury-main-cta,
.luxury-secondary-cta {
  min-width: 160px;
  min-height: 54px;
  border-radius: 18px;
}

.luxury-main-cta {
  gap: 12px;
  background: linear-gradient(135deg, #7b2cff 0%, #ff2ebd 58%, #ff9b4a 100%);
  box-shadow: 0 18px 44px rgba(255, 46, 189, 0.28), 0 0 0 1px rgba(255,255,255,0.4) inset;
}

.luxury-secondary-cta {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(214, 151, 49, 0.22);
  box-shadow: 0 14px 35px rgba(8, 8, 36, 0.06);
}

.luxury-purpose-strip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 13px 18px;
  border-radius: 999px;
  max-width: 580px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 45px rgba(8, 8, 36, 0.06);
  color: #565d7f;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
}

.luxury-purpose-strip span,
.luxury-purpose-strip strong {
  color: #ff2ebd;
}

.luxury-hero-media {
  position: relative;
  min-height: 660px;
  isolation: isolate;
}

.luxury-hero-media::before {
  content: "";
  position: absolute;
  width: 610px;
  height: 610px;
  right: 34px;
  top: 16px;
  border-radius: 50%;
  border: 1px solid rgba(214, 151, 49, 0.45);
  box-shadow:
    0 0 60px rgba(255, 255, 255, 0.9),
    0 0 90px rgba(255, 46, 189, 0.14),
    0 0 90px rgba(22, 217, 255, 0.12);
  z-index: 0;
}

.luxury-photo-card {
  position: absolute;
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  border: 7px solid rgba(255, 255, 255, 0.86);
  box-shadow:
    0 28px 80px rgba(8, 8, 36, 0.16),
    0 0 0 1px rgba(214, 151, 49, 0.18);
  z-index: 2;
}

.luxury-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.luxury-photo-card p {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  text-align: center;
  color: #b77724;
  background: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-size: 10px;
  font-weight: 900;
}

.luxury-photo-main {
  width: 53%;
  height: 580px;
  right: 5%;
  top: 10px;
  border-radius: 42px;
  transform: rotate(2deg);
  z-index: 1;
}

.luxury-photo-top {
  width: 340px;
  height: 205px;
  left: 8%;
  top: 54px;
  transform: rotate(-4deg);
  z-index: 4;
}

.luxury-photo-middle {
  width: 330px;
  height: 190px;
  left: 15%;
  top: 280px;
  transform: rotate(3deg);
  z-index: 5;
}

.luxury-photo-bottom {
  width: 340px;
  height: 210px;
  left: 4%;
  bottom: 80px;
  transform: rotate(5deg);
  z-index: 4;
}

.luxury-photo-right {
  width: 245px;
  height: 175px;
  right: -1%;
  bottom: 125px;
  transform: rotate(7deg);
  z-index: 6;
}

.luxury-logo-float {
  width: 142px;
  height: 142px;
  right: 3%;
  bottom: 92px;
  top: auto;
  z-index: 8;
  border: 4px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 0 50px rgba(255, 46, 189, 0.55), 0 0 42px rgba(22, 217, 255, 0.44);
}

.luxury-hero-message {
  position: absolute;
  right: 14%;
  bottom: 0;
  z-index: 7;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 390px;
  padding: 18px 26px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, rgba(70, 28, 130, 0.92), rgba(123, 44, 255, 0.72));
  box-shadow: 0 24px 60px rgba(78, 26, 139, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.luxury-hero-message span {
  color: #fff;
  opacity: 0.9;
}

.luxury-hero-message p {
  margin: 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .luxury-hero-layout {
    grid-template-columns: 1fr;
  }

  .luxury-hero-copy {
    max-width: 780px;
  }

  .luxury-hero-media {
    min-height: 620px;
  }
}

@media (max-width: 760px) {
  .luxury-campus-hero {
    padding-top: 150px;
  }

  .luxury-hero-copy h2 {
    font-size: clamp(48px, 15vw, 68px);
    letter-spacing: -2px;
  }

  .luxury-service-row,
  .luxury-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .luxury-main-cta,
  .luxury-secondary-cta,
  .luxury-service-chip {
    width: 100%;
  }

  .luxury-purpose-strip {
    align-items: flex-start;
    border-radius: 20px;
  }

  .luxury-hero-media {
    min-height: 560px;
  }

  .luxury-hero-media::before {
    width: 430px;
    height: 430px;
    right: -90px;
    top: 48px;
  }

  .luxury-photo-main {
    width: 76%;
    height: 410px;
    right: 0;
    top: 60px;
  }

  .luxury-photo-top {
    width: 210px;
    height: 140px;
    left: 0;
    top: 18px;
  }

  .luxury-photo-middle {
    width: 210px;
    height: 135px;
    left: 4%;
    top: 205px;
  }

  .luxury-photo-bottom {
    width: 220px;
    height: 145px;
    left: 2%;
    bottom: 42px;
  }

  .luxury-photo-right,
  .luxury-hero-message {
    display: none;
  }

  .luxury-logo-float {
    width: 96px;
    height: 96px;
    right: 3%;
    bottom: 34px;
  }
}

/* Cell Management */
.cell-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.cell-status-badge.active {
  background: rgba(28, 160, 90, 0.12);
  color: #177447;
}

.cell-status-badge.inactive {
  background: rgba(189, 120, 20, 0.13);
  color: #8c5a0d;
}

.cell-small-btn {
  padding: 8px 14px;
  min-height: auto;
  font-size: 13px;
}

/* Department Management + Workflow Editor */
.management-note {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.management-actions,
.workflow-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.workflow-editor-actions {
  margin: 16px 0 22px;
}

#workflowEditorCard textarea {
  width: 100%;
  min-height: 110px;
  margin-top: 16px;
}

#workflowEditorTable td,
#departmentsManagementTable td {
  vertical-align: top;
}

/* ========================================= */
/* MOBILE TABLE HORIZONTAL SCROLL FIX        */
/* ========================================= */

.dashboard-content,
.panel,
.dashboard-compartment,
.table-wrap {
  min-width: 0;
  max-width: 100%;
}

.table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto !important;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  padding-bottom: 10px;
}

.table-wrap table {
  width: max-content;
  min-width: 900px;
  max-width: none;
}

.table-wrap::-webkit-scrollbar {
  height: 10px;
}

.table-wrap::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(123, 44, 255, 0.35);
}

@media (max-width: 900px) {
  .dashboard {
    overflow-x: hidden;
  }

  .dashboard-content {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .dashboard-compartment {
    width: 100%;
    max-width: 100%;
  }

  .table-wrap {
    overflow-x: scroll !important;
    overscroll-behavior-inline: contain;
  }

  .table-wrap table {
    min-width: 920px;
  }
}
