:root{
  --g1:#ff2bd6;
  --g2:#7c2cff;
  --g3:#00a6ff;
  --bg:#05050a;
  --card:#0f1720;
  --muted:#93a0b6;
  --glass: rgba(255,255,255,0.03);
  --radius:14px;
  --max-w:1200px;
  --accent-gradient: linear-gradient(90deg,var(--g1),var(--g3));
}

 /* 2. Loader Overlay (Poori Screen ko Cover karega) */
        #loader-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--bg);
            /* Content (spinner) ko center mein laane ke liye */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            /* Fade-out effect ke liye */
            transition: opacity 0.5s ease-out;
        }

        /* 3. "Dhansu" Spinner */
        .loader-spinner {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            position: relative;
            
            /* Magic yahaan hai: Conic gradient jo rotate hoga */
            background: conic-gradient(
                from 180deg at 50% 50%,
                var(--g1) 0%, 
                var(--g2) 50%, 
                var(--g3) 100%
            );
            
            animation: spin 1.5s linear infinite;
        }

        /* Spinner ke beech ka hissa (donut shape banane ke liye) */
        .loader-spinner::after {
            content: '';
            position: absolute;
            top: 10px; /* 10px ka border chhod ke */
            left: 10px;
            right: 10px;
            bottom: 10px;
            background-color: var(--bg); /* Background color se match */
            border-radius: 50%;
        }

        /* Spinning animation */
        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* 4. Loader Text (Gradient wala) */
        .loader-text {
            margin-top: 20px;
            font-size: 1.2rem;
            font-weight: 500;
            letter-spacing: 1px;
            
            /* Gradient Text Trick */
            background: var(--accent-gradient);
            color: transparent;
            -webkit-background-clip: text;
            background-clip: text;
            
            /* Text ko bhi thoda animate karenge */
            animation: pulse-text 2s ease-in-out infinite;
        }

        @keyframes pulse-text {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        /* 5. Page ka Asli Content (Jo loader ke baad dikhega) */
#page-content {
  visibility: hidden;   /* keeps layout stable while hidden */
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 40px;
  max-width: var(--max-w);
  margin: auto;
  text-align: center;
}


        #page-content h1 {
            color: white;
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-size: 3rem;
        }

/* Reset & base */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg,#03030a 0%, #071022 45%);
  color:#eef3ff;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.6;
}
.container{max-width:var(--max-w);margin:0 auto;padding:0 20px}

