:root {
  --theme: #1e7890;
  --theme-strong: #2b90a9;
  --theme-deep: #123f4f;
  --theme-rgb: 30, 120, 144;
  --accent: #eabf8d;
  --text: #f4fbfc;
  --text-soft: rgba(244, 251, 252, 0.72);
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.24);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(52, 167, 195, 0.18), transparent 20rem),
    radial-gradient(circle at 90% 8%, rgba(234, 191, 141, 0.18), transparent 16rem),
    linear-gradient(180deg, #19667c 0%, #0d2d37 32%, #08171d 100%);
}

body[data-page="services"],
body[data-page="portfolio"],
body[data-page="pricing"],
body[data-page="workflow"],
body[data-page="about"],
body[data-page="contact"] {
  background:
    radial-gradient(circle at 15% 18%, rgba(52, 167, 195, 0.13), transparent 18rem),
    linear-gradient(180deg, #145366 0%, #102c36 28%, #09151a 100%);
}

body.menu-open {
  overflow: hidden;
}

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

a,
button,
input,
textarea {
  font: inherit;
}

button,
input,
textarea {
  border: 0;
  background: none;
}

a {
  color: inherit;
}

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), transparent 90%);
  opacity: 0.55;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border-radius: 999px;
}

.brand img {
  width: 190px;
}

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

.nav a {
  color: rgba(244, 251, 252, 0.86);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.is-active {
  color: #fff;
}

.nav-cta {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.section {
  position: relative;
  padding: 88px 0;
}

.section-tight {
  padding: 22px 0 12px;
}

.hero-section,
.page-hero {
  padding-top: 72px;
}

.hero-section {
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.48;
  animation: float 16s ease-in-out infinite;
}

.orb-one {
  width: 20rem;
  height: 20rem;
  left: -4rem;
  top: 2rem;
  background: rgba(60, 176, 201, 0.38);
}

.orb-two {
  width: 16rem;
  height: 16rem;
  right: 8%;
  top: 4rem;
  background: rgba(234, 191, 141, 0.24);
  animation-delay: -3s;
}

.orb-three {
  width: 10rem;
  height: 10rem;
  right: 22%;
  bottom: 12%;
  background: rgba(255, 255, 255, 0.18);
  animation-delay: -7s;
}

.hero-grid,
.page-hero-grid,
.detail-hero-grid,
.contact-layout,
.about-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

.contact-layout,
.about-layout {
  align-items: start;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.final-cta-card h2,
.detail-card h2,
.story-card h2,
.pillars-card h2,
.contact-info h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(3rem, 6vw, 6.4rem);
  max-width: 11ch;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  margin-bottom: 14px;
}

.hero-text,
.section-heading p,
.feature-panel p,
.service-preview-card p,
.workflow-step p,
.testimonial-slide p,
.footer-copy,
.pricing-card p,
.timeline-card p,
.contact-info p,
.contact-form label,
.service-card p,
.detail-card p,
.story-card p,
.pillars-card li,
.page-hero-card p {
  color: var(--text-soft);
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--theme) 0%, var(--theme-strong) 100%);
  box-shadow: 0 22px 42px rgba(var(--theme-rgb), 0.32);
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.hero-actions,
.portfolio-filters,
.carousel-controls,
.social-row,
.contact-shortcuts {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 30px;
}

.hero-stat-row,
.showcase-grid,
.services-preview-grid,
.stats-grid,
.pricing-grid,
.footer-grid,
.service-grid,
.detail-layout {
  display: grid;
  gap: 20px;
}

.hero-stat-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.showcase-grid,
.services-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-grid,
.pricing-grid,
.footer-grid,
.detail-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.large-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-stat-row article,
.hero-card,
.hero-floating,
.feature-panel,
.service-preview-card,
.workflow-band,
.stat-card,
.testimonial-carousel,
.final-cta-card,
.page-hero-card,
.service-card,
.pricing-card,
.timeline-card,
.story-card,
.pillars-card,
.contact-info,
.contact-form,
.detail-card,
.detail-preview,
.portfolio-card,
.lightbox-dialog,
.trust-strip {
  border-radius: var(--radius);
}

.hero-stat-row article,
.hero-floating,
.feature-panel,
.service-preview-card,
.stat-card,
.timeline-card,
.story-card,
.pillars-card,
.contact-info,
.detail-card,
.service-card {
  padding: 24px;
}

.hero-stat-row strong,
.stat-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.3rem;
}
/* ===== HERO VISUAL ===== */

