/* ==========================================================================
   STYLE.CSS — Core variables, resets, typography, and shared components
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --bg: #050505;
  --bg-secondary: #111111;
  --card-bg: #1A1A1A;
  --primary: #E50914;
  --accent: #E50914;
  --hover: #FF2D2D;
  --highlight: #FF2D2D;
  --text: #FFFFFF;
  --muted: #A8A8A8;
  --success: #E50914;

  --gradient-main: linear-gradient(135deg, var(--primary), var(--hover));
  --gradient-accent: linear-gradient(135deg, var(--hover), var(--primary));
  --gradient-glow: radial-gradient(circle, rgba(229, 9, 20, 0.2), transparent 70%);

  --border-glass: #2A2A2A;

  /* Type */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 90px;
  --container-width: 1280px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--highlight); color: var(--text); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gradient-main); border-radius: 10px; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 10px;

}

section { position: relative; padding: var(--section-padding) 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }

p { color: var(--muted); }

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gradient-accent);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: 70px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 18px; font-size: 1.05rem; }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-main);
  color: var(--text);
  box-shadow: 0 8px 30px -8px rgba(229, 9, 20, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -6px rgba(255, 45, 45, 0.3); }

.btn-outline {
  border: 1px solid var(--border-glass);
  color: var(--text);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { border-color: var(--accent); background: rgba(229, 9, 20, 0.08); transform: translateY(-3px); }

.btn-sm { padding: 11px 24px; font-size: 0.85rem; }

/* Magnetic wrapper target */
.magnetic { will-change: transform; }

/* Glass card */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  transition: border-color .4s var(--ease), transform .4s var(--ease), background .4s var(--ease);
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-mark {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.preloader-bar {
  width: 220px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  border-radius: 2px;
}
.preloader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gradient-main);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(229, 9, 20, 0.16), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(255, 45, 45, 0.12), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(229, 9, 20, 0.1), transparent 50%);
  animation: bgShift 16s ease-in-out infinite alternate;
}
@keyframes bgShift {
  0% { filter: hue-rotate(0deg) brightness(1); }
  100% { filter: hue-rotate(20deg) brightness(1.08); }
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
  z-index: 0;
}
.shape-1 { width: 120px; height: 120px; top: 18%; left: 8%; border: 1px solid var(--primary); animation: float1 9s ease-in-out infinite; }
.shape-2 { width: 60px; height: 60px; top: 65%; left: 12%; background: var(--gradient-accent); opacity: 0.25; animation: float2 7s ease-in-out infinite; }
.shape-3 { width: 90px; height: 90px; top: 25%; right: 10%; border: 1px solid var(--highlight); animation: float2 11s ease-in-out infinite; }
.shape-4 { width: 40px; height: 40px; bottom: 15%; right: 18%; background: var(--gradient-main); opacity: 0.3; animation: float1 8s ease-in-out infinite; }

@keyframes float1 { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-30px) translateX(15px); } }
@keyframes float2 { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(24px) rotate(20deg); } }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 { margin-bottom: 26px; }
.hero-content p.hero-sub {
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 40px;
  color: var(--muted);
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 70px; }

.hero-illustration {
  position: relative;
  height: 460px;
}
.orb-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 320px; height: 320px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: var(--gradient-glow);
  filter: blur(6px);
  animation: pulseGlow 5s ease-in-out infinite;
}
@keyframes pulseGlow { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.12); } }

.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  transform: translate(-50%,-50%);
}
.ring-1 { width: 380px; height: 380px; animation: spin 22s linear infinite; }
.ring-2 { width: 280px; height: 280px; animation: spin 16s linear infinite reverse; }
.ring-1::before, .ring-2::before {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  top: -5px; left: calc(50% - 5px);
  box-shadow: 0 0 16px var(--accent);
}
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 50px;
  border-top: 1px solid var(--border-glass);
}
.stat-item { text-align: left; }
.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: red;
}
.stat-label { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

.scroll-indicator {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-indicator .line {
  width: 1px; height: 40px;
  background: linear-gradient(var(--muted), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ==========================================================================
   ABOUT PREVIEW
   ========================================================================== */
.about-preview .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-preview-media { position: relative; }
.about-preview-media .media-frame {
  aspect-ratio: 4/5;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(229, 9, 20, 0.16), rgba(255, 45, 45, 0.08));
  border: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
}
.about-preview-media .media-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, transparent, transparent 40px, rgba(255,255,255,0.03) 40px, rgba(255,255,255,0.03) 80px);
}
.floating-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  padding: 22px 26px;
  border-radius: 18px;
  text-align: center;
}
.floating-badge .stat-num { font-size: 2rem; }

.about-preview-copy .pillars { display: flex; gap: 40px; margin-top: 34px; }
.pillar h4 { font-family: var(--font-heading); color: var(--accent); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.pillar p { font-size: 0.95rem; }

/* ==========================================================================
   PREMIUM SERVICES CARDS
   ========================================================================== */

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


/* ---------------------------------------------------------
   SERVICE CARD
--------------------------------------------------------- */

.service-card {
  position: relative;
  padding: 42px 32px;
  min-height: 320px;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(229, 9, 20, 0.10),
      transparent 42%
    ),
    #111111;

  border: 1px solid #292929;
  border-radius: 22px;

  overflow: hidden;

  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.5s ease,
    box-shadow 0.5s ease,
    background 0.5s ease;

  isolation: isolate;
}


/* ---------------------------------------------------------
   PREMIUM RED LIGHT
--------------------------------------------------------- */

.service-card::before {
  content: "";

  position: absolute;
  width: 280px;
  height: 280px;

  top: -160px;
  right: -140px;

  background: radial-gradient(
    circle,
    rgba(229, 9, 20, 0.22),
    rgba(229, 9, 20, 0.06) 35%,
    transparent 70%
  );

  filter: blur(10px);

  opacity: 0;

  transition:
    opacity 0.6s ease,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  pointer-events: none;

  z-index: -1;
}


/* ---------------------------------------------------------
   MOVING SHINE
--------------------------------------------------------- */

