/* ===================== THEME (MOON WEBSITE) ===================== */
:root {
  /* COLORS */
  --bg: #000;
  --ink: #e8e8e8;
  --muted: #8f8f8f;

  /* Responsive hero sizes */
  --moon-img-size: clamp(300px, 50vw, 540px);
  --moon-text-size: clamp(340px, 55vw, 600px);
  --tagline-size: clamp(280px, 45vw, 520px);

  --moon-img-offset: -90px;
  --moon-text-offset: -75px;
  --tagline-offset: 5px;

  /* Page transition defaults */
  --page-ms: 900ms;
  --page-ease: cubic-bezier(.22,.61,.36,1);
  --curtain-color: #000;
  --curtain-opacity: 0.12;
}

html {
  scroll-behavior: smooth;
}

/* ===================== PAGE TRANSITIONS ===================== */
body {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(10px);
  transition:
    opacity var(--page-ms) var(--page-ease),
    filter var(--page-ms) var(--page-ease),
    transform var(--page-ms) var(--page-ease);
}

body.page-ready {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

body.page-exit {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(10px);
}

.page-curtain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: var(--curtain-color);
  opacity: 0;
  transition: opacity calc(var(--page-ms) * .8) var(--page-ease);
  z-index: 9999;
}
.page-curtain.on {
  opacity: var(--curtain-opacity);
}

@media (prefers-reduced-motion: reduce) {
  body {
    transition: none;
    filter: none;
    transform: none;
  }
  .page-curtain {
    transition: none;
  }
}

/* ===================== RESET ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

/* ===================== BODY BASE ===================== */
body {
  font-family: "Syne", sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  letter-spacing: 0.02em;
}

:root {
  color-scheme: only light;
}

/* ===================== HEADER / NAVBAR ===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 65px;
  align-items: center;
  padding: 0 clamp(10px, 4vw, 28px);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  z-index: 20;

  opacity: 0;
  transform: translateY(-14px);
  transition:
    opacity 0.8s var(--page-ease),
    transform 0.8s var(--page-ease);
}

body.page-ready .header {
  opacity: 1;
  transform: translateY(0);
}

/* NAV GROUP */
.nav {
  display: flex;
  gap: clamp(18px, 4vw, 40px);

  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.6s var(--page-ease),
    transform 0.6s var(--page-ease);
}

/* ✅ When JS adds .nav-visible */
nav.nav-visible {
  opacity: 1;
  transform: translateY(0);
}

/* NAV LINKS */
.nav-link {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-family: "Syne", sans-serif;
  font-size: clamp(12px, 1.6vw, 16px);
  padding: 6px 4px;

  opacity: 0;
  transform: translateY(12px);
  transition:
    color 0.25s ease,
    transform 0.6s var(--page-ease),
    opacity 0.6s var(--page-ease);
}

/* ✅ When nav is visible → animate links */
nav.nav-visible .nav-link {
  opacity: 1;
  transform: translateY(0);
}

/* ✅ Stagger timing */
nav.nav-visible .nav-link:nth-child(1) { transition-delay: 0.15s; }
nav.nav-visible .nav-link:nth-child(2) { transition-delay: 0.25s; }
nav.nav-visible .nav-link:nth-child(3) { transition-delay: 0.35s; }
nav.nav-visible .nav-link:nth-child(4) { transition-delay: 0.45s; }

/* Hover effect */
.nav-link:hover {
  color: var(--ink);
  transform: translateY(-3px);
}

/* Underline glow */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #ffffffc9, #858585, #ffffff00);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 60%;
}

@media (max-width: 600px) {
  .header { height: 60px; }
  .nav { gap: 18px; }
  .nav-link { font-size: 13px; }
}

/* ================================================================ */
/* ================== HERO SECTION – NEW BLACK VOID =============== */
/* ================================================================ */

.black-void {
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 140px 20px 120px;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  width: 100%;
}

/* MOON IMAGE */
.moon-visual {
  width: 55vh;
  max-width: 420px;
  min-width: 180px;
  height: auto;
  border-radius: 50%;
  margin-bottom: -2vh; 
  z-index: 1;
  opacity: 0;
  transition: opacity 3s ease;
}

.moon-visual-visible {
  opacity: 1;
}

/* TEXT */
.moon-text {
  width: 60%;
  max-width: 400px;
  height: auto;
  margin-bottom: 1.5vh;
  z-index: 2;
}

.slogan-text {
  width: 80%;
  max-width: 500px;
  height: auto;
  opacity: 0.8;
  z-index: 1;
}

.fly-in {
  opacity: 0;
  will-change: transform, opacity, filter;
}

.fly-in-active {
  animation: fromBehindCamera 4s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes fromBehindCamera {
  0% {
    opacity: 0;
    transform: scale(20);
    filter: blur(40px);
  }
  10% { opacity: 1; }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
  }
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .moon-text { width: 70%; }
  .slogan-text { width: 90%; }
  .black-void { padding: 120px 16px 90px; }
}

@media (max-width: 600px) {
  .moon-visual {
    width: 90vw;
    margin-bottom: -5px;
    max-width: 340px;
    min-width: 200px;
    margin-bottom: -3vh;
  }
  .moon-text { width: 75vw; }
  .slogan-text { width: 85vw; }
}

/* ==== OVERRIDE: Reduce gap between moon image & logo ==== */
.moon-visual {
  margin-bottom: -2vh !important;
}

/* Mobile override */
@media (max-width: 600px) {
  .moon-visual {
    margin-bottom: -1vh !important;
  }
}




/* ==================== END HERO / HEADER BLOCK ==================== */




































/* ======================= SERVICES SECTION (PREMIUM UPGRADE) ======================= */

:root {
  --services-head-shift: 10px;
  --services-gap-after-head: 8px;

  /* PURE IMAGE — no overlay, no blur */
  --services-bg: url("/IMAGE/service bg.jpeg");
  --services-bg-size: cover;
  --services-bg-pos: center;
  --services-bg-opacity: 1;
  --services-bg-blur: 0px;
}

.services {
  padding: clamp(60px, 10vh, 200px) 6vw 0;
  color: #fff; 
  position: relative;
  isolation: isolate;
}

/* Background Setup */
.services::before { display: none; }
.services::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.8)), 
    var(--services-bg);
  background-size: var(--services-bg-size);
  background-position: var(--services-bg-pos);
  background-repeat: no-repeat;
  opacity: var(--services-bg-opacity);
  filter: blur(var(--services-bg-blur));
  transform: translateZ(0);
}

