/* ==========================================================================
   Popular India Groups — Premium Corporate Website
   style.css
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root{
  --primary:#0B5ED7;
  --primary-dark:#084bb0;
  --secondary:#0A2540;
  --accent:#2FB5FF;
  --white:#FFFFFF;
  --light:#F7F8FA;
  --dark:#222222;

  --gradient-primary: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
  --gradient-dark: linear-gradient(160deg, var(--secondary) 0%, #06172b 100%);

  --shadow-sm: 0 4px 14px rgba(10,37,64,0.06);
  --shadow-md: 0 12px 32px rgba(10,37,64,0.10);
  --shadow-lg: 0 24px 60px rgba(10,37,64,0.16);
  --shadow-primary: 0 16px 40px rgba(11,94,215,0.28);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --font-body: 'Poppins', sans-serif;
  --container-w: 1240px;

  --ease: cubic-bezier(.16,.84,.44,1);
  --ease-soft: cubic-bezier(.22,.61,.36,1);

  /* ---- Hero (light-premium) tokens ---- */
  --hero-font: 'Playfair Display', serif;
  --hero-cream:#FBF7EF;
  --hero-ivory:#F3ECDD;
  --hero-navy:#0E2A47;
  --hero-navy-soft:rgba(14,42,71,0.66);
  --hero-gold:#B9903F;
  --hero-gold-light:#D8B876;
  --hero-gradient-gold: linear-gradient(120deg, var(--hero-gold) 0%, var(--hero-gold-light) 100%);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:auto; }
body{
  font-family:var(--font-body);
  color:var(--dark);
  background:var(--white);
  line-height:1.6;
  font-weight:400;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; border:none; background:none; cursor:pointer; }
input, textarea{ font-family:inherit; }
::selection{ background:var(--primary); color:var(--white); }

h1,h2,h3,h4,h5{ font-weight:700; line-height:1.15; color:var(--secondary); }

.container{
  max-width:var(--container-w);
  margin:0 auto;
  padding:0 32px;
}
@media (max-width: 480px){
  .container{ padding:0 20px; }
}

section{ position:relative; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001s !important; transition-duration:0.001s !important; }
}

/* ---------- Typography helpers ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  font-weight:600;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--primary);
  margin-bottom:18px;
}
.eyebrow-dot{
  width:8px; height:8px; border-radius:50%;
  background:var(--gradient-primary);
  box-shadow:0 0 0 4px rgba(11,94,215,0.15);
}
.section-title{
  font-size:clamp(2rem, 3.4vw, 3rem);
  font-weight:700;
  letter-spacing:-0.02em;
  color:var(--secondary);
  perspective:700px;
}
.split-word{
  display:inline-block;
  will-change:transform, opacity;
  transform-style:preserve-3d;
}
.section-desc{
  margin-top:16px;
  max-width:640px;
  font-size:17px;
  color:#5c6b7a;
}
.section-head{
  max-width:760px;
  margin-bottom:64px;
}
.text-gradient{
  color:var(--primary);
  background:var(--gradient-primary);
  -webkit-background-clip:text;
  background-clip:text;
}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .text-gradient{ color:transparent; }
}

/* ---------- Buttons ---------- */
.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:16px 30px;
  font-size:15px;
  font-weight:600;
  border-radius:var(--radius-pill);
  overflow:hidden;
  isolation:isolate;
  white-space:nowrap;
  transition:transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn i{ font-size:13px; transition:transform 0.35s var(--ease); }
.btn:hover i{ transform:translateX(4px); }
.btn-primary{
  background:var(--gradient-primary);
  color:var(--white);
  box-shadow:var(--shadow-primary);
}
.btn-primary:hover{ transform:translateY(-3px); box-shadow:0 20px 46px rgba(11,94,215,0.36); }
.btn-outline{
  background:transparent;
  color:var(--secondary);
  border:1.5px solid rgba(10,37,64,0.16);
}
.btn-outline:hover{ border-color:var(--primary); color:var(--primary); transform:translateY(-3px); }
.btn-ghost{
  background:rgba(255,255,255,0.12);
  color:var(--white);
  border:1px solid rgba(255,255,255,0.35);
  backdrop-filter:blur(10px);
}
.btn-ghost:hover{ background:rgba(255,255,255,0.2); transform:translateY(-3px); }
.play-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:26px; height:26px; border-radius:50%;
  background:var(--white); color:var(--primary);
  font-size:10px;
}

/* Ripple */
.btn-ripple{ position:relative; }
.ripple-circle{
  position:absolute;
  border-radius:50%;
  background:rgba(255,255,255,0.5);
  transform:scale(0);
  animation:ripple-anim 0.7s ease-out forwards;
  pointer-events:none;
}
@keyframes ripple-anim{
  to{ transform:scale(2.6); opacity:0; }
}