.service-card::after {
  content: "";

  position: absolute;

  top: 0;
  left: -120%;

  width: 80%;
  height: 100%;

  background: linear-gradient(
    110deg,
    transparent,
    rgba(255,255,255,0.035),
    transparent
  );

  transform: skewX(-18deg);

  transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  pointer-events: none;
}


/* ---------------------------------------------------------
   HOVER
--------------------------------------------------------- */

.service-card:hover {
  transform: translateY(-12px);

  border-color: rgba(229, 9, 20, 0.55);

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(229, 9, 20, 0.16),
      transparent 45%
    ),
    #141414;

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.55),
    0 0 45px rgba(229, 9, 20, 0.08);
}


.service-card:hover::before {
  opacity: 1;
  transform: scale(1.35);
}


.service-card:hover::after {
  left: 140%;
}


/* ---------------------------------------------------------
   SERVICE ICON
--------------------------------------------------------- */

.service-icon {
  position: relative;

  width: 58px;
  height: 58px;

  border-radius: 16px;

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

  background: #181818;

  border: 1px solid #303030;

  color: var(--text);

  font-size: 1.35rem;

  margin-bottom: 28px;

  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    color 0.4s ease;
}


.service-card:hover .service-icon {
  transform: translateY(-4px) rotate(-4deg);

  background: var(--gradient-main);

  border-color: transparent;

  color: #fff;

  box-shadow:
    0 12px 30px rgba(229, 9, 20, 0.30);
}


/* ---------------------------------------------------------
   TITLE
--------------------------------------------------------- */

.service-card h3 {
  position: relative;

  margin-bottom: 12px;

  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.4s ease;
}


.service-card:hover h3 {
  transform: translateX(5px);
}


/* ---------------------------------------------------------
   DESCRIPTION
--------------------------------------------------------- */

.service-card p {
  position: relative;

  font-size: 0.95rem;

  margin-bottom: 22px;

  transition:
    color 0.4s ease,
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}


.service-card:hover p {
  color: #c5c5c5;

  transform: translateX(5px);
}


/* ---------------------------------------------------------
   SERVICE LINK
--------------------------------------------------------- */

.service-link {
  position: relative;

  display: inline-flex;
  align-items: center;

  gap: 8px;

  color: var(--accent);

  font-family: var(--font-heading);

  font-size: 0.9rem;

  font-weight: 500;

  transition:
    gap 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s ease;
}


.service-link:hover {
  gap: 15px;
}


.service-card:hover .service-link {
  transform: translateX(5px);
}


/* ---------------------------------------------------------
   SMALL RED ACCENT LINE
--------------------------------------------------------- */

.service-card .service-link::before {
  content: "";

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 0;
  height: 1px;

  background: var(--accent);

  transition:
    width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}


.service-card:hover .service-link::before {
  width: 100%;
}


/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 900px) {

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 600px) {

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

  .service-card {
    min-height: 280px;
    padding: 34px 26px;
  }

  .service-card:hover {
    transform: translateY(-6px);
  }

}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card { padding: 34px 30px; text-align: left; }
.why-card i { font-size: 1.3rem; color: var(--accent); margin-bottom: 20px; display: inline-block; }
.why-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.why-card p { font-size: 0.92rem; }

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 30px;
  counter-reset: step;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 28px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass) 10%, var(--border-glass) 90%, transparent);
}
.process-step { position: relative; padding-top: 60px; }
.process-num {
  position: absolute;
  top: 0; left: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent);
  z-index: 1;
}
.process-step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; }

/* ==========================================================================
   PORTFOLIO
   ========================================================================== */
.portfolio-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid var(--border-glass);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--muted);
  transition: all .3s var(--ease);
}
.filter-btn.active, .filter-btn:hover { background: var(--gradient-main); color: var(--text); border-color: transparent; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 28px;
}
.portfolio-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3.2;
  border: 1px solid var(--border-glass);
}
.portfolio-item .item-media {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(229, 9, 20, 0.28), rgba(255, 45, 45, 0.16));
  transition: transform .6s var(--ease);
}
.portfolio-item:hover .item-media { transform: scale(1.08); }
.portfolio-item .item-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px;

  opacity: 0;

  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.portfolio-item:hover .item-overlay { opacity: 1; transform: translateY(0); }
.item-category { color: var(--accent); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.item-title { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 14px; }
.item-view { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text); width: fit-content; }
.portfolio-item.hide { display: none; }



/* ==========================================================================
   WHO WE WORK WITH
   ========================================================================== */

.who-we-work-with {
  position: relative;
  overflow: hidden;
}

/* Heading */

.who-we-work-with .section-head {
  max-width: 760px;
  margin-bottom: 70px;
}

.who-we-work-with .section-head h2 {
  margin-bottom: 0;
}

.who-we-work-with .section-head p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}


/* ==========================================================================
   WORK STATS
   ========================================================================== */

.work-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 80px;
}

.work-stat {
  position: relative;
  padding: 38px 30px;
  text-align: center;
}

.work-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25%;
  right: 0;
  width: 1px;
  height: 50%;
  background: var(--border-glass);
}

.work-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.work-stat-label {
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}


/* ==========================================================================
   CLIENT LOGO SLIDER
   ========================================================================== */

.client-logos {
  width: 100%;
  overflow: hidden;
  position: relative;

  /* Fade edges */
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );

  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.client-logos-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: clientLogoScroll 28s linear infinite;
  will-change: transform;
}

.client-logos:hover .client-logos-track {
  animation-play-state: paused;
}

.client-logo {
  min-width: 190px;
  height: 90px;
  margin-right: 24px;

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

  padding: 20px 30px;

  border: 1px solid var(--border-glass);
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.02);

  transition:
    border-color .4s var(--ease),
    background .4s var(--ease),
    transform .4s var(--ease);
}

.client-logo span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  transition: color .4s var(--ease);
}

.client-logo:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 9, 20, 0.5);
  background: rgba(229, 9, 20, 0.06);
}