/* Heading */
.services__head {
  text-align: center;
  margin: 0 0 var(--services-gap-after-head);
  transform: translateY(var(--services-head-shift));
  z-index: 10;
  position: relative;
}
.services__head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em; 
  background: linear-gradient(to bottom, #fff 40%, #aaa); 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.services__head p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* Deck Container */
.services__deck {
  position: relative;
  max-width: min(1200px, 86vw);
  margin: 120px auto 20px;
  height: clamp(420px, 46vw, 560px);
  perspective: 1800px; 
}

/* ================= THE PREMIUM "LIQUID GLASS" CARD ================= */
.service-card {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, 88%);
  border-radius: 24px;
  overflow: hidden;

  /* Liquid Glass Background */
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.08) 0%,   
    rgba(255, 255, 255, 0.01) 50%,  
    rgba(255, 255, 255, 0.04) 100%  
  );
  background-color: rgba(5, 5, 5, 0.4); 

  /* Wet Surface Effect */
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);

  /* Borders */
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);

  /* Depth Shadows */
  box-shadow: 
    0 20px 50px -10px rgba(0, 0, 0, 0.5),   
    inset 0 0 0 1px rgba(255, 255, 255, 0.05), 
    inset 0 20px 40px rgba(0, 0, 0, 0.4);      

  transition: transform 900ms cubic-bezier(.16,.84,.44,1),
              opacity 900ms ease,
              filter 900ms ease,
              box-shadow 900ms ease;
}

/* Inner Sheen */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    80% 50% at 50% -20%, 
    rgba(255, 255, 255, 0.15), 
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}
.service-card::after { display: none; }

/* Card Typography */
.card__title {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 28px 16px 8px;
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.card__sub {
  position: relative;
  z-index: 2;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  padding: 0 18px 24px;
  font-size: clamp(13px, 1.3vw, 16px);
  letter-spacing: 0.5px;
}

/* Media Container */
.card__media {
  position: relative;
  z-index: 2;
  margin: 0 auto 30px;
  border-radius: 16px;
  overflow: hidden;
  width: 92%;
  aspect-ratio: 16/9;
  background: #000;
  box-shadow: 
    inset 0 2px 6px rgba(0,0,0,0.8),
    0 20px 40px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.05);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.service-card:hover .card__media img {
  transform: scale(1.03);
}

/* --- STACKING LOGIC --- */
.is-front {
  z-index: 3;
  transform: translate(-50%, -10px) scale(1);
  opacity: 1;
  filter: drop-shadow(0 30px 30px rgba(0,0,0,0.6));
}
.is-mid {
  z-index: 2;
  transform: translate(-50%, -70px) scale(0.92);
  opacity: 0.6;
  filter: blur(2px) grayscale(40%);
  pointer-events: none;
}
.is-back {
  z-index: 1;
  transform: translate(-50%, -120px) scale(0.85);
  opacity: 0.3;
  filter: blur(8px) grayscale(80%);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .service-card { transform: translateX(-50%) scale(0.85); }
  .is-front { transform: translate(-50%, -10px) scale(0.85); }
  .is-mid   { transform: translate(-50%, -70px) scale(0.80); }
  .is-back  { transform: translate(-50%, -125px) scale(0.75); }
}

@media (max-width: 640px) {
  .services__deck { height: 420px; max-width: 100%; padding: 0 10px; }
  .service-card { width: calc(100% - 20px); }
  .services__head { transform: translateY(-20px); }
}


/* ================= PREMIUM CONTROL BUTTONS ================= */
.services-controls {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: min(1200px, 86vw);
  margin: 40px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Base Button Style */
.svc-btn,
.svc-play {
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  border-radius: 100px;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden; 
}

/* --- PLAY BUTTON SPECIFICS --- */
.svc-play {
  width: 56px;
  height: 56px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Image Sizing within Button */
.svc-play img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  pointer-events: none;
  display: block;
}

/* --- TOGGLE LOGIC (SHOW/HIDE IMAGES) --- */
/* Default: Show Play, Hide Pause */
.svc-play .icon-play { display: block; }
.svc-play .icon-pause { display: none; }

/* Playing State: Hide Play, Show Pause */
.svc-play.playing .icon-play { display: none; }
.svc-play.playing .icon-pause { display: block; }

/* --- HOVER STATES --- */
.svc-btn:hover,
.svc-btn.active,
.svc-play:hover {
  color: #000; 
  border-color: transparent;
  transform: translateY(-2px) scale(1.02);
  background: #fff;
  box-shadow: 
    0 0 20px rgba(255, 255, 255, 0.4),
    0 10px 30px rgba(0, 0, 0, 0.3);
}
.svc-btn.active {
  background: #fff;
  color: #000;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}
.svc-btn:active, .svc-play:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
  opacity: 0.9;
}

/* Mobile */
@media (max-width: 640px) {
  .services-controls { margin-top: 0px !important; gap: 10px; }
  .svc-btn { padding: 10px 20px; font-size: 12px; }
  .svc-play { width: 46px; height: 46px; }
}
@media (max-width: 380px) {
  .services-controls { margin-top: -20px !important; }
}



/* ================= CONTROL BUTTONS CONTAINER ================= */
.services-controls {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: min(1200px, 86vw);
  
  /* INCREASED GAP HERE */
  margin: 70px auto 0;  /* Changed from 40px to 70px (Gap between Deck and Buttons) */
  
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* INCREASED BUTTON SPACING HERE */
  gap: 30px;            /* Changed from 16px to 30px (Gap between individual buttons) */
  
  flex-wrap: wrap;
}

/* Responsive adjustment to keep the gap looking good on mobile */
@media (max-width: 640px) {
  .services-controls { 
    margin-top: 40px !important; 
    gap: 15px; 
  }
}


/* ================= MOBILE FIX (Aggressive Gap Reduction) ================= */

@media (max-width: 640px) {
  
  /* 1. Reduce the Card Deck height/margin slightly */
  .services__deck {
    margin-bottom: 0px !important;
    height: 380px !important; /* Force deck to be a bit shorter on phone */
  }

  .services-controls {
    /* 2. Pull the buttons UP using Negative Margin */
    /* Change -50px to -70px if you need it even closer */
    margin-top: -60px !important; 
    
    /* 3. Ensure buttons sit ON TOP of the cards if they touch */
    position: relative;
    z-index: 20; 
    
    /* Tighter gap between buttons */
    gap: 10px;
  }
  
  /* Optional: Make buttons slightly smaller on mobile to fit better */
  .svc-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
}

.services {
  /* Top padding is dynamic, Right/Left is 6vw, Bottom is 0 */
  padding: clamp(60px, 10vh, 200px) 6vw 0;
  
  color: #fff;
  position: relative;
  isolation: isolate;

  /* ✅ ADDED: 100px space after this section */
  margin-bottom: 300px;
}



















































/* ===================== WORKFLOW (Glow Rail + Numbered Steps) ===================== */
.wfline{
  --ink:#e8e8e8;
  --muted:#cfcfcf;
  --glass: rgba(12,12,12,.55);

  --gap: clamp(28px, 4vw, 52px);
  --cardW: 720px;
  --topGap: clamp(120px, 14vh, 180px);

  color: var(--ink);
  background:#000;
  margin-top: 350px; /* gap below Services */
}

/* Scroll shell */
.wfline__scroll{ position:relative; height: 540vh; }
.wfline__stage{
  position: sticky; top:0; height:100vh;
  max-width:min(1200px, 92vw);
  margin:0 auto;
  z-index:0;
}

/* Head (no animation) */
.wfline__head{ text-align:center; opacity:1; margin-bottom:30px; position: relative; z-index: 5; }
.wfline__head h2{ font-weight:600; font-size:clamp(28px,4vw,52px); line-height:1.05; margin:0 0 8px; }
.wfline__head p{ color:var(--muted); font-weight:300; margin:0; }

/* === Rail (invisible) ===================================== */
.wfline__rail{
  position:absolute;
  top: calc(var(--topGap) + 84px);
  bottom: 14vh;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: transparent;          /* 👈 keep rail hidden */
  border-radius: 999px;
  z-index: 1;
  overflow: visible;                 /* allow end fades to extend */
}


/* === Progress that "draws" the rail ======================= */
.wfline__progress{
  position:absolute; left:0; top:0;
  width:100%; height:0%;             /* JS grows this 0 → 100% */
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.95) 0%,
    rgb(255, 255, 255) 60%,
    rgb(255, 255, 255) 100%
  );
  box-shadow:
    0 0 12px rgba(255,255,255,.60),
    0 0 28px rgb(255, 255, 255);   /* slightly softer outer glow */
  border-radius: 999px;
  z-index: 1;
  will-change: height;
}

