/* CY Consultancy — Homepage Styles (extracted from inline) */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   DAVID LANGARICA ANIMATIONS — 100% COPIED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* 1. Hero title: two parts slide in from top/bottom */
.hero-title-top {
  display:block;
  opacity:0;
  transform:translateY(-40px);
  animation: heroTitleIn .45s cubic-bezier(.16,1,.3,1) .2s forwards;
  font-size:clamp(40px,5.5vw,72px);
  color:#fff;
  font-family:'Montserrat',sans-serif;
  font-weight:900;
  line-height:1.05;
  letter-spacing:-2px;
}
.hero-title-bottom {
  display:block;
  opacity:0;
  transform:translateY(40px);
  animation: heroTitleIn .45s cubic-bezier(.16,1,.3,1) .52s forwards;
  font-size:clamp(40px,5.5vw,72px);
  color:#fff;
  font-family:'Montserrat',sans-serif;
  font-weight:900;
  line-height:1.05;
  letter-spacing:-2px;
}
@keyframes heroTitleIn { to { opacity:1; transform:none; } }

/* 2. Jobs list — cycling text (David's job titles) */
.hero-jobs {
  display:flex;
  flex-direction:column;
  overflow:hidden;
  height:28px;
  margin:10px 0 18px;
}
.hero-jobs span {
  font-size:13px;
  font-weight:700;
  color:rgba(255,255,255,.5);
  text-transform:uppercase;
  letter-spacing:3px;
  line-height:28px;
  animation: jobsScroll 6s linear infinite;
}
@keyframes jobsScroll {
  0%,25%   { transform:translateY(0) }
  33%,58%  { transform:translateY(-100%) }
  66%,91%  { transform:translateY(-200%) }
  100%     { transform:translateY(-300%) }
}

/* 3. Name blur reveal (About_name style) */
.blur-reveal {
  opacity:0;
  filter:blur(15px);
  transform:translateY(50px);
  transition:filter .8s cubic-bezier(.16,1,.3,1),
             opacity .8s cubic-bezier(.16,1,.3,1),
             transform .8s cubic-bezier(.16,1,.3,1);
}
.blur-reveal.in {
  opacity:1;
  filter:blur(0);
  transform:none;
}

/* 4. Line width reveal (About_intro style) */
.line-reveal-wrap { overflow:hidden; }
.line-reveal-wrap p {
  opacity:0;
  transform:translateY(100%);
  transition:opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1);
}
.line-reveal-wrap.in p { opacity:1; transform:none; }
.line-reveal-wrap p:nth-child(1) { transition-delay:.05s }
.line-reveal-wrap p:nth-child(2) { transition-delay:.12s }
.line-reveal-wrap p:nth-child(3) { transition-delay:.19s }
.line-reveal-wrap p:nth-child(4) { transition-delay:.26s }

/* 5. Underline sweep (David nav style) */
.line-sweep {
  position:relative;
  --line-bg:#fff;
  --border-width:100%;
}
.line-sweep::after {
  content:'';
  position:absolute;
  bottom:-2px; left:0;
  height:2px;
  width:var(--border-width);
  background:var(--line-bg);
  transform:scaleX(0);
  transform-origin:right;
  transition:transform .35s cubic-bezier(.2,0,0,1);
}
.line-sweep:hover::after { transform:scaleX(1); transform-origin:left; }

/* 6. Work item scale-on-hover (David project list) */
.work-item {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:22px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
  cursor:pointer;
  transition:all .3s ease-out;
  text-decoration:none;
}
.work-item:hover { padding-left:16px; }
.work-item .wi-title {
  font-family:'Montserrat',sans-serif;
  font-size:clamp(18px,2.2vw,28px);
  font-weight:800;
  color:#fff;
  opacity:.5;
  transform:scale(.88);
  transition:opacity .3s ease-out, transform .3s ease-out, text-shadow .3s ease-out;
}
.work-item:hover .wi-title,
.work-item:first-child .wi-title {
  opacity:1;
  font-weight:800;
  transform:none;
  text-shadow:0 0 .2em rgba(120,136,222,.6);
}
.work-item .wi-cat {
  font-size:12px;
  color:rgba(255,255,255,.35);
  opacity:.5;
  transform:scale(.88);
  transition:opacity .3s, transform .3s;
}
.work-item:hover .wi-cat { opacity:.7; transform:scale(.95); }
.work-item hr {
  display:none;
}