.client-logo:hover span {
  color: var(--text);
}


/* Infinite horizontal movement */

@keyframes clientLogoScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* ==========================================================================
   WHO WE WORK WITH - RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {

  .work-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-stat:nth-child(2)::after {
    display: none;
  }

  .work-stat:nth-child(1),
  .work-stat:nth-child(2) {
    border-bottom: 1px solid var(--border-glass);
  }

  .client-logo {
    min-width: 170px;
    height: 80px;
  }
}


@media (max-width: 600px) {

  .who-we-work-with .section-head {
    margin-bottom: 50px;
  }

  .who-we-work-with .section-head p {
    font-size: 0.95rem;
  }

  .work-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 55px;
  }

  .work-stat {
    padding: 28px 12px;
  }

  .work-stat-number {
    font-size: 2.2rem;
  }

  .work-stat-label {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .work-stat:not(:last-child)::after {
    height: 55%;
  }

  .client-logo {
    min-width: 150px;
    height: 70px;
    margin-right: 16px;
    padding: 15px 20px;
  }

  .client-logo span {
    font-size: 0.72rem;
  }

  .client-logos-track {
    animation-duration: 22s;
  }
}
/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-slide { padding: 10px; }
.testimonial-card { padding: 44px; text-align: left; height: 100%; }
.stars { color: var(--accent); margin-bottom: 20px; letter-spacing: 3px; }
.testimonial-quote { font-size: 1.05rem; color: var(--text); margin-bottom: 30px; font-weight: 400; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient-main);
  flex-shrink: 0;
}
.author-name { font-family: var(--font-heading); font-size: 0.95rem; }
.author-role { font-size: 0.82rem; color: var(--muted); }

.swiper-pagination-bullet { background: var(--muted); opacity: 0.5; }
.swiper-pagination-bullet-active { background: var(--accent); opacity: 1; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-section {
  margin: 0 40px;
  border-radius: 32px;
  padding: 100px 60px;
  text-align: center;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.14), rgba(255, 45, 45, 0.1));
  border: 1px solid var(--border-glass);
  overflow: hidden;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-glow);
  opacity: 0.5;
  animation: pulseGlow 6s ease-in-out infinite;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { max-width: 700px; margin: 0 auto 34px; }

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex; align-items: center; justify-content: center;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .4s var(--ease);
  box-shadow: 0 10px 26px -8px rgba(229, 9, 20, 0.35);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
/* What We Do - 3 items left + 3 items right */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 30px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile */
@media (max-width: 768px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}
.portfolio-item {
  width: 310px;
  height: 382px;
  position: relative;
  overflow: hidden;
}
.item-media {
  width: 100%;
  height: 100%;
}

.item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* View Full Portfolio button */
.portfolio-view-more {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}
/* =========================================================
   3D PORTFOLIO SLIDER
========================================================= */

.portfolio-slider-wrap {
    width: 100%;
    position: relative;
    padding: 40px 0 70px;
    overflow: hidden;
}

.portfolio-swiper {
    width: 100%;
    overflow: visible;
    padding: 30px 0 50px;
}

.portfolio-swiper .swiper-wrapper {
    align-items: center;
}

.portfolio-swiper .swiper-slide {
    width: 430px;
    height: auto;
    transition: transform 0.5s ease;
}


/* CARD */

.portfolio-slide-card {
    position: relative;
    overflow: hidden;

    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.35);

    transition:
        transform 0.5s ease,
        border-color 0.5s ease,
        box-shadow 0.5s ease;
}


/* IMAGE */

.portfolio-slide-card .slide-image {
    width: 100%;
    height: 360px;
    overflow: hidden;
}

.portfolio-slide-card .slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition: transform 0.7s ease;
}


/* CONTENT */

.portfolio-slide-card .slide-content {
    padding: 30px;
    min-height: 210px;
}

.portfolio-slide-card .item-category {
    display: inline-block;

    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;

    margin-bottom: 14px;
    opacity: 0.65;
}

.portfolio-slide-card h3 {
    font-size: 1.6rem;
    margin: 0 0 12px;
}

.portfolio-slide-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.7;
    margin-bottom: 22px;
}


/* LINK */

.portfolio-slide-card .slide-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-weight: 600;
    text-decoration: none;

    transition: gap 0.3s ease;
}

.portfolio-slide-card .slide-link:hover {
    gap: 16px;
}


/* ACTIVE CARD */

.portfolio-swiper .swiper-slide-active .portfolio-slide-card {
    border-color: rgba(229, 9, 20, 0.55);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 35px rgba(229, 9, 20, 0.12);
}


/* IMAGE ZOOM ONLY ON ACTIVE CARD */

.portfolio-swiper .swiper-slide-active .slide-image img {
    transform: scale(1.04);
}


/* ARROWS */

.portfolio-prev,
.portfolio-next {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    z-index: 20;

    width: 58px;
    height: 58px;

    border: none;
    border-radius: 50%;

    background: #050505;
    color: #fff;

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

    cursor: pointer;

    font-size: 18px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.portfolio-prev {
    left: 26px;
}

.portfolio-next {
    right: 25px;
}

.portfolio-prev:hover,
.portfolio-next:hover {
    transform: translateY(-50%) scale(1.08);
    background: #e50914;
}


/* VIEW MORE */

.portfolio-view-more {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .portfolio-swiper .swiper-slide {
        width: 360px;
    }

    .portfolio-slide-card .slide-image {
        height: 300px;
    }

    .portfolio-prev {
        left: 12px;
    }

    .portfolio-next {
        right: 12px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .portfolio-slider-wrap {
        padding: 20px 0 50px;
    }

    .portfolio-swiper {
        padding: 20px 0 40px;
    }

    .portfolio-swiper .swiper-slide {
        width: 82%;
    }

    .portfolio-slide-card .slide-image {
        height: 260px;
    }

    .portfolio-slide-card .slide-content {
        padding: 24px;
    }

    .portfolio-slide-card h3 {
        font-size: 1.35rem;
    }

    .portfolio-prev,
    .portfolio-next {
        width: 46px;
        height: 46px;
        font-size: 15px;
    }

    .portfolio-prev {
        left: 8px;
    }

    .portfolio-next {
        right: 8px;
    }
}
/* =========================================================
   SERVICE CARDS — SCREENSHOT STYLE HOVER
   Keep existing cards/layout
========================================================= */

.service-card {
    position: relative;
    overflow: hidden;

    /* NO MOVEMENT */
    transform: none !important;

    transition:
        border-color 0.45s ease,
        box-shadow 0.45s ease,
        background 0.45s ease;
}


/* Background image layer */

.service-card .service-card-bg {
    position: absolute;
    inset: 0;

    z-index: 0;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0;

    transform: scale(1.05);

    transition:
        opacity 0.55s ease,
        transform 0.7s ease;
}


/* Dark overlay */

.service-card::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.82)
        );

    opacity: 0;

    transition: opacity 0.45s ease;

    pointer-events: none;
}