/* === Black fades at both ends so the line blends to bg ==== */
.wfline__rail::before,
.wfline__rail::after{
  content:"";
  position:absolute;
  left:-14px; right:-14px;           /* extend past the glow so cut is hidden */
  height:86px;                        /* fade length */
  pointer-events:none;
  z-index: 2;                         /* above progress, below nodes/cards */
}

/* Top fade: black → transparent downward */
.wfline__rail::before{
  top:-1px;
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.534) 100%);
  filter: blur(2px);                  /* extra softness */
}

/* Bottom fade: transparent → black upward */
.wfline__rail::after{
  bottom:-1px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.404) 0%, #000 100%);
  filter: blur(2px);
}


/* Steps area */
.wfline__steps{
  position:absolute; top:calc(var(--topGap) + 76px); bottom:12vh; left:0; right:0;
  list-style:none; margin:0; padding:0; z-index:2;
}
.wfline-step{ position:absolute; left:0; right:0; }

/* ===== Number markers (WHITE / BLACK) ===== */
.wfline-step__node{
  position:absolute; left:50%; top:0; transform:translate(-50%,-50%) scale(.80);
  width:20px; height:20px; border-radius:999px; display:grid; place-items:center;
  opacity:0; transition: opacity .28s ease, transform .34s cubic-bezier(.22,.61,.36,1), box-shadow .28s ease;
  z-index:3;

  color:#0b0b0b; font-weight:800; font-size:14px; letter-spacing:.2px; text-shadow:0 0 1px rgba(0,0,0,.25);
  background:
    radial-gradient(120% 120% at 30% 25%, rgba(255,255,255,1) 0%, rgba(240,240,240,1) 60%, rgba(230,230,230,1) 100%),
    rgba(255,255,255,.9);                             /* glossy white puck */
  border:1px solid rgba(0,0,0,.12);
  box-shadow:none;
  mix-blend-mode:normal;
}
.wfline-step__node span{ position:relative; z-index:2; }

/* mask ring so rail never cuts the circle */
.wfline-step__node::before{
  content:""; position:absolute; inset:-4px; border-radius:inherit;
  background:#000; z-index:-1; filter:blur(2px); opacity:.95;
}

/* active state – crisp WHITE glow only */
.wfline-step.is-active .wfline-step__node{
  opacity:1;
  transform: translate(-50%, -50%) scale(1.02);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.65),
    0 0 10px rgba(255,255,255,.85),
    0 0 26px rgba(255,255,255,.45),
    0 0 60px rgba(255,255,255,.28);
}
.wfline-step__node::after{
  content:""; position:absolute; inset:-12px; border-radius:inherit;
  background: radial-gradient(70% 70% at 50% 50%, rgba(255,255,255,.35) 0%, rgba(255,255,255,.18) 45%, rgba(255,255,255,0) 90%);
  opacity:0; transition:opacity .25s ease, transform .3s ease;
}
.wfline-step.is-active .wfline-step__node::after{ opacity:1; transform:scale(1.06); }

/* remove connector arms */
.wfline-step__arm{ display:none !important; }

/* ===== Cards (glass) ===== */
.wfline-card{
  position:absolute; top:calc(-36px - 12px);
  max-width:min(var(--cardW), calc(50% - 2*var(--gap)));
  padding:18px 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02)),
    var(--glass);
  border:1px solid rgba(255,255,255,.18);
  border-radius:18px;
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 26px 60px rgba(0,0,0,.55);
  opacity:0; transform: translateY(8px);
  transition: opacity .32s ease .04s, transform .42s cubic-bezier(.22,.61,.36,1) .04s;
}
.wfline-card--left{  right:calc(50% + var(--gap)); transform:translate(-12px,8px); }
.wfline-card--right{ left: calc(50% + var(--gap)); transform:translate( 12px,8px); }
.wfline-step.is-active .wfline-card{ opacity:1; transform:translate(0,0); }