/* Header */
.header{position:sticky;top:0;z-index:120;backdrop-filter: blur(8px);background:linear-gradient(180deg,rgba(5,5,10,0.6), rgba(5,5,10,0.35));border-bottom:1px solid rgba(255,255,255,0.03)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 0;gap:12px}
.brand{display:flex;align-items:center;gap:12px;cursor:pointer;background:none;border:0}
.logo{width:56px;height:56px;border-radius:12px;object-fit:cover;box-shadow:0 12px 40px rgba(124,44,255,0.08)}
.brand-name{font-family:'Poppins',sans-serif;font-size:18px;font-weight:700}
.brand-tag{font-size:12px;color:var(--muted);margin-top:2px}
.main-nav ul{display:flex;gap:18px;list-style:none;align-items:center;position:relative;z-index:200}
.main-nav a{color:#e6eefc;text-decoration:none;font-weight:600;padding:6px 10px;border-radius:8px;transition:all .14s}
.main-nav a:hover{background:rgba(255,255,255,0.02);color:var(--g3)}
.nav-actions{display:flex;align-items:center;gap:12px}
.btn-primary{background:var(--accent-gradient);color:#fff;padding:10px 14px;border-radius:10px;border:0;font-weight:700;cursor:pointer;box-shadow:0 12px 40px rgba(0,166,255,0.08)}
.btn-outline{background:transparent;border:1px solid rgba(255,255,255,0.06);padding:10px 12px;border-radius:10px;color:#fff;cursor:pointer;font-weight:600}
.btn-ghost{background:transparent;border:1px solid rgba(255,255,255,0.06);padding:10px 12px;border-radius:10px;color:#fff;cursor:pointer;font-weight:600}
.mobile-toggle{display:none;background:none;border:0;color:#fff;font-size:22px;cursor:pointer}

/* HERO */
.hero{position:relative;padding:88px 0 40px;overflow:hidden}
.hero-grid{display:flex;gap:36px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.hero-left{flex:1;min-width:260px}
.eyebrow{display:inline-block;background:linear-gradient(90deg,var(--g2),var(--g3));padding:6px 10px;border-radius:999px;color:#fff;font-weight:700;font-size:13px}
h1{font-size:40px;margin:12px 0 8px;line-height:1.02;font-family:'Poppins',sans-serif;background:linear-gradient(90deg,var(--g1),var(--g2),var(--g3));-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.lead{color:var(--muted);max-width:640px}
.hero-ctas{margin-top:18px;display:flex;gap:12px;flex-wrap:wrap}
.kpis{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap}
.kpi{background:var(--glass);padding:10px 12px;border-radius:10px;min-width:110px;text-align:center}
.kpi strong{display:block;font-size:16px}

/* mockup */
.hero-right{flex:1;display:flex;justify-content:center;min-width:260px}
.mockup{width:320px;height:320px;border-radius:20px;position:relative;background:linear-gradient(180deg,rgba(124,44,255,0.06),rgba(0,166,255,0.03));display:flex;align-items:center;justify-content:center;box-shadow:0 30px 80px rgba(11,20,60,0.6)}
.mock-logo{width:220px;filter:drop-shadow(0 20px 50px rgba(124,44,255,0.12));transform:translateY(-6px)}
.mock-accents{position:absolute;inset:0;border-radius:20px;pointer-events:none;background:
  radial-gradient(circle at 20% 20%, rgba(255,43,214,0.06), transparent 10%),
  radial-gradient(circle at 80% 80%, rgba(0,166,255,0.06), transparent 10%)}

/* sections */
.section{padding:72px 0}
.section-title{font-size:28px;margin-bottom:6px;font-weight:700}
.section-sub{color:var(--muted);margin-bottom:18px}

/* services */
.services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.service-card{background:linear-gradient(180deg,rgba(255,255,255,0.02), rgba(255,255,255,0.01));padding:18px;border-radius:12px;box-shadow:0 12px 40px rgba(5,10,20,0.35);text-align:center;transition:transform .28s,box-shadow .28s}
.service-card img{width:56px;height:56px;margin-bottom:12px}
.service-card h3{margin:6px 0}
.service-card p{color:var(--muted);font-size:14px}
.service-card:hover{transform:translateY(-8px);box-shadow:0 22px 60px rgba(124,44,255,0.08)}

/* packages */
/* ===== PACKAGES: layout, badges, animations (paste at end of style.css) ===== */

/* container grid */
.package-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
  margin-top:18px;
  align-items:start;
}

/* package card */
.package-card{
  position:relative;
  background:linear-gradient(180deg,rgba(255,255,255,0.02),transparent);
  padding:18px;
  border-radius:12px;
  box-shadow:0 10px 36px rgba(0,0,0,0.45);
  overflow:visible;
  transition:transform .35s cubic-bezier(.2,.9,.2,1), box-shadow .35s;
}
.package-card:hover{
  transform:translateY(-8px) scale(1.01);
  box-shadow:0 26px 60px rgba(3,6,20,0.6);
}

/* badge styles */
.package-card .badge{
  position:absolute;
  top:12px;
  right:12px;
  z-index:4;
  display:inline-block;
  padding:6px 10px;
  font-size:13px;
  font-weight:700;
  border-radius:8px;
  color:#fff;
  background:linear-gradient(90deg,#ff2bd6,#7c2cff);
  box-shadow:0 8px 20px rgba(124,44,255,0.14);
  pointer-events:none;
  transform:translateZ(0);
}

/* variant badges */
.package-card .badge.sale{ background:linear-gradient(90deg,#ff8a00,#ff2d55); }
.package-card .badge.pro{ background:linear-gradient(90deg,#00a6ff,#7c2cff); }

/* header + text */
.pkg-title{ margin-top:8px; margin-bottom:6px; font-size:18px; }
.pkg-desc{ color:rgba(255,255,255,0.8); margin-bottom:10px; }

/* price */
.price-wrap{ display:flex; gap:12px; align-items:baseline; margin-bottom:12px; }
.original{ color:rgba(255,255,255,0.45); font-weight:700; }
.strike{ text-decoration:line-through; }
.offer .big{ font-size:20px; font-weight:800; background:linear-gradient(90deg,#ff2bd6,#00a6ff); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }

/* features */
.pkg-features{ margin:0 0 12px 18px; color:rgba(255,255,255,0.75); line-height:1.6; }

/* actions */
.pkg-actions{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.btn-ghost{ background:transparent; border:1px solid rgba(255,255,255,0.06); padding:8px 12px; border-radius:8px; color:#fff; }

/* reveal animation (stagger handled by JS) */
.reveal{ opacity:0; transform:translateY(18px) scale(.995); transition: all .65s cubic-bezier(.2,.9,.2,1); }
.reveal.active{ opacity:1; transform:translateY(0) scale(1); }

/* spacing & responsiveness */
#packages{ padding-top:36px; position:relative; z-index:1; }
#packages .section-title{ z-index:5; position:relative; display:inline-block; margin-bottom:20px; }
@media (max-width:720px){
  .package-grid{ gap:12px; }
  .package-card{ padding:14px; }
  .package-card .badge{ top:10px; right:10px; padding:5px 8px; font-size:12px; }
}

/* portfolio */
.portfolio-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
.portfolio-card{border-radius:12px;overflow:hidden;position:relative;background:var(--card)}
.portfolio-card img{width:100%;height:180px;object-fit:cover;display:block;transition:transform .5s}
.portfolio-card:hover img{transform:scale(1.06)}
.pf-info{padding:12px;background:linear-gradient(180deg,rgba(0,0,0,0.15),transparent)}

/* contact */
.contact-grid{display:grid;grid-template-columns:1fr 420px;gap:24px;align-items:start}
.contact-info h2{margin-bottom:8px}
.office-card{background:linear-gradient(180deg,rgba(255,255,255,0.02),transparent);padding:12px;border-radius:10px;margin-top:12px}
.contact-form{background:linear-gradient(180deg,rgba(255,255,255,0.02),transparent);padding:16px;border-radius:12px}
input,textarea,select{width:100%;padding:12px;border-radius:8px;border:1px solid rgba(255,255,255,0.04);background:transparent;color:#fff;margin-bottom:8px}
textarea{min-height:120px;resize:vertical}
.form-actions{display:flex;align-items:center;gap:12px}
.note{font-size:13px;color:var(--muted)}
.form-status{margin-top:8px;font-size:14px;color:#9ff}

/* footer */
.footer{padding:20px 0;background:#000;margin-top:26px}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.muted{color:var(--muted)}

/* whatsapp & scroll top */
.whatsapp-float{position:fixed;right:18px;bottom:100px;background:var(--accent-gradient);width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 18px 44px rgba(0,166,255,0.12);z-index:120;transition:transform .18s}
.whatsapp-float:hover{transform:translateY(-6px)}
#scrollTop{position:fixed;right:18px;bottom:20px;padding:10px 12px;border-radius:8px;background:linear-gradient(90deg,var(--g3),var(--g2));border:0;color:#fff;cursor:pointer;display:none;z-index:120}

/* reveal animations */
.reveal{opacity:0;transform:translateY(14px);transition:all .7s cubic-bezier(.2,.9,.3,1);will-change:transform,opacity}
.reveal.active{opacity:1;transform:none}
.reveal-sm{opacity:0;transform:translateY(8px);transition:all .6s;will-change:transform,opacity}

/* responsiveness */
@media(max-width:980px){
  .contact-grid{grid-template-columns:1fr}
  .mockup{width:280px;height:280px}
}
@media(max-width:820px){
  .main-nav ul{display:none}
  .mobile-toggle{display:block}
  .hero-grid{flex-direction:column-reverse;gap:18px}
  .hero{padding-top:84px}
  .package-grid{grid-template-columns:1fr}
}
@media(max-width:480px){
  h1{font-size:28px}
  .brand-name{font-size:16px}
  .logo{width:48px;height:48px}
  .kpis{flex-direction:column;gap:8px}
  .hero-left{padding-bottom:8px}
  /* avoid overlap WA + scroll */
  #scrollTop{right:18px;bottom:18px}
  .whatsapp-float{right:18px;bottom:72px}
}

.sticky-cta{position:fixed;bottom:0;left:0;width:100%;background:linear-gradient(90deg,#7c2cff,#00a6ff);
color:#fff;display:flex;justify-content:center;align-items:center;gap:10px;padding:10px;font-weight:600;z-index:9999;}
.sticky-cta .btn-primary{background:#fff;color:#111;padding:8px 14px;border-radius:8px;text-decoration:none;}

html{scroll-behavior:smooth;}
.btn-primary:hover{transform:scale(1.05);transition:.3s;}
.section-title{position:relative;display:inline-block;}
.section-title::after{content:'';position:absolute;left:0;bottom:-6px;width:40%;height:3px;
background:linear-gradient(90deg,#ff2bd6,#00a6ff);border-radius:2px;}
.reveal{opacity:0;transform:translateY(20px);transition:all .8s;}
.reveal.active{opacity:1;transform:translateY(0);}

/* Brand text visibility fix — add at end of style.css */
.brand-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
  margin-left:8px;       /* logo se thoda gap */
  color: #eef3ff;        /* ensure readable on dark bg */
  line-height:1;
}
.brand-text .brand-name{
  font-size:18px;
  font-weight:700;
  color: #ffffff;        /* strong white for brand name */
}
.brand-text .brand-tag{
  font-size:12px;
  color: var(--muted);
  margin-top:2px;
}

/* small-screen tweak */
@media(max-width:480px){
  .brand-text .brand-name{font-size:16px}
  .logo{width:48px;height:48px}
}

/* ===== Phone visibility fixes ===== */
/* Ensure tel: links are always readable and don't change to invisible on hover */
a[href^="tel"] {
  color: #ffffff !important;         /* always white */
  text-decoration: none !important;
  font-weight: 700;
}
a[href^="tel"]:hover,
a[href^="tel"]:focus {
  color: #ffffff !important;
  text-decoration: underline !important;
  transform: none !important;
}

/* If phone is shown inside .note or .muted blocks, make it strong-white on hover */
.note.muted strong,
.muted a[href^="tel"] { color: #ffffff !important; font-weight:700; }

/* Floating phone button (small round button like WhatsApp) */
.phone-float{
  position:fixed;
  right:18px;
  bottom:168px;              /* above whatsapp (which is bottom:100px) */
  width:56px;height:56px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(90deg,#ff7ab6,#7c2cff);
  color:#fff;box-shadow:0 18px 44px rgba(0,0,0,0.18);z-index:121;
  transition:transform .18s, box-shadow .18s;
}
.phone-float:hover{ transform:translateY(-6px); box-shadow:0 30px 60px rgba(0,0,0,0.28); }

/* make sure SVG icon inside uses white fill always */
.phone-float svg path, .phone-float svg { fill:#fff !important; }

/* Small-screen tweak: avoid WA overlap */
@media(max-width:480px){
  .phone-float{ right:18px; bottom:120px; } /* stacked above WA */
  .whatsapp-float{ bottom:72px; }
}


/* ----- Animations & Micro-interactions (Paste at end of style.css) ----- */

/* vars for gradient */
:root{
  --g1:#ff2bd6;
  --g2:#7c2cff;
  --g3:#00a6ff;
  --glass: rgba(255,255,255,0.03);
  --accent: linear-gradient(90deg,var(--g1),var(--g3));
}

/* LOGO glow */
.logo {
  transition: transform .35s ease, filter .35s ease;
  will-change: transform, filter;
}
.logo.glow {
  filter: drop-shadow(0 12px 28px rgba(124,44,255,0.12)) drop-shadow(0 6px 20px rgba(0,166,255,0.06));
  transform: translateY(-4px) scale(1.02);
}

/* Animated gradient underline for section titles */
.section-title {
  position:relative;
  display:inline-block;
}
.section-title::after{
  content:'';
  position:absolute;
  left:0;
  bottom:-8px;
  width:40%;
  height:4px;
  background:var(--accent);
  transform-origin:left center;
  transform:scaleX(0);
  transition:transform .6s cubic-bezier(.2,.9,.2,1);
  border-radius:3px;
}
.reveal.active .section-title::after{ transform:scaleX(1); }

/* Hero typing text */
.typing {
  display:inline-block;
  min-width: 22ch; 
  white-space:nowrap;
  overflow:hidden;
  border-right:2px solid rgba(255,255,255,0.12);
  animation: blink-caret .9s step-end infinite;
}
@keyframes blink-caret { 50% { border-color: transparent; } }

/* CTA pulse */
.btn-primary.animated {
  position:relative;
  transition:transform .18s ease, box-shadow .18s ease;
}
.btn-primary.animated::after{
  content:'';
  position:absolute;
  inset:0;
  border-radius:10px;
  pointer-events:none;
  box-shadow:0 10px 30px rgba(124,44,255,0.06);
  transform:scale(.98);
  transition:transform .28s ease, opacity .28s ease;
  opacity:0;
}
.btn-primary.animated:hover{ transform:translateY(-4px); }
.btn-primary.animated:hover::after{ opacity:1; transform:scale(1.02); }

/* KPI count-up style */
.kpi strong{ font-size:28px; display:block; background:var(--accent); -webkit-background-clip:text; color:transparent; }

/* card lift + gradient edge */
.case-card, .service-card, .package-card {
  transition: transform .35s cubic-bezier(.2,.9,.2,1), box-shadow .35s;
  will-change: transform, box-shadow;
}
.case-card:hover, .service-card:hover, .package-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 22px 48px rgba(8,10,20,0.5);
}
.case-card::after, .service-card::after {
  content:'';
  position:absolute;
  inset:0;
  border-radius:12px;
  pointer-events:none;
  background:linear-gradient(120deg, rgba(255,43,214,0.04), rgba(0,166,255,0.04));
  opacity:0;
  transition:opacity .4s;
}
.case-card:hover::after { opacity:1; }

/* small reveal improvement (stagger) */
.reveal { opacity:0; transform:translateY(22px) scale(.995); transition: all .7s cubic-bezier(.2,.9,.2,1); }
.reveal.active{ opacity:1; transform:translateY(0) scale(1); }


/* === Carousel container === */
.testi-carousel {
  position: relative;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto 50px;
}

.tc-track-wrap {
  overflow: hidden;
}

.tc-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(.2,.9,.2,1);
  will-change: transform;
}

.testi-card {
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  padding: 24px;
  min-width: 100%;
  box-sizing: border-box;
  text-align: left;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.55);
}

/* Avatar + details */
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(90deg, #ff2bd6, #00a6ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}

.testi-card .name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.testi-card .muted {
  font-size: 13px;
  color: var(--muted);
}

.testi-card .stars {
  color: #ffca2c;
  font-size: 14px;
}

.testi-card .quote {
  margin-top: 12px;
  color: #eaf1ff;
  font-size: 15px;
  line-height: 1.6;
}

.testi-card .btn-link {
  background: none;
  border: none;
  color: #00a6ff;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  margin-top: 8px;
  transition: color 0.2s;
}

.testi-card .btn-link:hover {
  color: #ff2bd6;
}

/* Carousel controls */
.tc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #fff;
  font-size: 36px;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  z-index: 20;
  transition: opacity 0.25s;
}

.tc-btn:hover { opacity: 1; }

.tc-prev { left: -40px; }
.tc-next { right: -40px; }

.tc-dots {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  gap: 8px;
}

.tc-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.25s ease;
}

.tc-dots button.active {
  background: linear-gradient(90deg,#ff2bd6,#00a6ff);
  box-shadow: 0 0 8px rgba(0,166,255,0.6);
}

/* === Grid reviews === */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.mini-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: transform 0.25s ease, background 0.25s;
}

.mini-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.06);
}

.mini-card strong {
  color: #fff;
  font-size: 15px;
}

.mini-card .snippet {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-top: 6px;
}

#loadMoreTesti {
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s;
}

#loadMoreTesti:hover {
  background: linear-gradient(90deg,#ff2bd6,#00a6ff);
  color: #fff;
  border: none;
}

/* === Modal popup === */
.testi-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 2000;
}

.testi-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.testi-modal-inner {
  background: #0b0f18;
  padding: 24px;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  color: #eef3ff;
}

.testi-modal .modal-close {
  margin-top: 14px;
  padding: 10px 16px;
  background: linear-gradient(90deg,#ff2bd6,#00a6ff);
  border: none;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: transform .2s ease;
}

.testi-modal .modal-close:hover {
  transform: translateY(-2px);
}

/* === Animation for fadeUp === */
.testimonials-ultra .reveal.active {
  animation: fadeUp .8s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Responsive === */
@media (max-width: 768px) {
  .tc-prev { left: 4px; }
  .tc-next { right: 4px; }
  .testi-card { padding: 20px; }
}

@media (max-width: 480px) {
  .avatar { width: 48px; height: 48px; font-size: 18px; }
  .testimonials-ultra { padding: 60px 0; }
  .testimonials-ultra .section-title { font-size: 26px; }
  .mini-card { padding: 12px; }
  .testi-card .quote { font-size: 14px; }
}

/* ===== PACKAGE DETAILS MODAL: styles & animations ===== */

.pkg-modal { 
  position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 99999;
  font-family: inherit;
}
.pkg-modal[aria-hidden="false"] { display: flex; }

/* backdrop */
.pkg-modal-backdrop {
  position:absolute; inset:0; background: rgba(5,6,16,0.66); backdrop-filter: blur(6px);
  opacity:0; transform: scale(1.02); transition:opacity .36s ease, transform .36s ease;
}

/* panel */
.pkg-modal-panel {
  position:relative; width:min(920px,95%); max-height:86vh; overflow:auto;
  background: linear-gradient(180deg, rgba(10,10,16,0.96), rgba(5,5,10,0.98));
  border-radius:14px; box-shadow: 0 30px 80px rgba(2,6,22,0.8); padding:20px;
  transform: translateY(24px) scale(.98); opacity:0; transition: transform .42s cubic-bezier(.2,.9,.2,1), opacity .32s;
}

/* when open */
.pkg-modal[aria-hidden="false"] .pkg-modal-backdrop { opacity:1; transform: scale(1); }
.pkg-modal[aria-hidden="false"] .pkg-modal-panel { transform: translateY(0) scale(1); opacity:1; }

/* header */
.pkg-modal-header{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.pkg-modal-header h3{ margin:0; font-size:20px; }
.pkg-price{ font-weight:800; font-size:18px; background:linear-gradient(90deg,#ff2bd6,#00a6ff); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }

/* body */
.pkg-modal-body{ color:rgba(255,255,255,0.9); line-height:1.6; }
.pkg-modal-body .section{ margin-bottom:12px; }
.pkg-modal-body ul{ margin:8px 0 0 18px; }

/* footer */
.pkg-modal-footer{ display:flex; gap:10px; justify-content:flex-end; margin-top:14px; }
.pkg-modal-close{ position:absolute; right:12px; top:12px; background:transparent; border:0; color:#fff; font-size:18px; cursor:pointer; }

/* small responsive */
@media(max-width:720px){
  .pkg-modal-panel{ padding:16px; border-radius:12px; }
  .pkg-modal-header h3{ font-size:18px; }
}

/* subtle content entrance for body children */
.pkg-modal-body > * { opacity:0; transform:translateY(8px); transition: all .36s cubic-bezier(.2,.9,.2,1); }
.pkg-modal[aria-hidden="false"] .pkg-modal-body > * { opacity:1; transform:translateY(0); }

/* accessible focus styles */
.pkg-modal-panel :focus { outline:3px solid rgba(124,44,255,0.12); outline-offset:3px; }


/* ===== Ultra Testimonials styling (add at end of style.css) ===== */
.testi-wrap{max-width:1100px;margin:18px auto 0}
.testi-carousel{display:flex;align-items:center;gap:12px;position:relative}
.tc-control{background:transparent;border:0;color:#fff;font-size:26px;padding:8px 12px;cursor:pointer;border-radius:10px;backdrop-filter: blur(6px)}
.tc-control:hover{transform:translateY(-3px)}
.tc-viewport{overflow:hidden;flex:1;border-radius:16px;position:relative}
.tc-track{display:flex;transition:transform .7s cubic-bezier(.2,.9,.2,1);will-change:transform}
.testi-card{min-width:100%;box-sizing:border-box;padding:22px;border-radius:14px;background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: 0 20px 60px rgba(6,8,16,0.6); border:1px solid rgba(255,255,255,0.03); transform-style:preserve-3d; transition: transform .35s ease, box-shadow .35s ease;
}
.testi-card:hover{transform: translateY(-8px) rotateX(2deg) translateZ(6px); box-shadow: 0 34px 80px rgba(3,6,20,0.7);}
.testi-head{display:flex;gap:14px;align-items:center}
.testi-card .avatar{width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:22px;color:#fff;background:linear-gradient(120deg,var(--g1),var(--g3));box-shadow:0 10px 36px rgba(0,0,0,0.45)}
.testi-card .meta .name{font-weight:800;font-size:16px}
.testi-card .meta .muted{font-size:13px;color:var(--muted);margin-top:4px}
.testi-card .quote{margin-top:14px;color: #eaf1ff;font-size:15px;line-height:1.5;min-height:56px}
.testi-actions{display:flex;gap:10px;align-items:center;margin-top:14px}
.testi-actions .view-full{background:transparent;border:1px solid rgba(255,255,255,0.06);padding:8px 10px;border-radius:8px;color:#fff;cursor:pointer}
.tc-dots{display:flex;gap:8px;justify-content:center;margin-top:14px}
.tc-dot{width:10px;height:10px;border-radius:999px;background:rgba(255,255,255,0.08);cursor:pointer;transition:all .22s}
.tc-dot.active{transform:scale(1.3);background:linear-gradient(90deg,var(--g1),var(--g3))}

/* Modal */
.testi-modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:9999;pointer-events:none;opacity:0;transition:opacity .25s}
.testi-modal[aria-hidden="false"]{pointer-events:auto;opacity:1}
.testi-modal-backdrop{position:absolute;inset:0;background:rgba(2,6,18,0.7);backdrop-filter: blur(6px)}
.testi-modal-panel{position:relative;z-index:2;background:linear-gradient(180deg, rgba(9,12,20,0.9), rgba(6,8,16,0.92));border-radius:12px;padding:22px;max-width:720px;width:92%;box-shadow:0 40px 90px rgba(0,0,0,0.8);border:1px solid rgba(255,255,255,0.03)}
.testi-modal-close{position:absolute;right:10px;top:10px;background:transparent;border:0;color:#fff;font-size:18px;cursor:pointer}
.testi-modal-body h3{margin-bottom:8px}
.testi-modal-body p{color:#eaf1ff;line-height:1.6}

/* responsive tweaks */
@media(max-width:820px){
  .tc-control{display:none}
  .testi-card .avatar{width:56px;height:56px;font-size:18px}
  .testi-card{padding:16px}
}


/* ===== Modern Testimonial Carousel ===== */
.testi-carousel {
  position: relative;
  overflow: hidden;
  max-width: 780px;
  margin: 0 auto;
}

.testi-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}

.testi-card {
  min-width: 100%;
  background: rgba(255,255,255,0.05);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  margin: 10px;
  transition: transform .5s, box-shadow .5s;
}
.testi-card:hover { transform: translateY(-6px) scale(1.02); }

.testi-card .avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(90deg,#ff2bd6,#00a6ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: #fff;
  margin-bottom: 12px;
}
.testi-card .meta { margin-bottom: 8px; }
.testi-card .name { font-weight: 700; font-size: 17px; }
.testi-card .muted { color: #b6c2d1; font-size: 13px; }
.testi-card p { color: #e6eefc; line-height: 1.5; font-size: 15px; }

/* dots navigation */
.testi-dots {
  text-align: center;
  margin-top: 16px;
}
.testi-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none; margin: 0 4px; cursor: pointer;
  transition: all .3s;
}
.testi-dots button.active {
  background: linear-gradient(90deg,#ff2bd6,#00a6ff);
  width: 22px; border-radius: 6px;
}

/* smooth fade */
.testi-track.fade { transition: opacity .6s ease; }

/* testimonial dots - small styles */
.tc-dot {
  width:10px; height:10px; border-radius:50%; border:none; margin:0 6px;
  background: rgba(255,255,255,0.28); cursor:pointer; transition: all .28s;
}
.tc-dot.active {
  background: linear-gradient(90deg,#ff2bd6,#00a6ff);
  width:22px; height:10px; border-radius:6px;
}
#tcDots { display:flex; justify-content:center; align-items:center; margin-top:14px; gap:6px; }


/* ===== ULTRA CONTACT: orbit rings + glassmorphic form ===== */
.contact-next-wrap{ padding: 18px 0 44px; }
.contact-next{
  display:grid;
  grid-template-columns: 1fr 520px;
  gap: 28px;
  align-items:start;
  max-width:var(--max-w);
  margin:0 auto;
  position:relative;
}

/* right column (form) container to position orbits */
.contact-right{ position:relative; display:flex; align-items:center; justify-content:center; }

/* Orbit wrapper: rings move around the form */
.orbit-wrap{
  position:absolute;
  inset: -10% -8% auto -8%;
  pointer-events:none;
  width: calc(520px + 80px);
  height: calc(520px + 80px);
  display:block;
  transform: translateY(-6%);
  z-index:1;
}

/* Each orbit ring — gradient border, animated rotation */
.orbit-ring{
  position:absolute;
  left:50%; top:50%;
  transform-origin:center;
  border-radius:50%;
  pointer-events:none;
  mix-blend-mode:screen;
  opacity:0.92;
  filter: blur(6px);
}

/* ring sizes and styles */
.orbit-ring.r1{ width:420px;height:420px;margin-left:-210px;margin-top:-210px;border:2px solid transparent;
  background: conic-gradient(from 120deg, rgba(255,43,214,0.18), rgba(0,166,255,0.12), rgba(124,44,255,0.12));
  animation: rotateSlow 18s linear infinite; transform: translateZ(0);
}
.orbit-ring.r2{ width:360px;height:360px;margin-left:-180px;margin-top:-180px;border-radius:50%;
  background: conic-gradient(from 200deg, rgba(0,166,255,0.12), rgba(255,43,214,0.12), transparent 40%);
  animation: rotateRev 14s linear infinite;
  filter: blur(8px);
  opacity:0.85;
}
.orbit-ring.r3{ width:260px;height:260px;margin-left:-130px;margin-top:-130px;
  background: radial-gradient(circle at 20% 20%, rgba(124,44,255,0.12), transparent 35%);
  box-shadow: 0 12px 40px rgba(124,44,255,0.06);
  animation: rotateSlow 11s linear infinite;
}
.orbit-ring.r4{ width:160px;height:160px;margin-left:-80px;margin-top:-80px;
  background: linear-gradient(90deg, rgba(255,43,214,0.14), rgba(0,166,255,0.14));
  animation: rotateRev 9s linear infinite;
  filter: blur(2px);
  opacity:0.98;
}

/* small inner glow pulse */
.glow-pulse{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:36px;height:36px;border-radius:50%;
  background: radial-gradient(circle, rgba(255,255,255,0.85), rgba(124,44,255,0.18) 30%, transparent 50%);
  box-shadow:0 0 40px rgba(124,44,255,0.18), 0 0 80px rgba(0,166,255,0.06);
  animation: innerPulse 3s ease-in-out infinite;
  opacity:0.95;
}

/* form card (front) — elevated above orbits */
.next-form{
  position:relative;
  z-index:5;
  width:100%;
  max-width:520px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  padding:28px;
  border-radius:16px;
  box-shadow: 0 28px 80px rgba(2,8,20,0.6);
  backdrop-filter: blur(14px) saturate(120%);
  transition: transform .45s cubic-bezier(.2,.9,.2,1), box-shadow .45s;
  overflow:visible;
  border: 1px solid rgba(255,255,255,0.04);
}

/* big entrance */
.reveal.active .next-form{ transform: translateY(0) scale(1); opacity:1; }

/* floating inputs (tweak) */
.floating-input{ position:relative; margin-bottom:16px; }
.floating-input input,
.floating-input textarea,
.floating-input select{
  width:100%; padding:14px 14px; border-radius:10px;
  border:1px solid rgba(255,255,255,0.07); background:transparent; color:#fff;
  outline:none; transition: box-shadow .25s, transform .18s;
}
.floating-input label,
.floating-input .select-label{
  position:absolute; left:14px; top:14px; color:rgba(200,210,230,0.68);
  transition: all .22s ease; pointer-events:none;
  font-size:14px;
}
.floating-input input:focus,
.floating-input textarea:focus,
.floating-input select:focus { box-shadow: 0 10px 30px rgba(124,44,255,0.06); transform: translateY(-1px); }
.floating-input input:focus + label,
.floating-input textarea:focus + label,
.floating-input select:focus + .select-label,
.floating-input input:not(:placeholder-shown) + label,
.floating-input textarea:not(:placeholder-shown) + label {
  top:-9px; left:10px; font-size:12px; background:#05050a; padding:0 6px; color:var(--g3);
  border-radius:6px;
}

/* big submit + status */
.form-row{ display:flex; align-items:center; gap:12px; margin-top:6px; }
.btn-primary.big{ padding:12px 18px; font-size:16px; border-radius:12px; }
.form-status{ color:#9ff; font-size:14px; }

/* subtle hover tilt for form to feel alive */
.next-form:hover{ transform: translateY(-6px) rotateX(0.8deg); box-shadow: 0 40px 110px rgba(6,10,30,0.7); }

/* when form is 'sent' animate a strong pulse on rings & form */
.next-form.sent{ animation: sentPulse 0.9s ease forwards; }
.next-form.sent ~ .orbit-wrap .orbit-ring { animation-play-state: paused; opacity:1; filter:blur(4px); }

/* popup adjustments */
.success-popup .popup-content{ max-width:480px; width:92%; }

/* keyframes */
@keyframes rotateSlow { from{ transform: translate(-50%,-50%) rotate(0deg)} to{ transform: translate(-50%,-50%) rotate(360deg)} }
@keyframes rotateRev { from{ transform: translate(-50%,-50%) rotate(360deg) } to{ transform: translate(-50%,-50%) rotate(0deg)} }
@keyframes innerPulse { 0%{ transform:translate(-50%,-50%) scale(.9); opacity:.9 } 50%{ transform:translate(-50%,-50%) scale(1.12); opacity:1 } 100%{ transform:translate(-50%,-50%) scale(.9); opacity:.9 } }
@keyframes sentPulse { 0%{ box-shadow:0 28px 80px rgba(2,8,20,0.6) } 40%{ transform: scale(1.02) translateY(-6px); box-shadow:0 50px 120px rgba(124,44,255,0.18) } 100%{ transform: scale(1) translateY(-2px); box-shadow:0 28px 80px rgba(2,8,20,0.6) } }

/* responsive */
@media (max-width:980px){
  .contact-next{ grid-template-columns: 1fr; gap:18px; }
  .orbit-wrap{ display:none; } /* hide large orbits on small screens for clarity */
  .contact-right{ padding-top:10px; }
}

/* ===== FIX: Success popup base + visible state ===== */
.success-popup{
  position: fixed;
  inset: 0;
  display: none;              /* hidden by default */
  align-items: center;
  justify-content: center;
  background: rgba(2,6,18,0.65);
  z-index: 9999;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* when JS adds .show -> visible and centered */
.success-popup.show{
  display: flex;
  animation: fadeIn .28s ease;
}

/* popup content styling (stronger contrast and centered) */
.success-popup .popup-content{
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  padding: 24px 30px;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(2,6,22,0.8);
  text-align: center;
  color: #eef3ff;
  max-width: 520px;
  width: calc(100% - 48px);
  transform: translateY(6px);
}

/* subtle show animation for popup content */
.success-popup.show .popup-content{
  animation: popupSlide .36s cubic-bezier(.2,.9,.2,1) both;
}

/* keyframes (reused) */
@keyframes popupSlide {
  from { opacity: 0; transform: translateY(18px) scale(.995); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* ===== FIX: Service <select> styling for dark theme ===== */
/* base select style */
.floating-input select{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;         /* ensure transparent background */
  color: #eaf1ff;                  /* white-ish text */
  padding-right: 44px;             /* room for custom arrow */
  position: relative;
}

/* show a custom arrow (CSS-only) */
.floating-input select::-ms-expand { display: none; } /* hide IE arrow */
.floating-input select {
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
  color: #eaf1ff;
}

/* options (dropdown list) - dark background and readable text */
.floating-input select option{
  background: #0b1220;  /* dark option background */
  color: #eaf1ff;       /* readable option text */
}

/* when label overlaps, keep label visible */
.floating-input .select-label {
  pointer-events: none;
  background: transparent;
}

/* ensure placeholder/disabled option looks like placeholder */
.floating-input select option[disabled] {
  color: rgba(232,240,255,0.55);
}

/* small responsive tweak */
@media (max-width:820px){
  .floating-input select {
    padding-right: 34px;
  }
}

/* ===== SELECT LABEL FLOAT FIX ===== */
/* when the parent .floating-input has .filled, show floated label */
.floating-input.filled label,
.floating-input.filled .select-label {
  top: -9px;
  left: 10px;
  font-size: 12px;
  color: var(--g3);
  background: #05050a;
  padding: 0 6px;
  border-radius: 6px;
}

/* make sure select when value chosen shows white text (for dark theme) */
.floating-input select {
  color: #eaf1ff;
}

/* keep the disabled placeholder lighter */
.floating-input select option[disabled] {
  color: rgba(232,240,255,0.55);
}




/* ===== Single Neon Stroke orbit animation around mockup logo ===== */
.mockup { position: relative; overflow: visible; }

/* SVG container — sits above background, below the logo (z-index wise) */
.orbit-line {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1.08);
  width: 420px;    /* adjust size to sit around logo */
  height: 420px;
  z-index: 5;      /* ensure it's above background but below .mock-logo z-index 6 */
  pointer-events: none;
  filter: drop-shadow(0 20px 60px rgba(124,44,255,0.08));
}

/* the stroke path */
.orbit-line .orbit-path {
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#glow);
  opacity: 0.98;
  /* stroke-dasharray creates a single moving dash effect */
  stroke-dasharray: 36 480; /* length of dash (36) and gap (480) -> creates single moving segment */
  stroke-dashoffset: 0;
  transform-origin: 50% 50%;
  transition: transform .28s ease;
  will-change: stroke-dashoffset, transform;
}

/* animate the dash moving along the path and rotate the whole SVG slowly */
@keyframes dashMove {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -516; } /* negative to move forward */
}
@keyframes svgRotate {
  from { transform: translate(-50%,-50%) rotate(0deg) scale(1.08); }
  to   { transform: translate(-50%,-50%) rotate(360deg) scale(1.08); }
}

/* start animations */
.orbit-line .orbit-path {
  animation: dashMove 2.8s linear infinite;
}
.orbit-line {
  animation: svgRotate 28s linear infinite;
}

/* stronger hover effect: speed up and expand */
.mockup:hover .orbit-line .orbit-path {
  animation-duration: 1.6s; /* faster dash */
  stroke-width: 4.6;
  opacity: 1;
  filter: blur(4px) drop-shadow(0 30px 100px rgba(124,44,255,0.14));
}
.mockup:hover .orbit-line {
  animation-duration: 18s; /* rotate faster on hover */
  transform: translate(-50%,-50%) scale(1.12);
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  .orbit-line, .orbit-line .orbit-path { animation: none !important; transform: translate(-50%,-50%) !important; }
}
/* ===== NEXT-LEVEL READY TO START ANIMATIONS ===== */

/* gradient animated heading */
.neon-title {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(90deg, #ff2bd6, #7c2cff, #00a6ff, #ff2bd6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  animation: neonFlow 6s linear infinite;
  letter-spacing: 0.5px;
  position: relative;
}
@keyframes neonFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* spark emojis shimmer */
.spark {
  animation: sparkBlink 1.8s ease-in-out infinite;
  display: inline-block;
  transform-origin: center;
}
@keyframes sparkBlink {
  0%,100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3) rotate(10deg); }
}

/* animated underline on lead text */
.animate-line {
  position: relative;
  display: inline-block;
}
.animate-line::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #ff2bd6, #00a6ff);
  border-radius: 2px;
  animation: lineGrow 2.5s cubic-bezier(.2,.9,.2,1) 0.5s forwards;
}
@keyframes lineGrow {
  to { width: 100%; }
}

/* animated highlights list */
.animated-list li {
  position: relative;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(20px);
  animation: listUp 0.8s ease forwards;
}
.animated-list li:nth-child(1){ animation-delay: 0.5s; }
.animated-list li:nth-child(2){ animation-delay: 0.8s; }
.animated-list li:nth-child(3){ animation-delay: 1.1s; }
@keyframes listUp {
  to { opacity: 1; transform: translateY(0); }
}

/* glowing background behind section */
.contact-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 20% 30%, rgba(124,44,255,0.05), transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(0,166,255,0.04), transparent 60%);
}
.contact-section::before {
  content: "";
  position: absolute;
  inset: -50px;
  background: conic-gradient(from 0deg, rgba(255,43,214,0.04), rgba(124,44,255,0.04), rgba(0,166,255,0.04), rgba(255,43,214,0.04));
  animation: rotateBg 18s linear infinite;
  z-index: 0;
  opacity: 0.5;
}
@keyframes rotateBg {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* glowing send button pulse */
.pulse-btn {
  position: relative;
  overflow: hidden;
}
.pulse-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff2bd6, #7c2cff, #00a6ff);
  opacity: 0.3;
  animation: pulseOut 2s ease-in-out infinite;
}
@keyframes pulseOut {
  0%,100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.2); opacity: 0.4; }
}

/* make sure the form & text are above rotating background */
.contact-next, .contact-form, .contact-left { position: relative; z-index: 2; }

/* ===== ULTRA 'What we do' — premium cards & animations ===== */

/* container tweak (keeps layout) */
.services-grid { perspective: 1400px; }

/* card base: glass + neon edge + depth */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: 0 18px 60px rgba(4,6,20,0.6);
  transition: transform .45s cubic-bezier(.2,.9,.2,1), box-shadow .45s, filter .45s;
  transform-style: preserve-3d;
  will-change: transform;
  border: 1px solid rgba(255,255,255,0.03);
}

/* neon rim using pseudo-element */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px; /* thickness of rim */
  background: linear-gradient(90deg, rgba(255,43,214,0.25), rgba(124,44,255,0.22), rgba(0,166,255,0.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity .45s, transform .55s;
}

/* inner accent (soft vignette) */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events:none;
  background: radial-gradient(circle at 10% 10%, rgba(255,43,214,0.03), transparent 20%), radial-gradient(circle at 90% 90%, rgba(0,166,255,0.03), transparent 20%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

/* icon styling */
.service-card img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45), 0 6px 18px rgba(124,44,255,0.04);
  transition: transform .36s, filter .36s, box-shadow .36s;
  transform-origin: center;
  z-index: 3;
}

/* title & text */
.service-card h3 { margin-top: 12px; font-size: 18px; font-weight: 700; }
.service-card p { color: rgba(255,255,255,0.78); font-size: 14px; margin-top:8px; }

/* hover / active look */
.service-card:hover {
  transform: translateY(-14px) rotateX(6deg) rotateY(4deg) scale(1.02);
  box-shadow: 0 36px 120px rgba(6,10,30,0.75);
  filter: saturate(1.06);
}
.service-card:hover::before { opacity: 1; transform: scale(1); }

/* icon pop on hover */
.service-card:hover img { transform: translateY(-6px) scale(1.06) rotate(-4deg); box-shadow: 0 26px 80px rgba(124,44,255,0.12); filter: drop-shadow(0 20px 40px rgba(0,166,255,0.06)); }

/* subtle floating motion for icons so cards feel alive */
@keyframes iconFloat {
  0% { transform: translateY(0) }
  50% { transform: translateY(-6px) }
  100% { transform: translateY(0) }
}
.service-card .icon-float { animation: iconFloat 5.6s ease-in-out infinite; }

/* reveal / stagger */
.service-card { opacity: 0; transform: translateY(28px) scale(.995); transition: transform .6s cubic-bezier(.2,.9,.2,1), opacity .6s; }
.service-card.revealed { opacity: 1; transform: translateY(0) scale(1); }

/* small animated shine sweep */
.service-card .shine {
  position:absolute; left:-40%; top:-30%;
  width:220%; height:160%;
  background: linear-gradient(120deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.06) 45%, rgba(255,255,255,0.02) 55%, rgba(255,255,255,0.01) 100%);
  transform: rotate(-18deg) translateX(-100%);
  pointer-events:none;
  opacity: 0;
  transition: opacity .45s, transform .9s;
}
.service-card:hover .shine { opacity: 1; transform: rotate(-18deg) translateX(8%); }

/* accessibility focus */
.service-card:focus-within { outline: 2px solid rgba(124,44,255,0.12); outline-offset: 6px; }

/* responsive tweaks */
@media (max-width:980px){
  .service-card { padding: 16px; border-radius:12px; }
  .service-card img { width:56px; height:56px; padding:6px; }
}


/* ===== NEXT-LEVEL WHAT WE DO HEADING ===== */
.whatwedo-header {
  position: relative;
  text-align: center;
  margin-bottom: 80px;
  padding-top: 60px;
  overflow: hidden;
}
.whatwedo-title {
  position: relative;
  font-size: 52px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #ff2bd6, #7c2cff, #00a6ff, #ff2bd6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 400% 400%;
  animation: gradientFlow 8s linear infinite;
  display: inline-block;
  text-shadow: 0 0 20px rgba(124,44,255,0.2);
}

/* shimmer line sweeping through */
.whatwedo-title .shine {
  position: absolute;
  top: 0;
  left: -75%;
  height: 100%;
  width: 50%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
  transform: skewX(-25deg);
  animation: shineMove 4s linear infinite;
}
@keyframes shineMove {
  0% { left: -75%; }
  50% { left: 125%; }
  100% { left: 125%; }
}

/* subtext */
.whatwedo-subtext {
  color: rgba(230,235,255,0.75);
  margin-top: 12px;
  font-size: 16px;
  letter-spacing: 0.3px;
}
.glow-word {
  background: linear-gradient(90deg, #ff2bd6, #00a6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(124,44,255,0.4);
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { text-shadow: 0 0 10px rgba(124,44,255,0.4); }
  50% { text-shadow: 0 0 25px rgba(0,166,255,0.8); }
}

/* background particles canvas */
#whatwedo-particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 160%;
  pointer-events: none;
  z-index: 0;
  filter: blur(0.8px);
}

/* subtle gradient reflection below title */
.whatwedo-title::after {
  content: "What We Do";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) scaleY(-1);
  font-size: 52px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(90deg, rgba(255,43,214,0.4), rgba(0,166,255,0.3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.15;
  clip-path: polygon(0 0,100% 0,100% 100%,0 70%);
}

/* responsive tweaks */
@media (max-width:768px){
  .whatwedo-title { font-size: 36px; }
  .whatwedo-title::after { font-size: 36px; }
  .whatwedo-subtext { font-size: 14px; }
}

/* gradient flow animation */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* ===== ULTRA PROJECTS LOOK ===== */
.ultra-projects {
  position: relative;
  overflow: hidden;
}

/* floating particles canvas */
.projects-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 140%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
}

/* header */
.projects-title {
  font-size: 44px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  position: relative;
}
.projects-title .glow {
  background: linear-gradient(90deg,#ff2bd6,#7c2cff,#00a6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 250% 250%;
  animation: gradientFlow 5s linear infinite;
  position: relative;
}
.shine-line {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg,#ff2bd6,#00a6ff);
  animation: lineGrow 1.8s cubic-bezier(.2,.9,.2,1) forwards;
}
@keyframes lineGrow { to { width: 60%; } }

/* grid */
.projects-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
}

/* card */
.project-card {
  background: rgba(255,255,255,0.03);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 70px rgba(0,0,0,0.55);
  position: relative;
  transform-style: preserve-3d;
  transition: .5s cubic-bezier(.2,.9,.2,1);
}

/* neon glow behind card */
.project-glow {
  position: absolute;
  inset: -20px;
  border-radius: 22px;
  background: radial-gradient(circle, rgba(124,44,255,0.25), transparent 70%);
  opacity: 0;
  transition: .6s ease;
  filter: blur(20px);
}

/* shining sweep */
.project-card .shine {
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,transparent,rgba(255,255,255,0.4),transparent);
  transform: skewX(-25deg);
  transition: .6s ease;
}

/* on hover */
.project-card:hover {
  transform: translateY(-14px) scale(1.03);
  border-color: rgba(124,44,255,0.4);
}
.project-card:hover .project-glow { opacity: 1; }
.project-card:hover .shine { left: 150%; }

/* project image */
.project-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: brightness(0.9);
  transition: .5s ease;
}
.project-card:hover img {
  filter: brightness(1.05);
  transform: scale(1.08);
}

/* info */
.project-info {
  padding: 20px;
  position: relative;
  z-index: 2;
}
.project-info h3 {
  font-size: 20px;
  font-weight: 700;
}
.project-info p {
  color: rgba(220,220,255,0.75);
  font-size: 14px;
  margin-top: 4px;
}

/* button */
.project-btn {
  margin-top: 14px;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(90deg,#ff2bd6,#7c2cff,#00a6ff);
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: .3s ease;
}
.project-btn:hover {
  opacity: .85;
  transform: translateY(-2px);
}

/* smooth gradient animation */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}


/* ===== Dropdown visual fixes (paste near other .floating-input rules) ===== */
.floating-input select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;       /* card background shows through */
  color: #eaf1ff;
  padding: 12px 44px 12px 14px;  /* space for custom arrow */
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  position: relative;
  z-index: 1;
}

/* custom arrow (two triangles) */
.floating-input select {
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 4px), calc(100% - 12px) calc(50% - 4px);
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
}

/* options (dropdown popup) — browsers may override some styles but this helps */
.floating-input select option {
  background: #0b1220;
  color: #eaf1ff;
}

/* placeholder/disabled style */
.floating-input select option[disabled] {
  color: rgba(232,240,255,0.55);
}


/* Prevent layout shift from scrollbar appearing/disappearing */
html {
  overflow-y: scroll;
  overflow-anchor: none;  /* prevents browser auto-scroll adjustments */
}