/* Keep existing content above image */

.service-card > *:not(.service-card-bg) {
    position: relative;
    z-index: 2;
}


/* =========================================================
   BACKGROUND IMAGES
========================================================= */

.service-card:nth-child(1) .service-card-bg {
    background-image:
        url("../img/logo and branding/01-01.jpg.jpeg");
}

.service-card:nth-child(2) .service-card-bg {
    background-image:
        url("../img/social media creatives/00-08.jpg.jpeg");
}

.service-card:nth-child(3) .service-card-bg {
    background-image:
        url("../img/packaging/01.jpg");
}

.service-card:nth-child(4) .service-card-bg {
    background-image:
        url("../img/web development/01.jpg");
}

.service-card:nth-child(5) .service-card-bg {
    background-image:
        url("../img/social media creatives/00-08.jpg.jpeg");
}

.service-card:nth-child(6) .service-card-bg {
    background-image:
        url("../img/logo and branding/01-01.jpg.jpeg");
}


/* =========================================================
   HOVER
========================================================= */

.service-card:hover {
    transform: none !important;

    border-color: rgba(255, 255, 255, 0.45);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45);
}


/* Image appears */

.service-card:hover .service-card-bg {
    opacity: 1;

    transform: scale(1);
}


/* Overlay appears */

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


/* =========================================================
   TEXT STAYS ABOVE IMAGE
========================================================= */

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-icon,
.service-card:hover .service-link {
    position: relative;
    z-index: 3;
}


/* Make hover text white */

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-link {
    color: #fff;
}


/* Icon stays visible */

.service-card:hover .service-icon {
    color: #fff;
}
/* =========================================================
   PORTFOLIO PAGE — REMOVE CARD HOVER EFFECT
========================================================= */

/* Card itself */
.portfolio-item,
.portfolio-item:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Image */
.portfolio-item .item-media,
.portfolio-item .item-media img {
    transform: none !important;
    transition: none !important;
}

/* Prevent image zoom on hover */
.portfolio-item:hover .item-media,
.portfolio-item:hover .item-media img {
    transform: none !important;
}

/* Remove hover overlay */
.portfolio-item:hover .item-overlay {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* No image filter change */
.portfolio-item:hover .item-media img {
    filter: none !important;
}
/* =========================================================
   PORTFOLIO — 2 IMAGE 3D FLIP
   IMAGE 01 → HOVER → IMAGE 02
========================================================= */

.portfolio-full .portfolio-item.two-image-flip-ready {
    position: relative;
    overflow: visible !important;
    perspective: 1400px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* 3D container */

.portfolio-full .portfolio-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 380px;

    transform-style: preserve-3d;

    transition:
        transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* HOVER FLIP */

.portfolio-full
.portfolio-item.two-image-flip-ready:hover
.portfolio-flip-inner {
    transform: rotateY(180deg);
}

/* BOTH SIDES */

.portfolio-full .portfolio-flip-front,
.portfolio-full .portfolio-flip-back {
    position: relative;

    width: 100%;
    min-height: 380px;

    overflow: hidden;

    border-radius: 18px;

    background: #111;

    border: 1px solid rgba(255,255,255,0.12);

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* FRONT */

.portfolio-full .portfolio-flip-front {
    transform: rotateY(0deg);
}

/* BACK */

.portfolio-full .portfolio-flip-back {
    position: absolute;

    inset: 0;

    transform: rotateY(180deg);

    border-color: rgba(229, 9, 20, 0.45);
}

/* IMAGE */

.portfolio-full .flip-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
}

/* IMAGE */

.portfolio-full .flip-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: none !important;

    transition: none !important;
}

/* DARK GRADIENT */

.portfolio-full
.portfolio-flip-front::after,
.portfolio-full
.portfolio-flip-back::after {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0.02) 45%,
            rgba(0,0,0,0.72) 100%
        );
}

/* RED BORDER */