.wfline-card__chip{
  display:inline-block; margin:0 0 8px; padding:8px 16px; border-radius:14px;
  background: linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.04)), rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 0 30px rgba(255,255,255,.25);
  font-weight:750; font-size:clamp(14px,1.2vw,18px);
}
.wfline-card p{ margin:0; color:#eaeaea; line-height:1.55; }

/* fade handoff */
.wfline__fade{
  position: sticky; bottom:0; height:100vh; margin-top:-100vh;
  background:#000; opacity:0; pointer-events:none; transition:opacity .25s linear;
}

/* Responsiveness */
@media (max-width:980px){
  .wfline{ --gap: clamp(18px, 3.5vw, 28px); --cardW: 680px; --topGap: clamp(120px, 16vh, 190px); }
  .wfline-card{ max-width:min(var(--cardW), calc(50% - 2*var(--gap))); }
  .wfline__rail{ top:calc(var(--topGap) + 70px); }
}
@media (max-width:760px){
  .wfline__rail{ left:26px; transform:none; width:2px; }
  .wfline-step__node{ left:26px; transform:translate(-50%,-50%); }
  .wfline-card{ left:70px; right:10px; max-width:none; transform:translate(8px,8px); }
  .wfline-card--left, .wfline-card--right{ left:70px; right:10px; }
  .wfline-step.is-active .wfline-card{ transform:translate(0,0); }
  .wfline-card__chip{ font-size:14px; }
  .wfline-card p{ font-size:14px; line-height:1.6; }
}


/* ===== ACTIVE MARKER STYLE: white center, black ring, thin white rim ===== */
.wfline-step__node { --ring: 5px; }
.wfline-step.is-active .wfline-step__node{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.02);
  background: #fff;                 /* solid white center */
  color: #0b0b0b;                   /* black number */
  box-shadow:
    inset 0 0 0 var(--ring) #000,                             /* black ring */
    0 0 0 calc(var(--ring) + 2px) #fff,                        /* thin white rim */
    0 0 12px rgba(255,255,255,.75),
    0 0 30px rgba(255,255,255,.35),
    0 0 60px rgba(255,255,255,.22);
}
.wfline-step__node::after{
  content:""; position:absolute; inset:-14px; border-radius:inherit;
  background: radial-gradient(70% 70% at 50% 50%,
              rgb(255, 255, 255) 0%,
              rgb(255, 255, 255) 35%,
              rgb(255, 255, 255) 90%);
  opacity: 0; transition: opacity .25s ease, transform .30s ease;
}
.wfline-step.is-active .wfline-step__node::after{
  opacity: 1; transform: scale(1.06);
}

/* 📱 Phone & small tablets */
@media (max-width: 820px){
  .wfline{
    margin-top: 180px;                 /* was 350px */
    --topGap: clamp(90px, 14vh, 140px);
  }
}
@media (max-width: 640px){
  .wfline{
    margin-top: 110px;                 /* tighter above the section */
    --topGap: clamp(70px, 12vh, 120px);
  }
  .wfline__head{
    transform: translateY(-12px);      /* pull heading a little closer */
  }
}

/* ======================================================================
   👇 NEW SCROLL HINT STYLES (Arrow + Text Animation) 👇
   ====================================================================== */

.scroll-down-hint {
  margin-top: 30px; /* Space below the paragraph */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0; /* Hidden by default, shown by JS */
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none; 
}

.hint-text {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.hint-arrow {
  font-size: 22px;
  color: #fff;
  /* Bouncing Animation */
  animation: bobbing 1.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* Animation Keyframes */
@keyframes bobbing {
  0% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.5; }
}

/* Active States (Toggled by JS) */
.scroll-down-hint.is-visible {
  opacity: 1;
}

.scroll-down-hint.is-hidden {
  opacity: 0 !important;
  transform: translateY(20px) !important; /* Drop down as it fades out */
}



































/* ===================== PROJECTS – PREMIUM LIQUID GLASS THEME ===================== */

:root {
  /* Global Variables for the Glass Feel */
  --glass-surface: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01) 50%, rgba(255, 255, 255, 0.04));
  --glass-border: 1px solid rgba(255, 255, 255, 0.12);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  --glass-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.projects-wrap {
  position: relative;
  padding: clamp(56px, 7vw, 96px) 16px;
  
  /* Dark backdrop to make glass pop */
  background-color: transparent;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* Content sits above the decorative image */
.projects-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }

/* Bottom Decorative Image (Kept your logic) */
.projects-wrap::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: min(60vh, 600px);
  background: url("/IMAGE/service bg.jpeg") center bottom / cover no-repeat;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  /* Smooth fade out so it blends into the dark page */
  mask-image: linear-gradient(to top, black 20%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 20%, transparent 100%);
  mix-blend-mode: luminosity; /* Makes the bg image look cinematic */
}

/* Typography */
.projects-title {
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.02em; /* Tighter, modern spacing */
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  /* Text Gradient for Metallic look */
  background: linear-gradient(to bottom, #fff 30%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.projects-tagline {
  text-align: center;
  margin: 20px auto 100px;
  max-width: 900px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  font-weight: 300;
}

/* ===================== CARD STACK ===================== */
.projects-cards {
  position: relative;
  width: min(1040px, 94vw);
  aspect-ratio: 16 / 9.6;
  margin: 0 auto;
  perspective: 1500px; /* Increased perspective for deeper 3D */
}

/* === THE PREMIUM CARD === */
.p-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  justify-items: center;
  gap: clamp(8px, 1.2vw, 12px);

  padding: clamp(20px, 2.5vw, 30px);
  border-radius: 32px; /* Smooth liquid corners */
  
  /* Liquid Glass Effect */
  background: var(--glass-surface);
  background-color: rgba(10, 10, 10, 0.4); /* Dark tint */
  border: var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
  
  /* The Magic Blur */
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);

  transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1), /* Elegant easing */
              opacity 0.9s ease,
              filter 0.9s ease;
  will-change: transform, opacity, filter;
}