.hero-visual {
  position: relative;
}

.hero-card,
.page-hero-card,
.pricing-card,
.contact-form,
.detail-preview,
.testimonial-carousel,
.workflow-band {
  padding: 24px;
}

/* ===== NEW PREMIUM SLIDER ===== */
.compare-card {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  cursor: ew-resize;
}
.compare-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  pointer-events: none;
}

/* BEFORE IMAGE */
.before-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.after-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 2;
  clip-path: inset(0 50% 0 0); /* 🔥 THIS IS MAGIC */
}

/* AFTER IMAGE */
.after-img {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* LINE */
.slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 3;
}

/* HANDLE */
.slider-handle {
  position: absolute;   /* ðŸ‘ˆ IMPORTANT */
  top: 50%;             /* ðŸ‘ˆ vertical center */
  left: 50%;            /* ðŸ‘ˆ horizontal center */
  transform: translate(-50%, -50%);

  width: 52px;
  height: 52px;
  border-radius: 50%;

  /* ðŸ”¥ Glass Look */
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);

  /* ðŸ”¥ Border Glow */
  border: 2px solid #3CEFFF;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  color: #111;

  /* ðŸ”¥ Shadow */
  box-shadow: 
    0 6px 18px rgba(0,0,0,0.25),
    0 0 12px rgba(60, 239, 255, 0.6);

  z-index: 4;
  cursor: ew-resize;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ðŸ”¥ Hover effect */
.compare-card:hover .slider-handle {
  transform: translate(-50%, -50%) scale(1.1);
}
/* EDIT EFFECT */
.edited-look {
  filter: saturate(1.15) contrast(1.08) brightness(1.04);
}
.hero-floating {
  position: relative;
  bottom: 10px;
  right: 10px;

  /* REMOVE transform */

  max-width: 220px;
  padding: 14px;

  font-size: 0.78rem;
  line-height: 1.5;

  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);

  border-radius: 16px;
  opacity: 0.95;
}