/* 7. Magic word glow (David's magic effect) */
.magic-text {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:'Playfair Display',serif;
  font-size:clamp(18px,1.8vw,22px);
  color:var(--tx2);
  margin-bottom:12px;
}
.magic-word {
  font-style:italic;
  font-weight:700;
  color:#2EC4B6;
  text-shadow:0 0 1rem rgba(46,196,182,.4);
  letter-spacing:4px;
  animation:magicPulse 4s ease-in-out infinite;
}
@keyframes magicPulse {
  0%,100% { letter-spacing:4px; text-shadow:0 0 1rem rgba(46,196,182,.3); }
  50%     { letter-spacing:8px; text-shadow:0 0 2rem rgba(46,196,182,.7); }
}
.sparkle { animation:sparklePop 3s ease-in-out infinite; display:inline-block; color:var(--g); font-size:12px; }
.sparkle-1 { animation-delay:0s; }
.sparkle-2 { animation-delay:1.5s; }
@keyframes sparklePop {
  0%,100% { transform:scale(.3) rotate(0deg); opacity:.4; }
  50%     { transform:scale(1.2) rotate(20deg); opacity:1; }
}

/* 8. Availability dot (David contact style) */
.avail-badge {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  font-weight:700;
  color:var(--tx2);
  margin-bottom:18px;
}
.avail-dot {
  width:9px; height:9px;
  border-radius:50%;
  background:rgb(230,170,18);
  box-shadow:0 0 14px rgba(231,194,60,.7);
  animation:availPulse 2s ease-in-out infinite;
}
.avail-dot.green { background:#2EC4B6; box-shadow:0 0 14px rgba(46,196,182,.7); }
@keyframes availPulse {
  0%,100% { transform:scale(1); opacity:1; }
  50%     { transform:scale(1.5); opacity:.6; }
}

/* 9. Section separator line animated (David's Contact_line) */
.section-line {
  height:2px;
  background:linear-gradient(90deg,var(--r),var(--g),transparent);
  width:0;
  transition:width 1.2s cubic-bezier(.16,1,.3,1);
  border-radius:2px;
  margin:12px 0 24px;
}
.section-line.in { width:100%; }

/* 10. Page background gradient (David's .bg + .sky) */
.sky-bg {
  position:fixed;
  inset:0;
  z-index:-2;
  background:radial-gradient(ellipse 80% 60% at 50% -10%, rgba(120,136,222,.12), transparent),
             radial-gradient(ellipse 60% 40% at 80% 100%, rgba(230,57,70,.06), transparent);
  pointer-events:none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SCROLL SPEED FIX — slow scroll was Lenis duration
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
html { scroll-behavior: auto !important; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NOISE OVERLAY (Tore Bentsen)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.noise-overlay{position:fixed;inset:0;z-index:9000;pointer-events:none;
  background-image:url('https://cdn.prod.website-files.com/5decd3f1cad21747ccd903ca/6214dc25a7395684065077f1_noise-layer.png');
  opacity:.028;animation:noiseAni 1.8s steps(3) infinite}
@keyframes noiseAni{0%{background-position:0 0}33%{background-position:30% 50%}66%{background-position:70% 20%}100%{background-position:100% 80%}}

/* ━━━━ CUSTOM CURSOR ━━━━ */
.custom-cursor{position:fixed;width:32px;height:32px;border:1.5px solid rgba(230,57,70,.5);border-radius:50%;pointer-events:none;z-index:9001;margin:-16px 0 0 -16px;transition:width .25s,height .25s,margin .25s,border-color .25s}
.custom-cursor.hov{width:56px;height:56px;margin:-28px 0 0 -28px;border-color:var(--g)}
.cursor-dot{position:fixed;width:5px;height:5px;background:var(--r);border-radius:50%;pointer-events:none;z-index:9002;margin:-2.5px 0 0 -2.5px}
@media(hover:none){.custom-cursor,.cursor-dot{display:none}}

/* ━━━━ SCROLL TOP ━━━━ */
#scroll-top{position:fixed;bottom:88px;right:22px;z-index:998;width:42px;height:42px;border-radius:50%;background:rgba(15,28,46,.9);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.1);color:#fff;font-size:15px;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transform:translateY(60px);pointer-events:none;transition:opacity .3s,transform .3s}
#scroll-top.show{opacity:1;transform:none;pointer-events:auto}
#scroll-top:hover{background:var(--r)}

/* ━━━━ HOMEPAGE STYLES ━━━━ */
.hero{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:120px 24px 80px;position:relative;overflow:hidden;background:#05090F}

/* ── HERO BACKGROUND PARALLAX IMAGES (Ken Burns) ── */
.hero-bg{position:absolute;inset:0;z-index:0}
.hero-bg-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 2.2s cubic-bezier(.4,0,.2,1);z-index:0;animation:kenBurns 18s ease-in-out infinite alternate}
.hero-bg-slide:nth-child(2){animation:kenBurnsAlt 20s ease-in-out infinite alternate;animation-delay:-5s}
.hero-bg-slide:nth-child(3){animation:kenBurns 16s ease-in-out infinite alternate;animation-delay:-10s}
.hero-bg-slide.active{opacity:1;z-index:1}
@keyframes kenBurns{0%{transform:scale(1) translate(0,0)}100%{transform:scale(1.08) translate(-1.5%,-1%)}}
@keyframes kenBurnsAlt{0%{transform:scale(1.06) translate(1.5%,.8%)}100%{transform:scale(1) translate(0,0)}}
.hero-bg-dark{position:absolute;inset:0;background:linear-gradient(140deg,rgba(5,9,15,.82) 0%,rgba(15,28,46,.72) 40%,rgba(5,9,15,.6) 100%);z-index:1}
/* color overlay pulses subtly */
.hero-bg-color{position:absolute;inset:0;z-index:2;pointer-events:none;
  background:radial-gradient(ellipse 70% 60% at 70% 50%, rgba(120,136,222,.10), transparent),
             radial-gradient(ellipse 50% 40% at 20% 80%, rgba(46,196,182,.07), transparent)}
.hero-pattern{position:absolute;inset:0;opacity:.025;background-image:radial-gradient(circle at 1px 1px,white 1px,transparent 0);background-size:44px 44px;pointer-events:none;z-index:3}
.hero-glow1{position:absolute;width:600px;height:600px;border-radius:50%;top:-10%;right:-10%;background:rgba(120,136,222,.1);filter:blur(100px);pointer-events:none;transition:transform .15s linear;z-index:4}
.hero-glow2{position:absolute;width:400px;height:400px;border-radius:50%;bottom:-10%;left:-5%;background:rgba(46,196,182,.07);filter:blur(80px);pointer-events:none;transition:transform .15s linear;z-index:4}
.hero-in{max-width:1260px;margin:0 auto;width:100%;display:grid;grid-template-columns:1.15fr 1fr;gap:56px;align-items:center;position:relative;z-index:5}
.hero-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(244,162,97,.08);border:1px solid rgba(244,162,97,.18);padding:6px 16px;border-radius:50px;color:var(--g);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:20px;opacity:0;animation:heroTitleIn .5s .85s forwards}
.hero-badge .dot{width:7px;height:7px;border-radius:50%;background:var(--t);animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}
.hero-desc{color:rgba(255,255,255,.55);font-size:14.5px;line-height:1.85;margin:18px 0 28px;max-width:500px;opacity:0;animation:heroTitleIn .6s 1s forwards}
.hero-btns{display:flex;gap:12px;flex-wrap:wrap;opacity:0;animation:heroTitleIn .6s 1.15s forwards}
.hero-card{background:rgba(255,255,255,.04);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.07);border-radius:24px;padding:30px;position:relative;opacity:0;animation:heroTitleIn .7s .9s forwards}
.hc-top{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.malta-f{width:48px;height:34px;border-radius:7px;overflow:hidden;display:flex;box-shadow:0 2px 8px rgba(0,0,0,.3)}
.malta-f .w{flex:1;background:#fff}.malta-f .r{flex:1;background:#CF3B3B}
.hc-top h3{color:#fff;font-size:17px;font-family:'Montserrat',sans-serif;font-weight:800}
.hero-card>p{color:rgba(255,255,255,.45);font-size:12.5px;line-height:1.75;margin-bottom:18px}
.h-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.h-stat{text-align:center;padding:14px 6px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06)}
.h-stat-n{font-family:'Playfair Display',serif;font-size:26px;color:var(--g);font-weight:700}
.h-stat-l{font-size:9px;color:rgba(255,255,255,.35);margin-top:3px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}
.float-tag{position:absolute;background:#fff;padding:9px 14px;border-radius:12px;box-shadow:0 8px 28px rgba(0,0,0,.12);font-size:11px;font-weight:700;display:flex;align-items:center;gap:6px;animation:ftFloat 4s ease-in-out infinite}
.float-tag.ft1{top:-14px;right:-6px;color:var(--t)}.float-tag.ft2{bottom:-12px;left:-6px;color:var(--g)}
@keyframes ftFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}

/* MARQUEE */
.marquee{overflow:hidden;background:var(--n);padding:13px 0;white-space:nowrap}
.marquee-track{display:flex;animation:mqScroll 28s linear infinite;gap:52px}
.marquee-track:hover{animation-play-state:paused}
.marquee-item{display:flex;align-items:center;gap:8px;color:rgba(255,255,255,.35);font-size:11.5px;font-weight:700;flex-shrink:0;letter-spacing:.5px}
.marquee-item i{color:var(--g);font-size:5px}
@keyframes mqScroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ABOUT */
.about-grid{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center}
.about-est{display:inline-flex;align-items:center;gap:7px;background:rgba(230,57,70,.06);border:1px solid rgba(230,57,70,.1);padding:6px 14px;border-radius:50px;color:var(--r);font-size:11px;font-weight:700;margin-bottom:16px}
.about-text h3{font-size:28px;color:var(--n);margin-bottom:16px;line-height:1.2}
.about-text p{font-size:13.5px;color:var(--tx2);line-height:1.9;margin-bottom:12px}
.about-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.about-pill{display:flex;align-items:center;gap:6px;background:var(--bgf);border:1px solid rgba(0,0,0,.05);padding:7px 14px;border-radius:50px;font-size:11px;font-weight:700;color:var(--n)}
.about-pill i{color:var(--r);font-size:11px}
.about-img-wrap{position:relative;border-radius:22px;overflow:hidden;box-shadow:0 24px 64px rgba(0,0,0,.12)}
.about-img-wrap img{width:100%;height:340px;object-fit:cover;display:block;transition:transform .8s cubic-bezier(.16,1,.3,1)}
.about-img-wrap:hover img{transform:scale(1.04)}
.about-overlay{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(0deg,rgba(15,28,46,.92),transparent);padding:22px;color:#fff}
.about-overlay h4{font-family:'Montserrat',sans-serif;font-size:13px;font-weight:700;margin-bottom:2px}
.about-overlay p{font-size:11px;opacity:.55}

/* STATS */
.stats-row{background:var(--n);padding:44px 24px}
.stats-in{max-width:900px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.stat-item{text-align:center}
.stat-num{font-family:'Playfair Display',serif;font-size:40px;color:var(--g);font-weight:700;display:block}
.stat-label{font-size:10px;color:rgba(255,255,255,.35);font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-top:4px}

/* GALLERY */
.gallery{padding:36px 0;overflow:hidden;background:var(--bgf)}
.gallery .gtag{display:block;text-align:center;font-size:10px;font-weight:800;color:var(--r);text-transform:uppercase;letter-spacing:3px;margin-bottom:6px}
.gallery h2{text-align:center;font-size:22px;color:var(--n);margin-bottom:22px}
.g-track{display:flex;gap:14px;animation:gScroll 32s linear infinite;width:max-content;padding:0 14px}
.g-item{width:190px;height:190px;border-radius:18px;overflow:hidden;flex-shrink:0;box-shadow:0 4px 20px rgba(0,0,0,.1)}
.g-item img{width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.16,1,.3,1)}
.g-item:hover img{transform:scale(1.07)}
@keyframes gScroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* SERVICES */
.svc-grid{max-width:1160px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}
.svc{background:#fff;border-radius:20px;padding:28px 22px;text-align:center;transition:all .45s cubic-bezier(.16,1,.3,1);border:1px solid rgba(0,0,0,.04);position:relative;overflow:hidden;cursor:default}
.svc:hover{transform:translateY(-8px);box-shadow:0 24px 56px rgba(230,57,70,.1)}
.svc::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,var(--n),#1B2D45);opacity:0;transition:opacity .45s;z-index:0;border-radius:20px}
.svc:hover::before{opacity:1}
.svc::after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,transparent 40%,rgba(255,255,255,.05) 50%,transparent 60%);transform:translateX(-120%);transition:transform .6s cubic-bezier(.16,1,.3,1);border-radius:20px;z-index:2}
.svc:hover::after{transform:translateX(120%)}
.svc>*{position:relative;z-index:1}
.svc-icon{width:68px;height:68px;border-radius:18px;margin:0 auto 16px;background:var(--bgf);display:flex;align-items:center;justify-content:center;font-size:28px;color:var(--r);transition:all .45s}
.svc:hover .svc-icon{background:rgba(255,255,255,.1);color:#fff}
.svc h3{font-family:'Montserrat',sans-serif;font-size:13px;font-weight:700;color:var(--n);margin-bottom:6px;transition:color .3s}
.svc:hover h3{color:#fff}
.svc p{font-size:11.5px;color:var(--tx3);line-height:1.65;transition:color .3s}
.svc:hover p{color:rgba(255,255,255,.55)}

/* PROCESS */
.timeline{max-width:840px;margin:0 auto;position:relative}
.timeline::before{content:'';position:absolute;left:30px;top:0;bottom:0;width:2px;background:linear-gradient(180deg,var(--r),var(--g),var(--t))}
.tl-step{display:flex;gap:24px;margin-bottom:22px;position:relative}
.tl-num{width:60px;height:60px;min-width:60px;border-radius:50%;background:#fff;border:2.5px solid var(--r);display:flex;align-items:center;justify-content:center;font-family:'Playfair Display',serif;font-size:20px;color:var(--n);font-weight:700;box-shadow:0 4px 16px rgba(230,57,70,.1);z-index:1;transition:all .3s}
.tl-step:hover .tl-num{background:var(--r);color:#fff;transform:scale(1.1)}
.tl-body{background:var(--bgf);border-radius:16px;padding:18px 22px;flex:1;border:1px solid rgba(0,0,0,.03);transition:all .35s}
.tl-step:hover .tl-body{transform:translateX(8px);box-shadow:0 8px 32px rgba(0,0,0,.07)}
.tl-body h3{font-family:'Montserrat',sans-serif;font-size:13px;font-weight:700;color:var(--n);margin-bottom:4px}
.tl-body p{font-size:12px;color:var(--tx3);line-height:1.7}
.tl-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}
.tl-tag{padding:3px 10px;border-radius:50px;font-size:9.5px;font-weight:700;background:rgba(230,57,70,.06);color:var(--r)}
.tl-tag.ok{background:rgba(46,196,182,.07);color:var(--t)}

/* DOCS */
.docs-grid{max-width:940px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:16px}
.doc-box{background:#fff;border-radius:18px;padding:26px;border:1px solid rgba(0,0,0,.04);transition:all .35s}
.doc-box:hover{box-shadow:0 12px 40px rgba(0,0,0,.06);transform:translateY(-4px)}
.doc-box h3{font-family:'Montserrat',sans-serif;font-size:13px;font-weight:700;color:var(--n);margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid var(--bgf);display:flex;align-items:center;gap:8px}
.doc-box h3 i{color:var(--r)}
.doc-list{list-style:none}
.doc-list li{padding:7px 0;font-size:12px;color:var(--tx2);display:flex;align-items:flex-start;gap:8px;border-bottom:1px solid rgba(0,0,0,.025)}
.doc-list li:last-child{border:none}
.doc-list .ck{color:var(--t);font-size:11px;margin-top:2px}

/* WHY */
.why{background:linear-gradient(160deg,#050C16,var(--n));color:#fff;padding:72px 24px}
.why .sh h2{color:#fff}.why .sh p{color:rgba(255,255,255,.4)}.why .sh .tag{color:var(--g)}.why .sh .tag::before,.why .sh .tag::after{background:var(--g)}
.why-grid{max-width:1060px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.why-card{padding:28px 20px;border-radius:18px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);text-align:center;transition:all .4s cubic-bezier(.16,1,.3,1)}
.why-card:hover{background:rgba(255,255,255,.07);transform:translateY(-6px);box-shadow:0 20px 50px rgba(0,0,0,.2)}
.why-icon{width:64px;height:64px;border-radius:16px;margin:0 auto 14px;background:rgba(255,255,255,.05);display:flex;align-items:center;justify-content:center;font-size:26px;color:var(--g)}
.why-card h3{font-family:'Montserrat',sans-serif;font-size:13px;font-weight:700;margin-bottom:6px}
.why-card p{font-size:11.5px;color:rgba(255,255,255,.38);line-height:1.65}

/* TESTIMONIALS */
.test-grid{max-width:1060px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.test-card{background:var(--bgf);border-radius:18px;padding:26px;border:1px solid rgba(0,0,0,.04);transition:all .3s}
.test-card:hover{box-shadow:0 12px 40px rgba(0,0,0,.07);transform:translateY(-4px)}
.test-stars{display:flex;gap:3px;margin-bottom:12px}
.test-stars i{color:var(--g);font-size:12px}
.test-card p{font-size:13px;color:var(--tx2);line-height:1.8;margin-bottom:16px}
.test-author{display:flex;align-items:center;gap:10px}
.test-av{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,var(--r),var(--g));display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px;font-weight:700;font-family:'Playfair Display',serif}
.test-name{font-size:12px;font-weight:700;color:var(--n)}
.test-dest{font-size:10.5px;color:var(--tx3);margin-top:1px}

/* REGISTER */
.reg-grid{max-width:1040px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.reg-info h3{font-size:22px;color:var(--n);margin-bottom:12px}
.reg-info>p{font-size:13px;color:var(--tx2);line-height:1.85;margin-bottom:20px}
.ci{display:flex;gap:12px;margin-bottom:16px}
.ci-icon{width:42px;height:42px;min-width:42px;border-radius:12px;background:linear-gradient(135deg,var(--n),var(--n2));display:flex;align-items:center;justify-content:center;color:var(--g);font-size:14px}
.ci h4{font-size:10px;font-weight:700;color:var(--n);margin-bottom:2px;text-transform:uppercase;letter-spacing:.5px}
.ci p,.ci a{font-size:12px;color:var(--tx3);line-height:1.55}
.reg-form{background:#fff;padding:32px;border-radius:22px;box-shadow:0 12px 48px rgba(0,0,0,.07);border:1px solid rgba(0,0,0,.03)}
.reg-form h3{font-family:'Montserrat',sans-serif;font-size:17px;font-weight:800;color:var(--n);text-align:center;margin-bottom:3px}
.reg-form .sub{font-size:12px;color:var(--tx3);text-align:center;margin-bottom:22px}

/* CTA */
.cta-sec{padding:65px 24px;text-align:center;background:linear-gradient(135deg,var(--r),var(--r2));position:relative;overflow:hidden}
.cta-sec::before{content:'';position:absolute;inset:0;background:url('https://cdn.prod.website-files.com/5decd3f1cad21747ccd903ca/6214dc25a7395684065077f1_noise-layer.png');opacity:.04}
.cta-sec h2{color:#fff;font-size:clamp(22px,2.8vw,34px);margin-bottom:10px;position:relative;z-index:1}
.cta-sec p{color:rgba(255,255,255,.8);font-size:14px;margin-bottom:24px;position:relative;z-index:1}
.cta-sec .btn{position:relative;z-index:1}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER — Copied from Cy_Consultancy_Care.html
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.footer{background:#0A0F1E;color:rgba(255,255,255,.4);overflow:hidden}

/* Footer top — office photo banner */
.footer-banner{width:100%;max-height:320px;overflow:hidden;position:relative}
.footer-banner img{width:100%;height:320px;object-fit:cover;object-position:center;display:block;filter:brightness(.7)}
.footer-banner-overlay{position:absolute;inset:0;background:linear-gradient(0deg,#0A0F1E 0%,transparent 60%)}

/* Footer main body */
.footer-body{padding:48px 24px 0;max-width:1260px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr;gap:56px}

/* Logo + description column */
.footer-brand .footer-logo{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.footer-brand .footer-logo img{height:40px;border-radius:8px}
.footer-brand .footer-logo span{font-family:'Playfair Display',serif;font-size:18px;color:#fff;font-weight:700}
.footer-brand p{font-size:12.5px;line-height:1.8;max-width:280px;margin-bottom:18px}

/* Contact items in footer */
.footer-contact{list-style:none;margin-bottom:20px}
.footer-contact li{display:flex;align-items:flex-start;gap:10px;margin-bottom:10px;font-size:12px;line-height:1.6}
.footer-contact li i{color:var(--g);font-size:12px;margin-top:2px;min-width:14px}
.footer-contact a{color:rgba(255,255,255,.5);transition:color .2s}
.footer-contact a:hover{color:var(--g)}

/* Social icons */
.footer-social{display:flex;gap:10px;margin-bottom:24px}
.footer-social a{width:36px;height:36px;border-radius:10px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.4);font-size:14px;transition:all .25s}
.footer-social a:hover{background:var(--r);color:#fff;border-color:var(--r);transform:translateY(-2px)}

/* Links columns */
.footer-col h4{font-size:10px;font-weight:800;color:#fff;text-transform:uppercase;letter-spacing:2px;margin-bottom:18px;padding-bottom:8px;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-col ul{list-style:none}
.footer-col ul li{margin-bottom:10px}
.footer-col ul li a{font-size:12.5px;color:rgba(255,255,255,.4);transition:all .2s;display:inline-flex;align-items:center;gap:6px}
.footer-col ul li a::before{content:'→';opacity:0;transform:translateX(-6px);transition:all .2s;font-size:10px;color:var(--g)}
.footer-col ul li a:hover{color:#fff;padding-left:4px}
.footer-col ul li a:hover::before{opacity:1;transform:none}

/* Footer office photo + hours column */
.footer-hours{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);border-radius:16px;padding:20px}
.footer-hours h5{font-family:'Montserrat',sans-serif;font-size:11px;font-weight:800;color:#fff;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:14px}
.fh-row{display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.05);font-size:11.5px}
.fh-row:last-child{border:none}
.fh-day{color:rgba(255,255,255,.4)}
.fh-time{color:#fff;font-weight:700}
.fh-time.closed{color:rgba(230,57,70,.7);font-size:10px}

/* Footer bottom bar */
.footer-bottom{margin-top:40px;padding:20px 24px;border-top:1px solid rgba(255,255,255,.06);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;max-width:1260px;margin-left:auto;margin-right:auto}
.footer-copy{font-size:11px}
.footer-dev{font-size:11px}
.footer-dev a{color:var(--g)}
.footer-bottom-nav{display:flex;gap:20px}
.footer-bottom-nav a{font-size:11px;color:rgba(255,255,255,.3);transition:color .2s}
.footer-bottom-nav a:hover{color:var(--g)}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media(max-width:968px){
  .hero-in{grid-template-columns:1fr;text-align:center}
  .hero-desc{margin:18px auto 28px}
  .hero-btns{justify-content:center}
  .hero-card{max-width:460px;margin:0 auto}
  .about-grid,.reg-grid{grid-template-columns:1fr}
  .why-grid{grid-template-columns:1fr 1fr}
  .docs-grid{grid-template-columns:1fr}
  .stats-in{grid-template-columns:1fr 1fr}
  .test-grid{grid-template-columns:1fr}
  .footer-body{grid-template-columns:1fr;gap:32px}
  .footer-bottom{flex-direction:column;text-align:center}
  .nav-menu{display:none !important}
  .mob-btn{display:block}
  .footer-bottom-nav{flex-wrap:wrap;justify-content:center}
}
@media(max-width:600px){
  .h-stats{grid-template-columns:1fr;gap:5px}
  .float-tag{display:none}
  .why-grid,.svc-grid{grid-template-columns:1fr}
  .stats-in{grid-template-columns:1fr 1fr}
}


  @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}}
  @keyframes scrollInd{0%{opacity:0}20%,80%{opacity:.5}100%{opacity:0}}
  
/* ══════════════════════════════════════════════════════
   ABOUT SECTION — 3 COLUMN LAYOUT
   Left: Text | Middle: CEO Office | Right: Conference
══════════════════════════════════════════════════════ */
.about-3col {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

/* Text column */
.about-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Photo columns */
.about-photo-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 460px;
  height: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.14);
  cursor: default;
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s;
}
.about-photo-wrap:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 32px 80px rgba(0,0,0,.2);
}
.about-photo-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .8s cubic-bezier(.16,1,.3,1);
  display: block;
}
.about-photo-wrap:hover img {
  transform: scale(1.06);
}

/* Caption overlay at bottom */
.about-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(15,28,46,.92) 0%, transparent 100%);
  color: #fff;
}
.apc-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 3px;
}
.apc-title {
  font-size: 11px;
  opacity: .6;
}

/* Responsive */
@media(max-width: 1024px) {
  .about-3col {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .about-text-col {
    grid-column: 1 / -1; /* full width */
  }
  .about-photo-wrap {
    min-height: 320px;
  }
}
@media(max-width: 600px) {
  .about-3col {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-photo-wrap {
    min-height: 260px;
  }
}

/* ══════════════════════════════════════════════
   TEAM CARDS
══════════════════════════════════════════════ */
.team-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.05);
  transition: all .4s cubic-bezier(.16,1,.3,1);
  text-align: center;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,.1);
}
.tc-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.tc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.team-card:hover .tc-img img { transform: scale(1.08); }
.tc-body {
  padding: 14px;
}
.tc-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--n);
  margin-bottom: 3px;
}
.tc-role {
  font-size: 11px;
  color: var(--r);
  font-weight: 600;
}

/* CEO featured card mobile */
@media(max-width: 768px) {
  div[style*="grid-template-columns:300px 1fr"] {
    grid-template-columns: 1fr !important;
  }
}
@media(max-width: 600px) {
  div[style*="grid-template-columns:300px 1fr"] img {
    min-height: 220px !important;
  }
}

/* ══════════════════════════════════════════════════════
   HOME GALLERY SLIDER — auto scroll strip
══════════════════════════════════════════════════════ */
.hs-wrapper {
  overflow: hidden;
  position: relative;
  padding: 8px 0;
}
/* Fade edges */
.hs-wrapper::before,
.hs-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.hs-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, #fff 0%, transparent 100%);
}
.hs-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, #fff 0%, transparent 100%);
}

.hs-track {
  display: flex;
  gap: 14px;
  animation: hsScroll 40s linear infinite;
  width: max-content;
  padding: 0 7px;
}
.hs-track:hover {
  animation-play-state: paused;
}
@keyframes hsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hs-slide {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  cursor: pointer;
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s;
}
.hs-slide:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0,0,0,.15);
}
.hs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.hs-slide:hover img { transform: scale(1.08); }

@media(max-width:600px) {
  .hs-slide { width: 160px; height: 160px; border-radius: 12px; }
  .hs-track { gap: 10px; animation-duration: 28s; }
}