/* Top Sheen (Gloss) */
.p-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(80% 50% at 50% 0%, rgba(255,255,255,0.15), transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Text Styles inside Card */
.p-card-head {
  position: relative; z-index: 2;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.p-card-sub {
  position: relative; z-index: 2;
  max-width: 85%;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(0.85rem, 1.25vw, 1.05rem);
  line-height: 1.5;
}

/* Image Box (The Screen) */
.p-imgbox {
  position: relative; z-index: 2;
  width: min(90%, 920px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  display: grid; place-items: center;
  
  /* Cut-out effect + Shadow */
  box-shadow: 
    inset 0 0 0 1px rgba(255,255,255,0.1), 
    0 20px 50px rgba(0,0,0,0.6);
    
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.p-imgbox img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}

/* Hover Interaction on the Image */
.p-imgbox:hover {
  transform: scale(1.02);
}
.p-imgbox:hover img {
  transform: scale(1.05);
}

/* ===================== POSITIONS & LOGIC ===================== */
/* FRONT: Clear, bright, focused */
.p-card[data-role="front"] {
  z-index: 10;
  opacity: 1;
  filter: drop-shadow(0 50px 50px rgba(0,0,0,0.8));
  transform: translateX(0) scale(1);
}

/* SIDES: Darker, blurrier, pushed back */
.p-card[data-role="right"] {
  z-index: 5;
  opacity: 0.6;
  /* Cinematic depth of field effect */
  filter: blur(2px) grayscale(0.4) brightness(0.6);
  transform: translateX(45%) scale(0.85) rotateY(-15deg); /* More dramatic rotation */
}

.p-card[data-role="left"] {
  z-index: 5;
  opacity: 0.6;
  filter: blur(2px) grayscale(0.4) brightness(0.6);
  transform: translateX(-45%) scale(0.85) rotateY(15deg);
}

/* ===================== RESPONSIVE (Kept your logic intact) ===================== */
/* Extra small (≤430px) */
@media (max-width: 430px){
  .projects-wrap{ padding: 52px 14px 68px; }
  .projects-title{ margin-top: 50px; }
  .projects-tagline{ margin: 15px auto 60px; }
  
  .projects-cards{ width: 100%; max-width: 420px; aspect-ratio: 16 / 11; perspective: 800px; }
  
  .p-card{ border-radius: 22px; padding: 16px; }
  .p-card-sub{ max-width: 95%; }
  
  /* Adjusted transforms for mobile to prevent overflow */
  .p-card[data-role="right"]{ transform: translateX(15%) scale(0.9) rotateY(-5deg); opacity: 0.4; }
  .p-card[data-role="left"]{  transform: translateX(-15%) scale(0.9) rotateY(5deg);  opacity: 0.4; }
}

/* Very small (≤380px) */
@media (max-width: 380px){
  .projects-cards{ aspect-ratio: 16 / 13; }
  .p-card[data-role="right"]{ transform: translateX(12%) scale(0.88); }
  .p-card[data-role="left"]{  transform: translateX(-12%) scale(0.88); }
}

/* Large phones (390–480px) */
@media (min-width: 390px) and (max-width: 480px){
  .projects-cards{ aspect-ratio: 16 / 12.8; }
  .p-card[data-role="right"]{ transform: translateX(18%) scale(0.9); }
  .p-card[data-role="left"]{  transform: translateX(-18%) scale(0.9); }
}

/* Small tablets (600–820px) */
@media (min-width: 600px) and (max-width: 820px){
  .projects-cards{ aspect-ratio: 16 / 13.6; width: min(700px, 94vw); }
  .p-card[data-role="right"]{ transform: translateX(30%) scale(0.9); }
  .p-card[data-role="left"]{  transform: translateX(-30%) scale(0.9); }
}

/* Tablets landscape (821–1024px) */
@media (min-width: 821px) and (max-width: 1024px){
  .projects-cards{ aspect-ratio: 16 / 12.2; width: min(860px, 94vw); }
  .p-card[data-role="right"]{ transform: translateX(35%) scale(0.9); }
  .p-card[data-role="left"]{  transform: translateX(-35%) scale(0.9); }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse){
  .p-imgbox:hover{ transform: none; }
}

/* Fallback */
@supports not (aspect-ratio: 1 / 1){
  .projects-cards{ height: 62vw; max-height: 520px; }
}

/* Small screen spacer */
@media (max-width: 480px){
  .projects-wrap::before{ content:""; display:block; height:100px; }
  .projects-tagline{ margin-top: 30px; }
}

/* Desktop scale down */
@media (min-width: 1281px){
  .projects-inner{ transform: scale(0.75); transform-origin: top center; }
  .projects-title{ margin-top: 150px; }
  .projects-tagline{ margin-top: 20px; margin-bottom: 96px; }
}


























/* ===== About (black theme) ===== */
/* ===== About (pure black theme) ===== */
/* ===== About (black theme) ===== */
.about{
  background:#000;
  color:#e9e9e9;
  padding: clamp(80px, 10vw, 140px) 16px  clamp(60px, 8vw, 110px);
  text-align: center;
}

/* Better spacing wrapper */
.about__inner{
  max-width: 1280px;  /* extended limit */
  margin: 0 auto;
}

.about__title{
  margin: 0 0 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  font-size: clamp(32px, 5vw, 60px);
}

.about__tag{
  max-width: 860px;
  margin: 0 auto clamp(50px, 8vw, 70px);
  color: #c9c9c9;
  line-height: 1.65;
  font-size: clamp(15px, 2vw, 20px);
}

/* Bigger Image + Responsive */
.about__img{
  width: min(95vw, 900px); /* 🔥 much bigger */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px; /* remove if you want it 100% sharp */
}

/* Prevents browser’s forced dark-theme changes */
:root{ color-scheme: only light; }


@media (min-width: 1600px){
  .about__img{
    width: min(85vw, 1100px);
  }
}


/* ===== About Extra Paragraph (simple, same as tag) ===== */
.about__para {
  max-width: 860px;
  margin: clamp(40px, 6vw, 70px) auto 0;
  color: #c9c9c9;
  line-height: 1.65;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
}


/* ===== About Section - View More Button ===== */
.about__viewmore {
  display: inline-block;
  margin-top: clamp(25px, 5vw, 55px); /* responsive top space */
  padding: 10px 28px;
  border: 1px solid #e9e9e9;
  border-radius: 30px;
  color: #e9e9e9;
  font-size: clamp(14px, 2vw, 17px);
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about__viewmore:hover {
  background: #e9e9e9;
  color: #000;
  transform: scale(1.04);
}



/* ===================== Responsive spacing above About section ===================== */

/* 🖥️ Desktop: keep your current spacing */
@media (min-width: 1025px) {
  .about {
    margin-top: 0; /* or whatever default you already have */
  }
}

/* 💻 Tablets (iPads, small laptops) */
@media (min-width: 600px) and (max-width: 1024px) {
  .about {
    margin-top: 120px; /* adds breathing room between Projects & About */
  }
}

/* 📱 Phones (Galaxy S24 Ultra, iPhone SE, etc.) */
@media (max-width: 599px) {
  .about {
    margin-top: 160px; /* more visible gap for small screens */
  }
}



























/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }

/* ===================== TEAM SECTION STYLES ===================== */
.team {
  position: relative;
  background: #000;
  color: #e9e9e9;
  padding: clamp(70px, 9vw, 120px) 16px clamp(60px, 8vw, 110px);
  text-align: center;
  
  /* Background Image Setup */
  background-image: url("/IMAGE/teambg.jpeg");
  background-size: 120%;
  background-position: center 20%;
  background-repeat: no-repeat;
  overflow: hidden;
}

.team__head h2 {
  margin: 0 0 clamp(10px, 2vw, 20px);
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 44px);
  color: #fff;
}
.team__tag {
  color: #aaa;
  margin-bottom: 40px;
  font-size: clamp(14px, 1.5vw, 16px);
}

/* --- VIEWPORT & TRACK (Carousel Logic) --- */
.team__viewport {
  position: relative;
  height: clamp(360px, 70vh, 680px);
  max-width: 1200px;
  margin: 0 auto;
  cursor: grab;
  touch-action: pan-y; 
  user-select: none;
  perspective: 1000px;
  
  /* CSS Variables for Logic */
  --step: 320px;
  --scale-1: .94;
  --scale-2: .86;
  --fade-1: .85;
  --fade-2: .45;
}
.team__viewport:active { cursor: grabbing; }

.team__track {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
}

/* --- THE CARD (Glass & Layout) --- */
.team__card {
  position: absolute;
  top: 50%; left: 50%;
  height: calc(100% - clamp(20px, 4vh, 48px));
  aspect-ratio: 3 / 4;
  max-width: min(92vw, 560px);
  
  transition: opacity 0.5s ease; 
  will-change: transform, opacity;
  
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  background: #000; 
}

.team__card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) brightness(0.9);
  pointer-events: none; 
}