/* ---------- Preloader ---------- */
.preloader{
  position:fixed; inset:0; z-index:9999;
  background:var(--secondary);
  display:flex; align-items:center; justify-content:center;
  transition:opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
.preloader.hide{ opacity:0; visibility:hidden; pointer-events:none; }
.preloader-inner{ text-align:center; }
.preloader-logo{
  margin-bottom:28px;
  display:flex; align-items:center; justify-content:center;
}
.preloader-logo-img{
  width:clamp(72px, 10vw, 108px);
  height:auto;
  opacity:0;
  transform:scale(0.85);
}
.preloader-bar{
  width:220px; height:3px; background:rgba(255,255,255,0.15);
  border-radius:99px; margin:0 auto; overflow:hidden;
}
.preloader-bar span{
  display:block; height:100%; width:0%;
  background:var(--gradient-primary);
}
.preloader-count{
  margin-top:14px; color:rgba(255,255,255,0.6);
  font-size:13px; letter-spacing:0.1em;
}

/* ---------- Scroll progress ---------- */
.scroll-progress{
  position:fixed; top:0; left:0; width:100%; height:3px;
  z-index:1000; background:transparent;
}
.scroll-progress span{
  display:block; height:100%; width:0%;
  background:var(--gradient-primary);
  transition:width 0.05s linear;
}

/* ---------- Cursor ---------- */
.cursor-dot, .cursor-ring{
  position:fixed; top:0; left:0;
  pointer-events:none; z-index:9998;
  border-radius:50%;
  transform:translate(-50%,-50%);
  will-change:transform;
}
.cursor-dot{
  width:6px; height:6px; background:var(--primary);
}
.cursor-ring{
  width:36px; height:36px;
  border:1.5px solid rgba(11,94,215,0.5);
  transition:width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.cursor-ring.is-active{
  width:60px; height:60px;
  background:rgba(11,94,215,0.08);
  border-color:transparent;
}
@media (max-width: 900px){
  .cursor-dot, .cursor-ring{ display:none; }
}

/* ---------- Navbar ---------- */
.navbar{
  position:fixed; top:0; left:0; width:100%; z-index:900;
  padding:26px 0;
  transition:padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.navbar.scrolled{
  padding:14px 0;
  background:rgba(255,255,255,0.78);
  backdrop-filter:blur(16px) saturate(160%);
  box-shadow:0 8px 30px rgba(10,37,64,0.08);
}
.nav-inner{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:24px;
}
.brand{ display:flex; align-items:center; gap:10px; justify-self:start; }
.brand-logo{ width:38px; height:38px; object-fit:contain; border-radius:8px; }
.brand-text{
  font-size:20px; font-weight:700; color:var(--secondary);
  transition:color 0.4s var(--ease);
}
.brand-text em{ font-style:normal; color:var(--hero-gold); }

.nav-links{ display:flex; align-items:center; gap:2px; justify-self:center; }
.nav-link{
  position:relative;
  padding:10px 16px;
  font-size:12.5px; font-weight:600;
  text-transform:uppercase; letter-spacing:0.07em;
  color:#4a5768;
  transition:color 0.3s var(--ease);
}
.nav-link::after{
  content:''; position:absolute; left:16px; right:16px; bottom:2px; height:2px;
  background:var(--gradient-primary);
  transform:scaleX(0); transform-origin:left;
  transition:transform 0.35s var(--ease);
}
.nav-link:hover, .nav-link.active{ color:var(--secondary); }
.nav-link:hover::after, .nav-link.active::after{ transform:scaleX(1); }

.nav-actions{ display:flex; align-items:center; gap:18px; justify-self:end; }
.nav-actions .btn-primary{ padding:12px 24px; font-size:14px; }

.nav-toggle{
  display:none; flex-direction:column; gap:5px; width:32px; height:24px; z-index:901;
}
.nav-toggle span{
  display:block; height:2px; width:100%; background:var(--secondary);
  border-radius:2px; transition:all 0.35s var(--ease);
}
.nav-toggle.is-active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2){ opacity:0; }
.nav-toggle.is-active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-menu{
  position:fixed; inset:0; z-index:850;
  background:var(--secondary);
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  gap:48px;
  transform:translateY(-100%);
  transition:transform 0.55s var(--ease);
}
.mobile-menu.is-open{ transform:translateY(0); }
.mobile-menu-links{ display:flex; flex-direction:column; align-items:center; gap:22px; }
.mobile-menu-links a{
  font-size:clamp(1.6rem,5vw,2.2rem); font-weight:600; color:var(--white);
  opacity:0.85;
}
.mobile-menu-links a:hover{ opacity:1; color:var(--accent); }
.mobile-menu-footer{ display:flex; flex-direction:column; gap:10px; align-items:center; }
.mobile-menu-footer a{ color:rgba(255,255,255,0.7); font-size:14px; }

@media (max-width: 980px){
  .nav-links{ display:none; }
  .nav-actions .btn-primary{ display:none; }
  .nav-toggle{ display:flex; }
  .nav-inner{ grid-template-columns:minmax(0,1fr) auto; }
  .brand{ min-width:0; }
  .brand-text{
    display:inline-block; max-width:calc(100vw - 140px);
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  }
}

@media (max-width: 380px){
  .brand-text{ font-size:17px; max-width:calc(100vw - 120px); }
  .brand-logo{ width:32px; height:32px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative;
  min-height:100vh;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  overflow:hidden;
  background:var(--hero-cream);
  padding:150px 24px 130px;
}
.hero-sequence-wrap{
  position:absolute; inset:-6% -6%; z-index:0;
  overflow:hidden;
  filter:saturate(1.04) brightness(1.0) contrast(1.02);
  transform:scale(1.08);
  transform-origin:center center;
  will-change:transform;
}
.hero-sequence-canvas{
  position:absolute; inset:0; z-index:0;
  width:100%; height:100%;
  display:block;
  background:var(--hero-cream) url('assets/hero-sequence/poster.jpg') center/cover no-repeat;
}
.hero-overlay{
  position:absolute; inset:0; z-index:2;
  background:none;
}
.hero-glow{
  position:absolute; z-index:3; width:600px; height:600px; border-radius:50%;
  background:radial-gradient(circle, rgba(185,144,63,0.16) 0%, transparent 70%);
  top:0; left:0; pointer-events:none;
  transform:translate(-50%,-50%);
  transition:opacity 0.4s ease;
}
.hero-inner{
  position:relative; z-index:4;
  display:flex; flex-direction:column; align-items:flex-start;
  text-align:left;
}
.hero-text-panel{
  margin-bottom:30px;
}
.hero .eyebrow{ color:var(--hero-gold); }
.hero .eyebrow-dot{ background:var(--hero-gradient-gold); box-shadow:0 0 0 4px rgba(185,144,63,0.15); }
.hero-title{
  font-family:var(--hero-font);
  font-weight:600;
  font-size:clamp(2.6rem, 6.4vw, 5.2rem);
  color:var(--hero-cream);
  letter-spacing:-0.01em;
  margin-bottom:26px;
  text-shadow:0 4px 24px rgba(0,0,0,0.45);
}
.split-line{ display:block; overflow:hidden; text-align:left; }
.hero-title em{ font-style:italic; color:var(--hero-gold); }
.hero-sub{
  max-width:600px;
  font-size:18px;
  color:rgba(251,247,239,0.86);
  margin:0;
  text-shadow:0 2px 14px rgba(0,0,0,0.4);
}
.hero-cta{
  display:flex; align-items:center; justify-content:flex-start; gap:20px; flex-wrap:wrap;
  margin-bottom:70px;
}
.hero .btn-primary{
  background:var(--hero-navy);
  box-shadow:0 16px 40px rgba(14,42,71,0.22);
}
.hero .btn-primary:hover{ box-shadow:0 20px 46px rgba(14,42,71,0.3); }
.hero .btn-ghost{
  background:rgba(251,247,239,0.08);
  color:var(--hero-cream);
  border:1.5px solid rgba(251,247,239,0.4);
  backdrop-filter:blur(6px);
}
.hero .btn-ghost:hover{ background:rgba(251,247,239,0.16); }
.hero .btn-ghost .play-icon{ background:var(--hero-cream); color:var(--hero-navy); }
.hero-stats{
  display:flex; align-items:center; justify-content:flex-start; gap:32px;
  padding:20px 36px 6px;
  border-top:1px solid rgba(14,42,71,0.14);
  max-width:640px;
  margin:0;
  background:rgba(251,247,239,0.4);
  backdrop-filter:blur(14px) saturate(1.1);
  border-radius:20px;
}
.hero-stat p{ font-size:13.5px; color:rgba(14,42,71,0.56); margin-top:2px; }
.hero-stat{ display:flex; flex-direction:column; align-items:flex-start; }
.hero-stat .counter, .hero-stat-suffix{
  font-family:var(--hero-font);
  font-size:clamp(1.6rem,3vw,2.2rem);
  font-weight:700; color:var(--hero-navy); display:inline-block;
}
.hero-stat-suffix{ color:var(--hero-gold); }
.hero-stat-divider{ width:1px; height:40px; background:rgba(14,42,71,0.14); }

.scroll-cue{
  position:absolute; bottom:36px; left:50%; transform:translateX(-50%);
  z-index:4; display:flex; flex-direction:column; align-items:center; gap:10px;
  color:rgba(14,42,71,0.55); font-size:12px; letter-spacing:0.1em; text-transform:uppercase;
}
.scroll-cue-line{
  width:1px; height:44px; background:rgba(14,42,71,0.2); position:relative; overflow:hidden;
}
.scroll-cue-line i{
  position:absolute; top:-100%; left:0; width:100%; height:100%;
  background:var(--hero-gold);
  animation:scroll-cue-move 1.8s ease-in-out infinite;
}
@keyframes scroll-cue-move{
  0%{ top:-100%; } 50%{ top:0%; } 100%{ top:100%; }
}

@media (max-width: 640px){
  .hero-stats{ gap:18px; flex-wrap:wrap; }
  .hero-stat-divider{ display:none; }
}

/* ==========================================================================
   MARQUEE STRIP
   ========================================================================== */
.marquee-strip{
  background:var(--secondary);
  padding:18px 0;
  overflow:hidden;
  white-space:nowrap;
  position:relative;
}
.marquee-track{
  display:inline-flex; align-items:center; gap:16px;
  animation:marquee-scroll 26s linear infinite;
}
.marquee-track span{
  font-size:14px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase;
  color:rgba(255,255,255,0.7);
}
.marquee-track .dot{ color:var(--accent); }
@keyframes marquee-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about{ padding:140px 0; background:var(--white); overflow:hidden; }
.about-grid{
  display:grid; grid-template-columns:0.85fr 1fr; gap:80px; align-items:center;
}
.about-media{ position:relative; order:1; }
.about-content{ order:2; }
.about-media-frame{
  border-radius:var(--radius-lg);
  overflow:hidden;
  aspect-ratio:4/4.6;
  box-shadow:var(--shadow-lg);
}
.about-media-frame img{ width:100%; height:100%; object-fit:cover; }
.about-badge{
  position:absolute; bottom:-30px; right:-30px;
  background:rgba(255,255,255,0.85);
  backdrop-filter:blur(16px) saturate(180%);
  border:1px solid rgba(255,255,255,0.6);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-md);
  padding:20px 22px;
  display:flex; align-items:center; gap:14px;
  max-width:280px;
}
.about-badge-icon{
  width:46px; height:46px; border-radius:50%;
  background:var(--gradient-primary); color:var(--white);
  display:flex; align-items:center; justify-content:center; font-size:18px;
  flex-shrink:0;
}
.about-badge strong{ display:block; font-size:14.5px; color:var(--secondary); margin-bottom:2px; }
.about-badge span{ font-size:12.5px; color:#6a7a89; line-height:1.4; }
.about-shape{ position:absolute; border-radius:50%; z-index:-1; filter:blur(2px); }
.shape-1{ width:180px; height:180px; background:rgba(47,181,255,0.15); top:-40px; left:-40px; }
.shape-2{ width:120px; height:120px; background:rgba(11,94,215,0.12); bottom:60px; left:-60px; }

.about-lead{ font-size:19px; color:#111418; font-weight:500; margin-bottom:18px; }
.about-body{ color:#1a1e24; margin-bottom:28px; }
.about-points{ margin-bottom:36px; display:flex; flex-direction:column; gap:16px; }
.about-points li{
  display:flex; align-items:flex-start; gap:12px;
  font-size:15px; color:#1a1e24; line-height:1.55;
}
.about-points i{ color:var(--primary); margin-top:3px; }

@media (max-width: 980px){
  .about-grid{ grid-template-columns:1fr; gap:70px; }
  .about-media{ max-width:420px; margin:0 auto; }
}
@media (max-width: 560px){
  .about{ padding:90px 0; }
  .about-badge{ position:static; margin-top:20px; max-width:none; }
}

/* ==========================================================================
   OUR TEAM
   ========================================================================== */
.team{ padding:140px 0; background:var(--light); }
.team-grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:30px;
}
.team-card{
  position:relative; margin:0; border-radius:var(--radius-md); overflow:hidden;
  box-shadow:var(--shadow-sm); aspect-ratio:4/3;
}
.team-card img{
  width:100%; height:100%; object-fit:cover;
  transition:transform 0.8s var(--ease);
}
.team-card:hover img{ transform:scale(1.06); }
.team-card figcaption{
  position:absolute; left:0; right:0; bottom:0;
  padding:28px 26px 22px;
  background:linear-gradient(0deg, rgba(6,23,43,0.92), rgba(6,23,43,0.35) 65%, transparent);
  color:var(--white);
}
.team-card figcaption strong{ display:block; font-size:16.5px; margin-bottom:4px; }
.team-card figcaption span{ font-size:13px; color:#cfe0f5; line-height:1.4; }

@media (max-width: 860px){
  .team{ padding:100px 0; }
  .team-grid{ grid-template-columns:1fr; }
  .team-card{ aspect-ratio:4/3.2; }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services{ padding:140px 0; background:var(--light); }
.services-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:32px;
}
.service-card{
  background:var(--white);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.service-card-media{
  position:relative; aspect-ratio:16/11; overflow:hidden;
}
.service-card-media img{
  width:100%; height:100%; object-fit:cover;
  transition:transform 0.7s var(--ease);
}
.service-card:hover .service-card-media img{ transform:scale(1.08); }
.service-card-num{
  position:absolute; top:16px; right:16px;
  width:40px; height:40px; border-radius:50%;
  background:rgba(255,255,255,0.85); backdrop-filter:blur(8px);
  display:flex; align-items:center; justify-content:center;
  font-size:13px; font-weight:700; color:var(--primary);
}
.service-card-body{ padding:34px 30px 36px; }
.service-icon{
  width:52px; height:52px; border-radius:14px;
  background:var(--gradient-primary); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-size:20px; margin-bottom:20px;
  box-shadow:var(--shadow-primary);
}
.service-card-body h3{ font-size:22px; margin-bottom:12px; }
.service-card-body p{ color:#5c6b7a; font-size:15px; margin-bottom:20px; }
.service-link{
  display:inline-flex; align-items:center; gap:8px;
  font-size:14px; font-weight:600; color:var(--primary);
}
.service-link i{ font-size:12px; transition:transform 0.3s var(--ease); }
.service-link:hover i{ transform:translateX(5px); }

@media (max-width: 980px){
  .services-grid{ grid-template-columns:1fr; }
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why-us{ padding:140px 0; background:var(--white); overflow:hidden; }
.why-us-grid{
  display:grid; grid-template-columns:0.85fr 1fr; gap:80px; align-items:center;
}
.why-us-frame{
  border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:4/4.4;
  box-shadow:var(--shadow-lg);
}
.why-us-frame img{ width:100%; height:100%; object-fit:cover; }
.why-us-media{ position:relative; }
.why-us-stat-card{
  position:absolute; top:-26px; left:-26px;
  background:rgba(255,255,255,0.9);
  backdrop-filter:blur(16px) saturate(180%);
  border:1px solid rgba(255,255,255,0.6);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-md);
  padding:18px 22px; display:flex; align-items:center; gap:16px;
  max-width:280px;
}
.why-us-stat-card strong{ display:block; font-size:14.5px; color:var(--secondary); }
.why-us-stat-card span{ font-size:12px; color:#6a7a89; }

.progress-ring{ position:relative; width:76px; height:76px; flex-shrink:0; }
.progress-ring svg{ width:100%; height:100%; transform:rotate(-90deg); }
.progress-ring circle{ fill:none; stroke-width:8; }
.progress-ring-bg{ stroke:#e7edf5; }
.progress-ring-fill{
  stroke:url(#none);
  stroke:var(--primary);
  stroke-linecap:round;
  stroke-dasharray:326.7;
  stroke-dashoffset:326.7;
  transition:stroke-dashoffset 1.6s var(--ease);
}
.progress-ring-label{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-size:14px; font-weight:700; color:var(--secondary);
}

.why-us-list{ margin-top:34px; display:flex; flex-direction:column; gap:26px; }
.why-us-item{ display:flex; gap:18px; align-items:flex-start; }
.why-us-icon{
  width:48px; height:48px; border-radius:14px; flex-shrink:0;
  background:rgba(11,94,215,0.08); color:var(--primary);
  display:flex; align-items:center; justify-content:center; font-size:18px;
  transition:background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.why-us-item:hover .why-us-icon{ background:var(--gradient-primary); color:var(--white); transform:scale(1.08) rotate(-6deg); }
.why-us-item h4{ font-size:16.5px; margin-bottom:5px; }
.why-us-item p{ font-size:14.5px; color:#5c6b7a; }

@media (max-width: 980px){
  .why-us-grid{ grid-template-columns:1fr; }
  .why-us-media{ max-width:420px; margin:0 auto; }
  .why-us-content{ order:2; }
}
@media (max-width: 560px){
  .why-us{ padding:90px 0; }
  .why-us-stat-card{ position:static; margin-top:20px; max-width:none; }
}

/* ==========================================================================
   PROCESS / TIMELINE
   ========================================================================== */
.process{ padding:140px 0; background:var(--light); }
.timeline{ position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:32px; }
.timeline-line{
  position:absolute; top:26px; left:0; right:0; height:2px;
  background:linear-gradient(90deg, rgba(11,94,215,0.15), rgba(47,181,255,0.15));
  z-index:0;
}
.timeline-line span{
  position:absolute; top:0; left:0; height:100%; width:0%;
  background:var(--gradient-primary);
}
.timeline-item{ position:relative; z-index:1; }
.timeline-marker{
  width:52px; height:52px; border-radius:50%;
  background:var(--white); border:2px solid var(--primary);
  color:var(--primary); font-weight:700; font-size:15px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:26px;
  box-shadow:var(--shadow-sm);
  transition:background 0.35s var(--ease), color 0.35s var(--ease);
}
.timeline-item:hover .timeline-marker{ background:var(--gradient-primary); color:var(--white); }
.timeline-card{
  background:var(--white); border-radius:var(--radius-md);
  padding:30px 26px; box-shadow:var(--shadow-sm);
  transition:transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  height:100%;
}
.timeline-item:hover .timeline-card{ transform:translateY(-8px); box-shadow:var(--shadow-md); }
.timeline-icon{
  width:44px; height:44px; border-radius:12px;
  background:rgba(11,94,215,0.08); color:var(--primary);
  display:flex; align-items:center; justify-content:center; font-size:17px;
  margin-bottom:18px;
}
.timeline-card h3{ font-size:18px; margin-bottom:10px; }
.timeline-card p{ font-size:14px; color:#5c6b7a; }

@media (max-width: 980px){
  .timeline{ grid-template-columns:1fr 1fr; }
  .timeline-line{ display:none; }
}
@media (max-width: 640px){
  .timeline{ grid-template-columns:1fr; }
}

/* ==========================================================================
   STATISTICS
   ========================================================================== */
.stats{ padding:120px 0; position:relative; overflow:hidden; }
.stats-bg{
  position:absolute; inset:-8%; background-size:cover; background-position:center;
  will-change:transform;
}
.stats-overlay{
  position:absolute; inset:0;
  background:linear-gradient(160deg, rgba(10,37,64,0.92), rgba(11,94,215,0.82));
}
.stats-grid{
  position:relative; z-index:1;
  display:grid; grid-template-columns:repeat(4,1fr); gap:32px; text-align:center;
}
.stat-box i{ font-size:28px; color:var(--accent); margin-bottom:16px; }
.stat-box{ display:flex; flex-direction:column; align-items:center; color:var(--white); }
.stat-box .counter, .stat-box .hero-stat-suffix{
  font-size:clamp(2rem,4vw,3rem); font-weight:800;
}
.stat-box p{ margin-top:8px; color:rgba(255,255,255,0.75); font-size:14.5px; }

@media (max-width: 780px){
  .stats-grid{ grid-template-columns:1fr 1fr; row-gap:48px; }
}

/* ==========================================================================
   FEATURED / CTA CARD
   ========================================================================== */
.featured{ padding:0 0 140px; background:var(--white); }
.featured-card{
  position:relative;
  background:var(--gradient-dark);
  border-radius:var(--radius-lg);
  padding:80px;
  overflow:hidden;
}
.featured-glow{
  position:absolute; width:500px; height:500px; border-radius:50%;
  background:radial-gradient(circle, rgba(47,181,255,0.35), transparent 70%);
  top:-140px; right:-100px;
}
.featured-content{ position:relative; z-index:1; max-width:680px; }
.featured .section-title{ color:var(--white); }
.featured .section-desc{ color:rgba(255,255,255,0.75); }
.featured-list{
  display:flex; flex-wrap:wrap; gap:14px 28px; margin:30px 0 36px;
}
.featured-list span{
  display:flex; align-items:center; gap:10px;
  font-size:14.5px; color:rgba(255,255,255,0.9);
}
.featured-list i{
  width:22px; height:22px; border-radius:50%;
  background:rgba(47,181,255,0.2); color:var(--accent);
  display:flex; align-items:center; justify-content:center; font-size:10px;
}

@media (max-width: 640px){
  .featured-card{ padding:50px 30px; }
}

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.projects{ padding:140px 0; background:var(--light); }
.projects-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:26px;
}
.project-item{
  position:relative; border-radius:var(--radius-md); overflow:hidden;
  aspect-ratio:1/1.05; box-shadow:var(--shadow-sm);
}
.project-item img{
  width:100%; height:100%; object-fit:cover;
  transition:transform 0.8s var(--ease);
}
.project-item:hover img{ transform:scale(1.1); }
.project-info{
  position:absolute; left:0; right:0; bottom:0;
  padding:26px 24px;
  background:linear-gradient(0deg, rgba(6,23,43,0.88), transparent);
  color:var(--white);
  transform:translateY(12px);
  opacity:0; transition:all 0.4s var(--ease);
}
.project-item:hover .project-info{ transform:translateY(0); opacity:1; }
.project-info h4{ font-size:17px; color:var(--white); margin-bottom:4px; }
.project-info span{ font-size:12.5px; color:var(--accent); text-transform:uppercase; letter-spacing:0.06em; }

@media (max-width: 980px){
  .projects-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 560px){
  .projects-grid{ grid-template-columns:1fr; }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials{ padding:140px 0; background:var(--white); }
.testimonial-slider{ position:relative; max-width:820px; margin:0 auto; }
.testimonial-track{ position:relative; min-height:280px; }
.testimonial-card{
  position:absolute; inset:0;
  background:var(--light);
  border-radius:var(--radius-lg);
  padding:56px 60px;
  text-align:center;
  opacity:0; visibility:hidden;
  transform:translateY(20px);
  transition:opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}
.testimonial-card.is-active{ opacity:1; visibility:visible; transform:translateY(0); position:relative; }
.quote-mark{ font-size:28px; color:var(--primary); opacity:0.4; margin-bottom:20px; }
.testimonial-card p{ font-size:19px; color:var(--secondary); font-weight:500; line-height:1.6; margin-bottom:30px; }
.testimonial-person{ display:flex; align-items:center; justify-content:center; gap:14px; }
.testimonial-avatar{
  width:48px; height:48px; border-radius:50%;
  background:var(--gradient-primary); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:14px;
}
.testimonial-person strong{ display:block; font-size:14.5px; color:var(--secondary); }
.testimonial-person span{ font-size:13px; color:#6a7a89; }

.testimonial-controls{
  display:flex; align-items:center; justify-content:center; gap:22px; margin-top:40px;
}
.testimonial-btn{
  width:46px; height:46px; border-radius:50%;
  border:1.5px solid rgba(10,37,64,0.14);
  display:flex; align-items:center; justify-content:center;
  color:var(--secondary); font-size:14px;
  transition:all 0.3s var(--ease);
}
.testimonial-btn:hover{ background:var(--gradient-primary); border-color:transparent; color:var(--white); transform:scale(1.08); }
.testimonial-dots{ display:flex; gap:8px; }
.testimonial-dots span{
  width:8px; height:8px; border-radius:50%; background:rgba(10,37,64,0.15);
  cursor:pointer; transition:all 0.3s var(--ease);
}
.testimonial-dots span.is-active{ width:24px; border-radius:99px; background:var(--gradient-primary); }

@media (max-width: 640px){
  .testimonial-card{ padding:40px 26px; }
  .testimonial-card p{ font-size:16.5px; }
}

/* ==========================================================================
   CLIENTS
   ========================================================================== */
.clients{ padding:64px 0 70px; background:var(--white); }
.clients-label{
  text-align:center; color:#8b98a6; font-size:13px; font-weight:600;
  letter-spacing:0.08em; text-transform:uppercase;
  margin-bottom:38px;
}
.clients-marquee{ overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent); mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent); }
.clients-track{
  display:inline-flex; align-items:center; gap:70px;
  animation:marquee-scroll 22s linear infinite;
}
.client-logo{
  display:flex; align-items:center; gap:10px;
  font-size:17px; font-weight:600; color:#a9b4be;
  white-space:nowrap; transition:color 0.3s var(--ease);
}
.client-logo:hover{ color:var(--primary); }
.client-logo i{ font-size:18px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq{ padding:140px 0; background:var(--light); }
.faq-grid{ display:grid; grid-template-columns:0.8fr 1.2fr; gap:80px; }
.faq-intro{ align-self:start; position:sticky; top:140px; }
.faq-list{ display:flex; flex-direction:column; gap:16px; }
.faq-item{
  background:var(--white); border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm); overflow:hidden;
}
.faq-question{
  width:100%; display:flex; align-items:center; justify-content:space-between;
  padding:24px 28px; text-align:left; font-size:16px; font-weight:600; color:var(--secondary);
}
.faq-question i{
  color:var(--primary); font-size:14px; transition:transform 0.4s var(--ease);
  flex-shrink:0; margin-left:20px;
}
.faq-item.is-open .faq-question i{ transform:rotate(135deg); }
.faq-answer{
  max-height:0; overflow:hidden; transition:max-height 0.45s var(--ease);
}
.faq-answer p{ padding:0 28px 26px; color:#5c6b7a; font-size:14.5px; line-height:1.65; }

@media (max-width: 980px){
  .faq-grid{ grid-template-columns:1fr; gap:50px; }
  .faq-intro{ position:static; }
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact{ padding:140px 0; background:var(--white); }
.contact-grid{ display:grid; grid-template-columns:0.75fr 1.25fr; gap:70px; }
.contact-info{ display:flex; flex-direction:column; gap:28px; }
.contact-info-item{ display:flex; gap:18px; align-items:flex-start; }
.contact-info-icon{
  width:50px; height:50px; border-radius:14px; flex-shrink:0;
  background:rgba(11,94,215,0.08); color:var(--primary);
  display:flex; align-items:center; justify-content:center; font-size:18px;
}
.contact-info-item strong{ display:block; font-size:15.5px; color:var(--secondary); margin-bottom:4px; }
.contact-info-item p{ font-size:14.5px; color:#5c6b7a; }
.contact-info-item a:hover{ color:var(--primary); }
.contact-social{ display:flex; gap:12px; margin-top:10px; }
.contact-social a{
  width:42px; height:42px; border-radius:50%;
  border:1.5px solid rgba(10,37,64,0.12);
  display:flex; align-items:center; justify-content:center;
  color:var(--secondary); font-size:14px;
  transition:all 0.3s var(--ease);
}
.contact-social a:hover{ background:var(--gradient-primary); color:var(--white); border-color:transparent; transform:translateY(-3px); }

.contact-form{
  background:var(--light); border-radius:var(--radius-lg);
  padding:48px; display:flex; flex-direction:column; gap:26px;
  position:relative;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.form-field{ position:relative; }
.form-field input, .form-field textarea{
  width:100%; border:none; background:transparent;
  border-bottom:1.5px solid rgba(10,37,64,0.16);
  padding:12px 2px 10px; font-size:15px; color:var(--secondary);
  resize:none;
}
.form-field input:focus, .form-field textarea:focus{ outline:none; }
.form-field label{
  position:absolute; left:2px; top:12px; font-size:15px; color:#8b98a6;
  pointer-events:none; transition:all 0.25s var(--ease);
}
.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label{
  top:-14px; font-size:12px; color:var(--primary); font-weight:600;
}
.field-line{
  position:absolute; left:0; bottom:0; height:1.5px; width:0;
  background:var(--gradient-primary);
  transition:width 0.35s var(--ease);
}
.form-field input:focus ~ .field-line, .form-field textarea:focus ~ .field-line{ width:100%; }

.btn-submit{ align-self:flex-start; position:relative; margin-top:6px; }
.btn-submit-loader{
  display:none; width:16px; height:16px; border-radius:50%;
  border:2px solid rgba(255,255,255,0.5); border-top-color:var(--white);
  animation:spin 0.7s linear infinite;
}
.btn-submit.is-loading .btn-submit-text{ display:none; }
.btn-submit.is-loading .btn-submit-loader{ display:inline-block; }
.btn-submit.is-loading i{ display:none; }
@keyframes spin{ to{ transform:rotate(360deg); } }

.form-success{
  display:none; align-items:center; gap:10px;
  color:#1e8f52; background:rgba(30,143,82,0.1);
  padding:14px 18px; border-radius:var(--radius-sm); font-size:14px; font-weight:500;
}
.form-success.is-visible{ display:flex; }

@media (max-width: 980px){
  .contact-grid{ grid-template-columns:1fr; }
}
@media (max-width: 640px){
  .contact-form{ padding:30px 24px; }
  .form-row{ grid-template-columns:1fr; gap:26px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer{ background:var(--gradient-dark); color:rgba(255,255,255,0.8); padding-top:100px; }
.footer-top{ border-bottom:1px solid rgba(255,255,255,0.1); padding-bottom:80px; margin-bottom:70px; }
.footer-cta{
  display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap;
}
.footer-cta h2{ color:var(--white); font-size:clamp(1.7rem,3.4vw,2.6rem); max-width:600px; }

.footer-centered{
  display:flex; flex-direction:column; align-items:center;
  text-align:center;
  padding-bottom:60px;
}
.footer-brand-logo{ margin-bottom:26px; }
.footer-logo-lg{ width:60px; height:60px; border-radius:14px; }
.footer-tagline{
  max-width:540px; font-size:15px; line-height:1.75;
  color:rgba(255,255,255,0.55); margin-bottom:30px;
}
.footer-social{ margin-bottom:38px; }
.footer-social a{ border-color:rgba(255,255,255,0.16); color:var(--white); }

.footer-links-row{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:12px 38px; margin-bottom:40px;
}
.footer-links-row a{
  font-size:13.5px; font-weight:600; text-transform:uppercase; letter-spacing:0.06em;
  color:rgba(255,255,255,0.65); transition:color 0.3s var(--ease);
}
.footer-links-row a:hover{ color:var(--accent); }

.footer-divider{
  width:100%; max-width:820px; height:1px;
  background:rgba(255,255,255,0.1); margin-bottom:32px;
}

.footer-contact-row{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:14px 40px;
  font-size:14px; color:rgba(255,255,255,0.55);
}
.footer-contact-row i{ color:var(--accent); margin-right:8px; }
.footer-contact-row a{ color:rgba(255,255,255,0.8); transition:color 0.3s var(--ease); }
.footer-contact-row a:hover{ color:var(--accent); }

.footer-bottom{
  display:flex; align-items:center; justify-content:space-between;
  padding:28px 0; border-top:1px solid rgba(255,255,255,0.1);
  font-size:13.5px; color:rgba(255,255,255,0.45); flex-wrap:wrap; gap:14px;
}
.footer-legal-links{ display:flex; gap:24px; }
.footer-legal-links a{ color:rgba(255,255,255,0.45); transition:color 0.3s var(--ease); }
.footer-legal-links a:hover{ color:var(--white); }

@media (max-width: 560px){
  .footer-cta{ flex-direction:column; align-items:flex-start; }
  .footer-contact-row{ flex-direction:column; gap:12px; }
  .footer-bottom{ justify-content:center; text-align:center; }
}

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-to-top{
  position:fixed; bottom:32px; right:32px; z-index:500;
  width:52px; height:52px;
  display:flex; align-items:center; justify-content:center;
  background:var(--white); border-radius:50%; box-shadow:var(--shadow-md);
  color:var(--primary); font-size:15px;
  opacity:0; visibility:hidden; transform:translateY(16px);
  transition:opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.back-to-top.is-visible{ opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top svg{ position:absolute; inset:0; transform:rotate(-90deg); }
.back-to-top circle{
  fill:none; stroke:rgba(11,94,215,0.15); stroke-width:2;
}
.back-to-top::before{
  content:''; position:absolute; inset:0; border-radius:50%;
}
.back-to-top-progress{ stroke:var(--primary) !important; }

/* ==========================================================================
   FLOATING CONTACT ICONS (WhatsApp / Call / Mail)
   ========================================================================== */
.floating-contact{
  position:fixed; left:24px; bottom:24px; z-index:480;
  display:flex; flex-direction:column; gap:14px;
}
.floating-btn{
  position:relative;
  width:52px; height:52px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--white); font-size:20px;
  box-shadow:var(--shadow-md);
  transform:scale(0); opacity:0;
  transition:transform 0.45s var(--ease), opacity 0.45s var(--ease), box-shadow 0.3s ease;
}
.floating-contact.is-visible .floating-btn{ transform:scale(1); opacity:1; }
.floating-contact.is-visible .whatsapp-btn{ transition-delay:0.05s; }
.floating-contact.is-visible .call-btn{ transition-delay:0.15s; }
.floating-contact.is-visible .mail-btn{ transition-delay:0.25s; }
.floating-btn:hover{ box-shadow:var(--shadow-lg); }

.whatsapp-btn{ background:#25D366; }
.call-btn{ background:var(--gradient-primary); }
.mail-btn{ background:var(--secondary); }

.whatsapp-btn::before{
  content:''; position:absolute; inset:0; border-radius:50%;
  background:#25D366;
  animation:whatsapp-pulse 2.4s ease-out infinite;
  z-index:-1;
}
@keyframes whatsapp-pulse{
  0%{ transform:scale(1); opacity:0.55; }
  100%{ transform:scale(1.9); opacity:0; }
}

.floating-tooltip{
  position:absolute; left:100%; top:50%; margin-left:12px;
  transform:translate(-8px,-50%);
  background:var(--secondary); color:var(--white);
  padding:7px 14px; border-radius:var(--radius-sm);
  font-size:12.5px; font-weight:500; white-space:nowrap;
  opacity:0; pointer-events:none;
  transition:opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.floating-btn:hover .floating-tooltip{ opacity:1; transform:translate(0,-50%); }

@media (max-width: 640px){
  .floating-contact{ left:16px; bottom:16px; gap:12px; }
  .floating-btn{ width:46px; height:46px; font-size:18px; }
  .floating-tooltip{ display:none; }
}

/* ==========================================================================
   SCROLL / REVEAL ANIMATION BASE STATES
   (Final animated values are applied via GSAP in script.js;
   these are graceful no-JS / pre-animation fallback states)
   ========================================================================== */
.reveal-up, .fade-up{ opacity:0; transform:translateY(50px); }
.fade-left{ opacity:0; transform:translateX(-50px); }
.fade-right{ opacity:0; transform:translateX(50px); }
.scale-in{ opacity:0; transform:scale(0.88); }
.zoom-in img{ transform:scale(1.15); }
.image-reveal{ position:relative; overflow:hidden; }
.floating-el{ animation:float-anim 5s ease-in-out infinite; }
@keyframes float-anim{
  0%, 100%{ transform:translateY(0); }
  50%{ transform:translateY(-14px); }
}

.js-ready .reveal-up, .js-ready .fade-up, .js-ready .fade-left, .js-ready .fade-right, .js-ready .scale-in{
  opacity:0; /* handled by GSAP */
}
.no-js .reveal-up, .no-js .fade-up, .no-js .fade-left, .no-js .fade-right, .no-js .scale-in{
  opacity:1; transform:none;
}

/* Magnetic buttons cursor helper */
.btn-magnetic{ will-change:transform; }

@media (max-width:780px){
  .about-media-frame, .why-us-frame{ box-shadow:var(--shadow-md); }
}

/* ==========================================================================
   MOBILE POLISH — tighter, less bloated spacing on small screens
   (placed last so it wins the cascade over earlier same-specificity rules)
   ========================================================================== */
@media (max-width: 768px){
  .services, .why-us, .process, .stats, .featured, .projects,
  .testimonials, .clients, .faq, .contact, .about{
    padding-top:80px;
    padding-bottom:80px;
  }
  .section-head{ margin-bottom:44px; }
  .hero{ min-height:78svh; padding:120px 20px 100px; }
  .hero-sequence-wrap{ inset:0; transform:scale(1); }
  .clients{ padding-top:48px; padding-bottom:56px; }
  .featured{ padding-bottom:80px; }
  .hero-overlay{
    background:linear-gradient(180deg, rgba(14,20,30,0.05) 0%, rgba(14,20,30,0.18) 45%, rgba(14,20,30,0.4) 100%);
  }
  .hero-title, .hero-sub{ text-shadow:0 2px 16px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.5); }
  .hero-stats{ background:rgba(251,247,239,0.72); }
}

@media (max-height: 700px){
  .hero{ padding-top:110px; padding-bottom:70px; }
  .hero-cta{ margin-bottom:36px; }
  .scroll-cue{ display:none; }
}

@media (max-width: 480px){
  .hero-title{ font-size:clamp(2.1rem, 9vw, 2.8rem); }
  .section-title{ font-size:clamp(1.6rem, 7vw, 2.2rem); }
  .btn{ padding:14px 24px; font-size:14px; }
  .contact-form{ padding:26px 20px; }
  .service-card-body, .timeline-card{ padding:26px 22px; }
}