.portfolio-full
.portfolio-flip-front::before,
.portfolio-full
.portfolio-flip-back::before {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 10;

    pointer-events: none;

    border-radius: 18px;

    border: 1px solid transparent;

    transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.portfolio-full
.portfolio-item.two-image-flip-ready:hover
.portfolio-flip-front::before,

.portfolio-full
.portfolio-item.two-image-flip-ready:hover
.portfolio-flip-back::before {

    border-color: rgba(229,9,20,0.7);

    box-shadow:
        0 0 30px rgba(229,9,20,0.18),
        inset 0 0 25px rgba(229,9,20,0.04);
}

/* NUMBER */

.portfolio-full .flip-number {

    position: absolute;

    right: 18px;
    top: 18px;

    z-index: 20;

    width: 42px;
    height: 42px;

    display: flex;

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

    border-radius: 50%;

    color: #fff;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 1px;

    background: rgba(0,0,0,0.55);

    border: 1px solid rgba(255,255,255,0.22);

    backdrop-filter: blur(8px);
}

/* FLIP ARROW */

.portfolio-full .flip-arrow {

    position: absolute;

    left: 50%;
    bottom: 22px;

    transform: translateX(-50%);

    z-index: 20;

    width: 42px;
    height: 42px;

    display: flex;

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

    border-radius: 50%;

    color: #fff;

    font-size: 20px;

    background: rgba(0,0,0,0.55);

    border: 1px solid rgba(255,255,255,0.2);

    backdrop-filter: blur(8px);

    transition:
        transform 0.35s ease,
        background 0.35s ease;
}

.portfolio-full
.portfolio-item:hover
.flip-arrow {

    transform:
        translateX(-50%)
        rotate(180deg);
}

/* EXISTING OVERLAY */

.portfolio-full
.portfolio-flip-front
.item-overlay {

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 15;

    opacity: 1 !important;
    visibility: visible !important;

    transform: none !important;

    pointer-events: none;
}

/* Keep project buttons clickable if present */

.portfolio-full
.portfolio-flip-front
.item-overlay
[data-view-project] {

    pointer-events: auto;
}

/* MOBILE */

@media (max-width: 768px) {

    .portfolio-full .portfolio-flip-inner {
        min-height: 350px;
    }

    .portfolio-full
    .portfolio-flip-front,
    .portfolio-full
    .portfolio-flip-back {

        min-height: 350px;
    }

    .portfolio-full
    .portfolio-item.mobile-flipped
    .portfolio-flip-inner {

        transform: rotateY(180deg);
    }

    .portfolio-full .flip-arrow {
        opacity: 1;
    }

}

/* REDUCE MOTION */

@media (prefers-reduced-motion: reduce) {

    .portfolio-full .portfolio-flip-inner {
        transition: none;
    }

}
/* =========================================================
   PREMIUM SERVICES HOVER — FINAL
   ========================================================= */

.premium-service-card {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border-radius: 22px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.12);

    isolation: isolate;

    transition:
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}


/* ---------------------------------------------------------
   BACKGROUND IMAGE
   --------------------------------------------------------- */

.premium-service-card .service-card-bg {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;

    opacity: 0;
    transform: scale(1.12);

    transition:
        opacity 0.6s ease,
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);

    z-index: -2;
}


/* ---------------------------------------------------------
   DARK OVERLAY
   --------------------------------------------------------- */

.premium-service-card .service-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0.15) 0%,
            rgba(0,0,0,0.45) 45%,
            rgba(0,0,0,0.92) 100%
        );

    opacity: 0;

    transition: opacity 0.5s ease;

    z-index: -1;
}


/* ---------------------------------------------------------
   PREMIUM RED GLOW
   --------------------------------------------------------- */

.premium-service-card::before {
    content: "";

    position: absolute;
    width: 260px;
    height: 260px;

    top: -130px;
    right: -100px;

    background: radial-gradient(
        circle,
        rgba(229,9,20,0.45),
        rgba(229,9,20,0.12) 40%,
        transparent 70%
    );

    filter: blur(20px);

    opacity: 0;

    transition:
        opacity 0.5s ease,
        transform 0.7s ease;

    pointer-events: none;

    z-index: -1;
}


/* ---------------------------------------------------------
   MOVING LIGHT
   --------------------------------------------------------- */

.premium-service-card::after {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            110deg,
            transparent,
            rgba(255,255,255,0.08),
            transparent
        );

    transform: skewX(-20deg);

    transition:
        left 0.9s cubic-bezier(0.16,1,0.3,1);

    pointer-events: none;

    z-index: 2;
}


/* ---------------------------------------------------------
   CONTENT
   --------------------------------------------------------- */

.premium-service-card .service-inner {
    position: relative;

    min-height: 320px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 36px;

    z-index: 3;
}


/* ---------------------------------------------------------
   TITLE
   --------------------------------------------------------- */

.premium-service-card h3 {
    position: relative;

    margin: 0;

    font-family: var(--font-heading);

    font-size: clamp(1.5rem, 2.4vw, 2.2rem);

    line-height: 1;

    letter-spacing: -0.04em;

    color: #fff;

    transition:
        transform 0.5s cubic-bezier(0.16,1,0.3,1),
        letter-spacing 0.5s ease;
}


/* =========================================================
   HOVER
   ========================================================= */

.premium-service-card:hover {

    transform: translateY(-12px) scale(1.015);

    border-color: rgba(229,9,20,0.65);

    box-shadow:
        0 30px 80px rgba(0,0,0,0.65),
        0 0 45px rgba(229,9,20,0.12);
}


/* Image */

.premium-service-card:hover .service-card-bg {
    opacity: 1;

    transform: scale(1);
}


/* Overlay */

.premium-service-card:hover .service-overlay {
    opacity: 1;
}


/* Red glow */

.premium-service-card:hover::before {
    opacity: 1;
    transform: scale(1.25);
}


/* Moving shine */

.premium-service-card:hover::after {
    left: 140%;
}


/* Title movement */

.premium-service-card:hover h3 {
    transform: translateY(-8px);

    letter-spacing: -0.02em;
}


/* =========================================================
   OPTIONAL RED LINE UNDER TITLE
   ========================================================= */

.premium-service-card .service-inner::after {
    content: "";

    width: 0;
    height: 2px;

    margin-top: 18px;

    background: var(--gradient-main);

    transition:
        width 0.5s cubic-bezier(0.16,1,0.3,1);
}

.premium-service-card:hover .service-inner::after {
    width: 70px;
}


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

@media (max-width: 900px) {

    .premium-service-card {
        min-height: 300px;
    }

    .premium-service-card .service-inner {
        min-height: 300px;
        padding: 30px;
    }

}


@media (max-width: 600px) {

    .premium-service-card {
        min-height: 280px;
    }

    .premium-service-card .service-inner {
        min-height: 280px;
        padding: 26px;
    }

    .premium-service-card:hover {
        transform: translateY(-6px);
    }

}
/* =========================================================
   PORTFOLIO CATEGORY FLIP CONTROL
   ========================================================= */

/* By default, flip is enabled */
.portfolio-full .portfolio-item.flip-disabled
.portfolio-flip-inner {
    transform: none !important;
}