/* Glass Sheen Overlay */
.team__card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(0,0,0,.1) 60%, rgba(0,0,0,.6));
  pointer-events: none;
  border-radius: inherit;
}

/* The Link Wrapper */
.team__link {
  display: block; width: 100%; height: 100%; cursor: pointer;
}

/* Responsive adjustments for Carousel */
@media (max-width: 900px) { .team__viewport { --step: 26vw; } }

/* ===================== MOBILE CARD FIX (30% Taller) ===================== */
@media (max-width: 768px) {
  .team__viewport { 
    height: clamp(400px, 75vh, 650px); 
    --step: 180px; 
  }
  .team__card { 
    width: clamp(230px, 65vw, 450px);
    height: clamp(340px, 65vh, 520px); 
    aspect-ratio: auto; 
    border-radius: 24px; /* More rounded on mobile */
  }
}

@media (max-width: 380px) {
  .team__viewport { height: 420px; --step: 150px; }
  .team__card { width: 70vw; height: 350px; }
}


/* ===================== PREMIUM META SECTION (Name, Role, Button) ===================== */

.team__meta {
    margin-top: 35px;
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 600px; /* Limit width for better alignment */
    margin-left: auto;
    margin-right: auto;
}

/* 1. THE NAME (Metallic, Sharp, Compact) */
#memberName {
    font-size: clamp(1.3rem, 2vw, 2rem); 
    font-weight: 700;
    margin: 0 0 6px 0;
    letter-spacing: -0.01em; 
    
    /* Premium Silver/White Gradient */
    background: linear-gradient(180deg, #ffffff 40%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}

/* 2. THE ROLE (Micro-Typography) */
#memberRole {
    font-size: 0.75rem; 
    color: rgba(255, 255, 255, 0.5); 
    text-transform: uppercase;
    letter-spacing: 4px; 
    font-weight: 500;
    margin: 0 0 28px 0;
}

/* 3. THE BUTTON (Sleek Pill) */
.team__viewmore {
    display: inline-block;
    padding: 10px 34px; 
    font-size: 0.8rem;  
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    
    /* Glass Base */
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.team__viewmore:hover {
    background: #fff; color: #000; border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}
.team__viewmore:active { transform: scale(0.96); opacity: 0.8; }


/* ===================== MOBILE LAYOUT (Left Name, Right Role, Center Button) ===================== */
@media (max-width: 768px) {
    
    .team__meta {
        margin-top: 25px; 
        /* Switch to Grid for precision alignment */
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two equal columns */
        align-items: center;
        padding: 0 20px; /* Safety padding on sides */
    }

    /* Name: Left Aligned */
    #memberName {
        font-size: 1.25rem; 
        margin-bottom: 0;
        justify-self: start;
        text-align: left;
    }

    /* Role: Right Aligned */
    #memberRole {
        font-size: 0.65rem; 
        letter-spacing: 2px;
        margin-bottom: 0; /* Remove bottom margin */
        justify-self: end;
        text-align: right;
    }

    /* Button: Spans full width, centered below */
    .team__viewmore {
        grid-column: 1 / -1; /* Span both columns */
        margin-top: 20px;
        justify-self: center;
        
        padding: 9px 28px;
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}


/* ===================== MOBILE LAYOUT (Stacked: Name -> Role -> Button) ===================== */
@media (max-width: 768px) {
    
    .team__meta {
        margin-top: 25px; 
        /* Stack elements vertically */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0 15px; /* Prevent touching edges */
    }

    /* 1. Name: Top & Centered */
    #memberName {
        font-size: 1.6rem; /* Good readable size */
        margin-bottom: 6px; /* Small gap before role */
        text-align: center;
        width: 100%;
    }

    /* 2. Role: Below Name & Centered */
    #memberRole {
        font-size: 0.75rem; 
        letter-spacing: 3px; /* Premium wide spacing */
        margin-bottom: 25px; /* Gap before button */
        text-align: center;
        width: 100%;
        color: rgba(255, 255, 255, 0.6);
    }

    /* 3. Button: Bottom & Centered */
    .team__viewmore {
        margin-top: 0; /* Spacing handled by role margin */
        padding: 12px 40px;
        font-size: 0.85rem;
        letter-spacing: 1px;
        width: auto; /* Let it fit content */
    }
}









































/* ===== Cinematic Testimonials (Moon vibe, no cards) ===== */
.qt{
  background:#000;
  color:#e9e9e9;
  padding: clamp(70px, 9vw, 120px) 16px clamp(70px, 9vw, 120px);
  text-align:center;
}

.qt__head h2{
  margin:0 0 8px;
  font-weight:600;
  letter-spacing:.02em;
  font-size: clamp(28px, 4.2vw, 44px);
  opacity:.95;
}
.qt__tag{
  color:#c9c9c9;
  font-size: clamp(15px, 2vw, 20px);
  line-height:1.65;
  max-width: 900px;
  margin: 0 auto clamp(26px, 4.5vw, 50px);
  letter-spacing:.02em;
  opacity:.9;
}