/* PILL */
.pill {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.feature-panel,
.service-preview-card,
.service-card {
  text-decoration: none;
}

.feature-art {
  height: 220px;
  margin-bottom: 18px;
  border-radius: 22px;

  overflow: hidden;   /* ðŸ”¥ ADD THIS */
}
.feature-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.twilight-art {
  background:
    linear-gradient(180deg, rgba(10, 22, 34, 0.12), rgba(10, 22, 34, 0.3)),
    linear-gradient(180deg, #477da0 0%, #f0ad70 62%, #6b584c 62%, #6b584c 100%);
}

.staging-art {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent),
    linear-gradient(180deg, #eef4f7 0 64%, #bc9a75 64% 100%);
}

.brochure-art {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 58%),
    linear-gradient(135deg, #85b8c7, #d8e7eb 48%, #a8876b 48%, #7c6656 100%);
}

.tint-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.service-icon {
  display: inline-flex;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
}

.workflow-band-heading {
  margin-bottom: 26px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.workflow-step {
  position: relative;
  padding-left: 24px;
}

.workflow-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
}

.workflow-step span,
.timeline-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stat-card {
  text-align: center;
}

.stat-card strong {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.is-active {
  display: block;
}

.testimonial-slide strong {
  display: block;
  margin-top: 18px;
}

.carousel-button {
  min-height: 44px;
  padding: 0 16px;
  color: #fff;
  border-radius: 999px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.final-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
}

.site-footer {
  padding: 0 0 34px;
}

.footer-grid {
  padding: 32px;
  background: rgba(4, 15, 19, 0.5);
  border: 1px solid var(--line);
  border-radius: 32px;
  backdrop-filter: blur(16px);
}

.footer-grid a {
  display: block;
  margin-bottom: 10px;
  color: rgba(244, 251, 252, 0.8);
  text-decoration: none;
}

.footer-grid h3,
.pricing-card h3,
.service-card h3,
.timeline-card h3,
.detail-card h2,
.story-card h2,
.pillars-card h2,
.contact-info h2 {
  margin: 0 0 12px;
}

.footer-brand img {
  width: 168px;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-form input::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(244, 251, 252, 0.44);
}

.service-category + .service-category {
  margin-top: 42px;
}

.plan-tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.featured-plan {
  outline: 1px solid rgba(255, 255, 255, 0.35);
}

.timeline-shell {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline-shell::before {
  content: "";
  position: absolute;
  inset: 28px 8% auto;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(234, 191, 141, 0.85), rgba(255, 255, 255, 0.3));
}

.timeline-card {
  position: relative;
  padding: 30px 24px 24px;
}

.timeline-card::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(234, 191, 141, 0.12);
}

.contact-info,
.story-card,
.pillars-card {
  min-height: 100%;
}

.contact-info a {
  display: block;
  margin-bottom: 14px;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 10px;
}

.file-field input {
  padding: 12px;
}

.masonry-grid {
  columns: 3 280px;
  column-gap: 20px;
}

.portfolio-card {
  position: relative;
  break-inside: avoid;
  overflow: hidden;
  margin-bottom: 20px;
}

.portfolio-trigger {
  position: relative;
  width: 100%;
  padding: 0;
  cursor: pointer;
}

.portfolio-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.twilight-thumb {
  filter: saturate(1.2) hue-rotate(-18deg) brightness(0.92);
}

.portfolio-overlay {
  position: absolute;
  inset: auto 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(7, 24, 30, 0.58);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(12px);
  transition: 220ms ease;
  text-align: left;
}

.portfolio-card:hover img,
.portfolio-card:focus-within img {
  transform: scale(1.04);
}

.portfolio-card:hover .portfolio-overlay,
.portfolio-card:focus-within .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card.is-hidden {
  display: none;
}

.filter-button {
  min-height: 44px;
  padding: 0 16px;
  color: #fff;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.filter-button.is-active,
.filter-button:hover {
  background: linear-gradient(135deg, var(--theme), var(--theme-strong));
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 12, 16, 0.76);
  opacity: 0;
  visibility: hidden;
  transition: 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-dialog {
  position: relative;
  width: min(920px, 100%);
  padding: 24px;
}

.lightbox-dialog img {
  width: 100%;
  border-radius: 20px;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 42px;
  height: 42px;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.lightbox-copy {
  padding-top: 16px;
}

.detail-preview img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 22px;
}

.detail-card ul,
.pricing-card ul,
.pillars-card ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
  color: var(--text-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tilt-card:hover {
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 16px, 0);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid,
  .detail-hero-grid,
  .contact-layout,
  .about-layout,
  .timeline-shell,
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .hero-stat-row,
  .showcase-grid,
  .services-preview-grid,
  .stats-grid,
  .pricing-grid,
  .footer-grid,
  .detail-layout,
  .large-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-shell::before {
    display: none;
  }

  .final-cta-card {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 840px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 28px;
    background: rgba(8, 28, 34, 0.96);
    border: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
  }

  .trust-strip,
  .hero-stat-row,
  .showcase-grid,
  .services-preview-grid,
  .stats-grid,
  .pricing-grid,
  .footer-grid,
  .large-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .masonry-grid {
    columns: 1;
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .container {
    width: min(100% - 20px, 1200px);
  }

  .nav-shell {
    padding: 12px 14px;
  }

  .brand img {
    width: 162px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 2.8rem;
  }

  /* 🔥 FIXED SLIDER */
  .compare-card {
    height: 260px;
    border-radius: 18px;
  }

  .slider-handle {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .newsletter-form {
    flex-direction: column;
  }
}