/* Disable 3D perspective */
.portfolio-full .portfolio-item.flip-disabled {
    perspective: none !important;
}

/* Disable hover flip */
.portfolio-full .portfolio-item.flip-disabled:hover
.portfolio-flip-inner {
    transform: none !important;
}

/* Keep front visible */
.portfolio-full .portfolio-item.flip-disabled
.portfolio-flip-back {
    visibility: hidden !important;
    pointer-events: none !important;
}

.portfolio-full .portfolio-item.flip-disabled
.portfolio-flip-front {
    visibility: visible !important;
    transform: rotateY(0deg) !important;
}
/* =========================================================
   CONTACT FORM — MESSAGE ON RIGHT
========================================================= */

.contact-form-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    column-gap: 24px;

    row-gap: 24px;

    align-items: start;
}


/* Normal fields */

.contact-form-grid .form-group {
    width: 100%;
}


/* Message occupies the right side */

.contact-form-grid .message-group {
    grid-column: 2;

    grid-row: 2 / span 2;
}


/* Message box */

.contact-form-grid .message-group textarea {
    width: 100%;

    height: 252px;

    min-height: 252px;

    resize: vertical;

    box-sizing: border-box;
}


/* Make inputs consistent */

.contact-form-grid input,
.contact-form-grid select,
.contact-form-grid textarea {
    width: 100%;

    box-sizing: border-box;
}


/* =========================================================
   SEND BUTTON
========================================================= */

#contact-form > .btn {
    margin-top: 28px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .contact-form-grid {
        grid-template-columns: 1fr;

        row-gap: 20px;
    }

    .contact-form-grid .message-group {
        grid-column: 1;

        grid-row: auto;
    }

    .contact-form-grid .message-group textarea {
        height: 180px;

        min-height: 180px;
    }

}



/* =========================================================
   PORTFOLIO — FINAL FLIP / STATIC CARD SYSTEM
========================================================= */


/* =========================================================
   HIDDEN CARDS
   IMPORTANT: this must override every portfolio display rule
========================================================= */

.portfolio-full .portfolio-item.hide {
    display: none !important;
}


/* =========================================================
   ORIGINAL FLIP CARDS
   Used for:
   - All
   - Social Media Creatives
========================================================= */

.portfolio-full
.portfolio-original-card.portfolio-flip-mode {

    display: block;
}


/* =========================================================
   GENERATED STATIC CARDS
   Used for:
   - Logo & Branding
   - Packaging
   - Print Ads
   - Web Development
========================================================= */

.portfolio-full
.portfolio-static-generated.portfolio-static-mode {

    display: block;

    position: relative;

    width: 100%;

    min-height: 380px;

    overflow: hidden;

    border-radius: 18px;

    background: #111;

    border: 1px solid rgba(255, 255, 255, 0.12);

    box-sizing: border-box;

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}


/* =========================================================
   STATIC CARD IMAGE
========================================================= */

.portfolio-full
.portfolio-static-generated
.static-single-media {

    position: relative;

    width: 100%;

    height: 380px;

    overflow: hidden;

    border-radius: 18px;
}


.portfolio-full
.portfolio-static-generated
.static-single-media img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transform: none !important;

    transition: none !important;
}


/* =========================================================
   STATIC CARD HOVER
========================================================= */

.portfolio-full
.portfolio-static-generated.portfolio-static-mode:hover {

    transform: translateY(-6px);

    border-color:
        rgba(229, 9, 20, 0.55);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(229, 9, 20, 0.08);
}


/* =========================================================
   STATIC CARD OVERLAY
========================================================= */

.portfolio-full
.portfolio-static-generated
.item-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: flex-end;

    padding: 24px;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.82),
            rgba(0, 0, 0, 0.05) 65%
        );

    opacity: 0;

    visibility: hidden;

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


.portfolio-full
.portfolio-static-generated:hover
.item-overlay {

    opacity: 1;

    visibility: visible;
}


/* =========================================================
   STATIC CARD OVERLAY CONTENT
========================================================= */

.portfolio-full
.portfolio-static-generated
.item-overlay-content {

    position: relative;

    z-index: 2;
}


.portfolio-full
.portfolio-static-generated
.item-category {

    display: block;

    margin-bottom: 8px;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    color: #e50914;
}


.portfolio-full
.portfolio-static-generated
.item-overlay h3 {

    margin: 0 0 14px;

    color: #fff;

    font-size: 22px;
}


/* =========================================================
   VIEW PROJECT BUTTON
========================================================= */

.portfolio-full
.portfolio-static-generated
.view-project-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 10px 16px;

    border: 1px solid
        rgba(255, 255, 255, 0.25);

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.08);

    color: #fff;

    cursor: pointer;

    font-size: 12px;

    transition:
        background 0.25s ease,
        border-color 0.25s ease;
}


.portfolio-full
.portfolio-static-generated
.view-project-btn:hover {

    background: #e50914;

    border-color: #e50914;
}


/* =========================================================
   MAKE SURE FLIP CARDS KEEP THEIR FLIP
========================================================= */

.portfolio-full
.portfolio-original-card.portfolio-flip-mode
.portfolio-flip-inner {

    display: block;
}


/* =========================================================
   STATIC CARDS MUST NOT CONTAIN FLIP CONTENT
========================================================= */

.portfolio-full
.portfolio-static-generated
.portfolio-flip-inner {

    display: none !important;
}


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

@media (max-width: 900px) {

    .portfolio-full
    .portfolio-static-generated {

        min-height: 320px;
    }

    .portfolio-full
    .portfolio-static-generated
    .static-single-media {

        height: 320px;
    }

}


@media (max-width: 600px) {

    .portfolio-full
    .portfolio-static-generated {

        min-height: 300px;

        border-radius: 14px;
    }

    .portfolio-full
    .portfolio-static-generated
    .static-single-media {

        height: 300px;

        border-radius: 14px;
    }

}
/* =========================================================
   CONTACT — CENTER FORM CARD
========================================================= */