/* Stage (fixed clipping bug + centering) */
.qt__stage{
  position:relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(12px, 3vw, 20px) clamp(8px, 2vw, 12px) 0;
  overflow:hidden;
  min-height: clamp(300px, 40vh, 420px); /* keeps room for quote */
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Slides */
.qt__slide{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;            /* vertical center */
  text-align:center;
  gap: clamp(18px, 3vw, 26px);
  opacity:0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
  pointer-events:none;
}
.qt__slide.is-active{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}

/* Quote */
.qt__quote {
  margin: 0;
  max-width: 980px;
  font-size: clamp(14px, 1.2vw, 22px);  /* smaller font overall */
  line-height: 1.4;                     /* tighter spacing for balance */
  letter-spacing: 0.01em;
  color: #f3f3f3;
  font-weight: 400;
}

/* Byline */
.qt__byline{
  display:flex;
  align-items:center;
  gap: 12px;
  font-size: clamp(13px, 2vw, 16px);
  color:#cfcfcf;
}
.qt__avatar{
  width: clamp(34px, 8vw, 48px);
  height: clamp(34px, 8vw, 48px);
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.25);
}
.qt__name{ color:#fff; font-weight:600; }
.qt__dot{ opacity:.55; }
.qt__role{ color:#c9c9c9; }



/* Dots */
.qt__dots{
  display:flex; gap:10px; justify-content:center;
  margin-top: clamp(16px, 3.4vw, 26px);
}
.qt__dot{
  width: 8px; height: 8px; border-radius:50%;
  background: rgba(255,255,255,.35);
  transition: transform .25s, background .25s;
}
.qt__dot.is-active{
  background:#fff;
  transform: scale(1.35);
}

/* Tiny phones */
@media (max-width: 380px){
  .qt__quote{ font-size: clamp(18px, 5.2vw, 26px); line-height:1.45; }
}

/* Prevent browser dark inversion */
:root{ color-scheme: only light; }




/* === Testimonials BG (with size control per device) === */
.qt {
  position: relative;
  isolation: isolate;
  --qt-bg: url("/IMAGE/logo.png");
  --qt-bg-size: 80%;              /* 🖥️ Desktop: 20% smaller */
  --qt-bg-pos: center 20%;
  --qt-bg-opacity: 0.18;
  --qt-bg-blur: 0px;
}

/* Background layer */
.qt::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, var(--qt-bg-opacity)),
      rgba(0, 0, 0, var(--qt-bg-opacity))
    ),
    var(--qt-bg);
  background-size: var(--qt-bg-size);
  background-position: var(--qt-bg-pos);
  background-repeat: no-repeat;
  filter: blur(var(--qt-bg-blur));
  transform: translateZ(0);
}

/* Tablet and phone fix — return to normal scale */
@media (max-width: 1024px) {
  .qt::after {
    background-size: 100%;         /* 👈 normal size on tablet */
    background-position: center 28%;
  }
}
@media (max-width: 640px) {
  .qt::after {
    background-size: 110%;         /* 👈 slightly zoom-in on phones to keep it visible */
    background-position: center 34%;
  }
}


/* ===================== Responsive gap above Testimonials ===================== */

/* Tablets (portrait, iPads, etc.) */
@media (max-width: 1024px) {
  .qt {
    margin-top: 60px;   /* ✅ Adds visual separation from upper section */
  }
}

/* Phones (all models including iPhone SE, Galaxy S24, etc.) */
@media (max-width: 640px) {
  .qt {
    margin-top: 120px;   /* ✅ More gap on small screens for breathing space */
  }
}


/* --- Premium Review Style with Playfair Display --- */
.qt__quote {
  margin: 0 auto;
  max-width: 980px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 1.6vw, 38px);
  line-height: 1.45;
  color: #fdfdfd;
  font-weight: 400;
  letter-spacing: 0.015em;
  font-style: italic;        /* elegant touch */
  opacity: 0.95;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.qt__slide.is-active .qt__quote {
  transform: translateY(0);
  opacity: 1;
}

.qt__name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.03em;
}

/* ===== Phone sizing tweaks ===== */
@media (max-width: 640px) {
  .qt {
    padding: 56px 14px 70px;               /* slightly tighter on phones */
  }

  /* Smaller quote on phones */
  .qt__quote{
    font-size: clamp(16px, 4.4vw, 22px);   /* was 22–38px → now smaller */
    line-height: 1.42;
    letter-spacing: 0.01em;
  }

  /* Byline text + avatar smaller */
  .qt__byline{
    font-size: 12px;                       /* was clamp(13px,2vw,16px) */
    gap: 10px;
  }
  .qt__avatar{
    width: 32px;
    height: 32px;
  }

  /* Dots spacing tighter */
  .qt__dots{
    gap: 8px;
    margin-top: 14px;
  }
  .qt__dot{
    width: 7px;
    height: 7px;
  }
}

/* Extra small devices */
@media (max-width: 380px){
  .qt__quote{
    font-size: clamp(15px, 4.8vw, 20px);
    line-height: 1.4;
  }
  .qt__byline{
    font-size: 11px;
  }
  .qt__avatar{
    width: 28px;
    height: 28px;
  }
}




















/* ========================================================================= */
/* ========================= CONTACT US SECTION ====================== */
/* ========================================================================= */

.contact-us {
  background: url('/IMAGE/blackhole\ 2.jpeg') center center/cover no-repeat;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 200px;
}


.contact-window {
  background: rgba(255, 255, 255, 0.08); /* Light frosted glass look */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(10, 10, 10, 0.4);
  width: 90%;
  max-width: 1000px;
  overflow: hidden;
  color: #fff;
  margin-bottom: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}





.window-header {
  background-color: #6b6a6a2b;
  padding: 15px 20px;
  display: flex;
  gap: 10px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.dot {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  display: inline-block;
}

.red {
  background-color: #ff5f56;
}

.yellow {
  background-color: #ffbd2e;
}

.green {
  background-color: #27c93f;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  padding: 40px;
  gap: 40px;
}

.left-box {
  flex: 1;
  min-width: 280px;
}

.left-box h1 {
  font-size: 2.5rem;
  color: #ffffff;
  line-height: 1.2;
  font-weight: bold;
}



.contact-info {
  margin-top: 200px;
  font-size: 0.9rem;
  color: #ffffff;
  font-weight:  bold
}

.right-box {
  flex: 1;
  min-width: 280px;
}

.right-box form {
  display: flex;
  flex-direction: column;
}

.right-box input,
.right-box textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #666;
  padding: 10px;
  margin-bottom: 20px;
  color: #fff;
  font-size: 1rem;
  outline: none;
}

.right-box input::placeholder,
.right-box textarea::placeholder {
  color: #777;
  font-weight: 600;
}

.right-box textarea {
  resize: none;
  height: 80px;
}