.contact-main .contact-layout {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.contact-main .contact-form-card {
    width: min(1000px, 100%);
    max-width: 1000px;
    margin: 0 auto;
}


/* =========================================================
   CONTACT — MOBILE
========================================================= */

@media (max-width: 900px) {
    .contact-main .contact-form-card {
        width: 100%;
        max-width: 100%;
    }
}

/* =========================================================
   PREMIUM WHATSAPP FLOATING BUTTON
========================================================= */

.whatsapp-float {
    position: fixed;

    right: 30px;
    bottom: 92px;

    width: 58px;
    height: 58px;

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

    border-radius: 50%;

    background: #25D366;
    color: #ffffff;

    text-decoration: none;

    z-index: 501;

    /* Bigger WhatsApp icon */
    font-size: 31px;

    /* Premium glow */
    box-shadow:
        0 0 0 4px rgba(37, 211, 102, 0.10),
        0 8px 25px rgba(37, 211, 102, 0.35),
        0 0 35px rgba(37, 211, 102, 0.18);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}


/* =========================================================
   ICON
========================================================= */

.whatsapp-float i {
    display: block;

    font-size: 31px;

    line-height: 1;

    transform: translateY(1px);

    transition:
        transform 0.35s ease;
}


/* =========================================================
   HOVER
========================================================= */

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.08);

    background: #20bd5a;

    color: #ffffff;

    box-shadow:
        0 0 0 5px rgba(37, 211, 102, 0.12),
        0 12px 32px rgba(37, 211, 102, 0.45),
        0 0 45px rgba(37, 211, 102, 0.25);
}


.whatsapp-float:hover i {
    transform: translateY(1px) scale(1.08);
}


/* =========================================================
   SOFT PULSE
========================================================= */

.whatsapp-float::before {
    content: "";

    position: absolute;

    inset: -5px;

    border-radius: 50%;

    border: 1px solid rgba(37, 211, 102, 0.35);

    opacity: 0;

    transform: scale(0.8);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;

    pointer-events: none;
}


.whatsapp-float:hover::before {
    opacity: 1;

    transform: scale(1.08);
}


/* =========================================================
   TOOLTIP
========================================================= */

.whatsapp-tooltip {
    position: absolute;

    right: 72px;

    top: 50%;

    transform:
        translateY(-50%)
        translateX(10px);

    background: rgba(18, 18, 18, 0.96);

    color: #ffffff;

    padding: 9px 14px;

    border-radius: 9px;

    font-size: 13px;

    font-weight: 500;

    white-space: nowrap;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 8px 25px rgba(0,0,0,0.3);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}


.whatsapp-tooltip::after {
    content: "";

    position: absolute;

    right: -5px;

    top: 50%;

    transform: translateY(-50%);

    border-width: 5px 0 5px 5px;

    border-style: solid;

    border-color:
        transparent
        transparent
        transparent
        rgba(18,18,18,0.96);
}


.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(-50%)
        translateX(0);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .whatsapp-float {
        right: 20px;
        bottom: 82px;

        width: 52px;
        height: 52px;

        font-size: 27px;
    }

    .whatsapp-float i {
        font-size: 27px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .whatsapp-float {
        right: 16px;
        bottom: 78px;

        width: 49px;
        height: 49px;

        font-size: 25px;
    }

    .whatsapp-float i {
        font-size: 25px;
    }
}

/* ===== PORTFOLIO CARD SIZE & SIDE CARD COLORS ===== */

/* Reduce overall card width */
.portfolio-preview .portfolio-swiper .swiper-slide {
    width: 320px !important;
}

/* Keep the card inside the slide */
.portfolio-preview .portfolio-slide-card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

/* Center card: full brightness */
.portfolio-preview .portfolio-swiper .swiper-slide-active {
    filter: brightness(1) !important;
    opacity: 1 !important;
}

/* Side/background cards: slightly darker */
.portfolio-preview .portfolio-swiper .swiper-slide:not(.swiper-slide-active) {
    filter: brightness(0.55) !important;
}

/* Tablet */
@media (max-width: 900px) {
    .portfolio-preview .portfolio-swiper .swiper-slide {
        width: 280px !important;
    }

    .portfolio-preview .portfolio-slide-card {
        max-width: 280px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .portfolio-preview .portfolio-swiper .swiper-slide {
        width: 240px !important;
    }

    .portfolio-preview .portfolio-slide-card {
        max-width: 240px;
    }
}


/* SMOOTH SCROLLING */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Terms and Conditions bullet points */
.legal-content ul {
    list-style: disc !important;
    padding-left: 28px !important;
    margin: 12px 0 22px;
}

.legal-content li {
    display: list-item !important;
    padding-left: 4px;
    margin-bottom: 10px;
}

.legal-content li::marker {
    color: #e10813;
}
/* CLIENT LOGOS - Prevent Cropping */
.client-logo {
    box-sizing: border-box;
    flex: 0 0 190px;
    min-width: 0;
    overflow: hidden;
}

/* Make Client Logo Images Bigger */
.client-logo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 75px;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 900px) {
    .client-logo img {
        max-height: 58px;
    }
}

@media (max-width: 600px) {
    .client-logo img {
        max-height: 50px;
    }
}


/* Make Client Logos Bigger and Clearer */
.client-logo {
    min-width: 220px;
    height: 110px;
    padding: 12px 20px;
    margin-right: 24px;
}

.client-logo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 190px;
    max-height: 85px;
    object-fit: contain;
    object-position: center;
    opacity: 1;
    filter: none;
}

/* Tablet */
@media (max-width: 900px) {
    .client-logo {
        min-width: 190px;
        height: 95px;
    }

    .client-logo img {
        max-width: 165px;
        max-height: 72px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .client-logo {
        min-width: 165px;
        height: 80px;
        margin-right: 16px;
        padding: 10px 14px;
    }

    .client-logo img {
        max-width: 145px;
        max-height: 60px;
    }
}

/* =========================================
   ABOUT PREVIEW - IMAGE AND CONTENT
========================================= */

.about-preview > .container {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 70px;
}

/* Left image container */
.about-preview-media {
    position: relative;
    width: 100%;
    min-width: 0;
}

.media-frame {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 0, 25, 0.12), transparent),
        repeating-linear-gradient(
            115deg,
            #240809 0px,
            #240809 35px,
            #310c0f 35px,
            #310c0f 75px
        );
}

/* Actual About image */
.about-main-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
    position: relative;
    z-index: 1;
}

/* Floating years badge */
.about-preview-media .floating-badge {
    position: absolute;
    right: -25px;
    bottom: -20px;
    z-index: 2;
    min-width: 155px;
    padding: 22px 26px;
    text-align: center;
    border-radius: 22px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
}

.about-preview-media .stat-num {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.1;
}

.about-preview-media .stat-label {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--muted);
}

/* Right side content */
.about-preview-copy {
    min-width: 0;
}

.about-preview-copy h2 {
    margin-top: 22px;
    margin-bottom: 24px;
}

.about-preview-copy p {
    margin-bottom: 22px;
    line-height: 1.8;
    color: var(--muted);
}

.about-preview-copy .about-intro {
    margin-top: 0;
}

.about-preview-copy .pillars {
    margin-top: 38px;
}

.about-preview-copy .pillar h4 {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.7;
}

.about-preview-copy .about-learn-more {
    display: inline-flex;
    margin-top: 24px;
}

/* Tablet */
@media (max-width: 1000px) {
    .about-preview > .container {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 38px;
    }

    .media-frame {
        height: 500px;
    }

    .about-preview-media .floating-badge {
        right: -12px;
        min-width: 130px;
        padding: 18px;
    }

    .about-preview-media .stat-num {
        font-size: 2.2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .about-preview > .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .media-frame {
        height: 420px;
    }

    .about-preview-media .floating-badge {
        right: 12px;
        bottom: -18px;
    }

    .about-preview-copy h2 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .media-frame {
        height: 320px;
        border-radius: 20px;
    }

    .about-preview-copy p {
        font-size: 0.95rem;
    }

    .about-preview-media .floating-badge {
        min-width: 115px;
        padding: 15px;
    }

    .about-preview-media .stat-num {
        font-size: 1.9rem;
    }
}



/* Fix service card background image sizing */
.service-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.service-card .service-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =========================================
   SERVICES PAGE — IMAGE FIT FIX
   ========================================= */

.service-details .service-detail {
    align-items: center;
}

.service-details .service-detail-media {
    width: 100%;
    min-width: 0;
    height: 100%;
}

.service-details .service-detail-media .media-frame {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    border-radius: 28px;
    background: #160809;
}

.service-details .service-detail-media .media-frame img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

/* Tablet */
@media (max-width: 900px) {
    .service-details .service-detail-media .media-frame {
        height: 420px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .service-details .service-detail-media .media-frame {
        height: 320px;
        border-radius: 20px;
    }
}

/* Services page: equal-height image and content */
.service-details .service-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 60px;
}

.service-details .service-detail-media,
.service-details .service-detail-copy {
    min-width: 0;
    height: 100%;
}

.service-details .service-detail-media .media-frame {
    width: 100%;
    height: 100%;
    min-height: 520px;
}

.service-details .service-detail-media .media-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Keep both sides stacked on smaller screens */
@media (max-width: 900px) {
    .service-details .service-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-details .service-detail-media .media-frame {
        height: 400px;
        min-height: 0;
    }
}

@media (max-width: 600px) {
    .service-details .service-detail-media .media-frame {
        height: 320px;
    }
}
/* Service section: equal image and content height */
.service-detail,
.service-row,
.service-block {
    align-items: stretch;
}

.service-detail img,
.service-row img,
.service-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail .service-image,
.service-row .service-image,
.service-block .service-image {
    display: flex;
    height: auto;
    min-height: 100%;
}

.service-detail .service-content,
.service-row .service-content,
.service-block .service-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}
/* Equal height: service image and right content */
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 60px;
}

.service-row .service-image {
    height: 100%;
    min-height: 100%;
}

.service-row .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-row .service-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .service-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-row .service-image img {
        height: auto;
        aspect-ratio: 4 / 3;
    }
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
}

.footer-logo img {
    display: block;
    width: 180px;
    height: auto;
    object-fit: contain;
}

/* WHY REIMAGINE — MOBILE RESPONSIVENESS */
@media screen and (max-width: 640px) {

    /* Section spacing */
    .why-reimagine,
    .why-section,
    #why-reimagine {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        padding: 60px 16px 40px;
    }

    /* Section heading */
    .why-reimagine h2,
    .why-section h2,
    #why-reimagine h2 {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 36px;
        text-align: center;
        font-size: clamp(1.7rem, 6vw, 2.2rem);
        line-height: 1.25;
        overflow-wrap: break-word;
    }

    /* Cards layout: one column on mobile */
    .why-reimagine .values-grid,
    .why-section .values-grid,
    #why-reimagine .values-grid,
    .why-reimagine .features-grid,
    .why-section .features-grid,
    #why-reimagine .features-grid,
    .why-reimagine .why-grid,
    .why-section .why-grid,
    #why-reimagine .why-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
        gap: 18px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    /* Individual cards */
    .why-reimagine .value-card,
    .why-section .value-card,
    #why-reimagine .value-card,
    .why-reimagine .feature-card,
    .why-section .feature-card,
    #why-reimagine .feature-card,
    .why-reimagine .why-card,
    .why-section .why-card,
    #why-reimagine .why-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: auto;
        min-height: 0;
        box-sizing: border-box;
        padding: 24px 22px;
        overflow-wrap: anywhere;
    }

    /* Card text */
    .why-reimagine p,
    .why-section p,
    #why-reimagine p {
        max-width: 100%;
        overflow-wrap: break-word;
    }
}

/* WHY CHOOSE US — MOBILE FIX */
@media screen and (max-width: 640px) {
    .why-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .why-grid > .why-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 26px 24px !important;
        box-sizing: border-box;
        overflow-wrap: anywhere;
    }

    .why-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .why-card p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}