.button-row {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

button {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}

.cancel {
  color: #ff1f78;
}

.send {
  color: #ffffff;
}

.cancel:hover,
.send:hover {
  opacity: 0.8;
}

/* 🌐 Responsive Design */
@media screen and (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    padding: 20px;
    gap: 60px;
  }

  .left-box h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .contact-info {
    margin-top: 60px;
    font-size: 0.85rem;
    text-align: center;
  }

  .right-box input,
  .right-box textarea {
    font-size: 0.95rem;
  }

  .button-row {
    justify-content: center;
  }

  .window-header {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .contact-us {
    padding: 60px 10px;
  }

  .contact-window {
    width: 100%;
    border-radius: 10px;
  }

  .left-box h1 {
    font-size: 1.5rem;
  }

  .contact-info {
    margin-top: 30px;
    font-size: 0.8rem;
  }
}



/* ===== Premium glass fields (override) ===== */
.right-box input,
.right-box textarea{
  appearance: none;
  background: rgba(255,255,255,.04);          /* soft glass */
  border: 1px solid rgba(255,255,255,.18);    /* subtle border */
  border-radius: 14px;                         /* rounded, not square */
  padding: 14px 16px;
  margin-bottom: 18px;
  color: #fff;
  font-size: 16px;
  outline: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 8px 24px rgba(0,0,0,.35);               /* soft outer shadow */
  transition:
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    transform .12s ease;
  /* remove the old underline look */
  border-bottom: none;
}

.right-box input::placeholder,
.right-box textarea::placeholder{
  color: rgba(255,255,255,.55);
  font-weight: 500;
  letter-spacing: .2px;
}

.right-box input:hover,
.right-box textarea:hover{
  border-color: rgba(255,255,255,.28);
}

.right-box input:focus,
.right-box textarea:focus{
  background: rgba(255,255,255,.07);
  border-color: rgba(255, 255, 255, 0.6);          /* pink accent focus */
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.16),            /* glow ring */
    0 12px 32px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.right-box textarea{
  min-height: 140px;                           /* taller message box */
  resize: vertical;                            /* allow vertical resize */
}

/* Optional: align mobile sizing a bit nicer */
@media (max-width: 480px){
  .right-box input,
  .right-box textarea{ font-size: 15px; padding: 12px 14px; }
}



































/* ========================================================================= */
/* ========================= FOOTER SECTION ====================== */
/* ========================================================================= */

.footer-section {
  position: relative;
  padding: 300px 50px 50px;
  background-color: black;
  color: white;
  overflow: hidden;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-group-left{
  display: flex;
  gap: 200px;
  z-index: 2;
}

.footer-group-right {
  display: flex;
  gap: 200px;
  z-index: 2;
}

.footer-col h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 8px 0;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  color: #ccc;
}

.footer-col ul li:hover {
  color: #ffffff;
  transform: scale(1.09);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}


/* Center background image */
.footer-image-center {
  position: absolute;
  top: -150%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: url('/IMAGE/footerimage.png') no-repeat center/contain;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

/* Footer bottom line */
.footer-bottom {
  text-align: center;
  margin-top: 60px;
  font-size: 0.9rem;
  color: #ccc;
  border-top: 1px solid #444;
  padding-top: 20px;
  line-height: 2.0;
}


.fade-image {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-in-out;
}

.fade-image.visible {
  opacity: 1;
  transform: translateY(0);
}




/* 📱 Phone (up to 600px) */
@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
  }

  .footer-group-left,
  .footer-group-right {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .footer-image-center {
    display: none; /* Hide image on phone */
  }
}

/* 💻 Tablet (601px to 1024px) */
@media (max-width: 1024px) and (min-width: 601px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .footer-group-left,
  .footer-group-right {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 100px;
  }

  .footer-image-center {
    width: 300px;
    height: 300px;
    top: -70%;
  }
}


.footer-bottom p {
  text-decoration: none;
  transition: all 0.4s ease-in-out;
  color: #ccc;
}

.footer-bottom p:hover {
  color: #ffffff;
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}




/* ===== Footer fixes: make links look like text (still clickable) ===== */
.footer-col ul li a,
.footer-bottom a {
  color: inherit;                 /* same as surrounding text */
  text-decoration: none;          /* no underline */
  font: inherit;                  /* inherit font size/weight */
  display: inline-block;          /* clean hover target */
  transition: color .3s ease, text-shadow .3s ease, transform .3s ease;
}

/* prevent any CSS from showing URLs via ::after */
.footer-col ul li a::after,
.footer-bottom a::after {
  content: none !important;
}

/* keep your hover vibe consistent with LI hover */
.footer-col ul li a:hover,
.footer-bottom a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
  transform: scale(1.05);
}

/* keep visited links same color as normal */
.footer-col ul li a:visited,
.footer-bottom a:visited {
  color: inherit;
}

/* ===== Footer visibility on small screens: reduce huge top padding ===== */
@media (max-width: 1024px) {
  .footer-section {
    padding-top: 180px;  /* was 300px; brings it into view on tablets */
  }
}
@media (max-width: 600px) {
  .footer-section {
    padding-top: 120px;  /* phones: avoid feeling "missing" off-screen */
  }
}

/* optional: ensure footer image never overlaps interactions */
.footer-image-center {
  pointer-events: none;  /* already present, but reinforce */
  z-index: 0;
}
.footer-content, .footer-group-left, .footer-group-right, .footer-bottom {
  position: relative;
  z-index: 1;            /* always above the center image */
}































/* ===== Standalone Footer Bottom ===== */
.footer-bottom-section{
  position: relative;
  width: 100%;
  background: #000;                     /* stays on your dark theme */
  color: #e9e9e9;
  padding: max(20px, 2.5vh) clamp(16px, 4vw, 36px) max(24px, 3vh);
  padding-bottom: calc(max(24px, 3vh) + env(safe-area-inset-bottom, 0px));
  text-align: center;
  isolation: isolate;
  z-index: 2;                           /* sits above bg images if any */
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* soft gradient separator so it “sits on top” of previous section */
.footer-bottom-section::before{
  content:"";
  position:absolute; left:0; right:0; top:0;
  height: 70px;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0));
  opacity:.45;
  mix-blend-mode:normal;
}

.footer-bottom-inner{
  max-width: 1200px;
  margin: 0 auto;
}

/* text styles */
.footer-tagline{
  margin: 0 0 6px;
  font-weight: 600;
  letter-spacing: .03em;
  font-size: clamp(16px, 2.2vw, 20px);
  opacity:.96;
}

.footer-copy{
  margin: 0;
  color: #bcbcbc;
  letter-spacing: .02em;
  font-size: clamp(12px, 1.8vw, 14px);
  line-height: 1.8;
  opacity:.9;
}

.footer-copy span{
  color:#fff;
  font-weight: 500;
  transition: color .25s ease, text-shadow .25s ease;
}

/* keep it looking like text (no visible link style if you wrap span in <a>) */
.footer-copy a{
  color: inherit;
  text-decoration: none;
}
.footer-copy a:hover,
.footer-copy span:hover{
  color:#ff1f78;                        /* Moon accent */
  text-shadow:0 0 6px rgba(255,31,120,.4);
}

/* AOS guard so it never stays hidden */
.footer-bottom-section[data-aos]{
  opacity: 1 !important;
  transform: none !important;
}

/* responsive spacing tweaks */
@media (max-width: 640px){
  .footer-bottom-section{
    padding-top: max(16px, 2vh);
  }
}

































/* Allow vertical page scroll in Team viewport */
.team__viewport{
  touch-action: auto;           /* was pan-x */
  overscroll-behavior: auto;    /* was contain */
}
@media (max-width: 1024px){
  .team__viewport{
    touch-action: auto;
    overscroll-behavior: auto;
  }
}
