/* ===== Variables ===== */
:root{
  --indigo:#37509D;
  --blue-mid:#349ED7;
  --sky:#5BC5F3;
  --blue:#0B72B8;
  --blue-dark:#37509D;
  --cyan:#29A8E0;
  --bg-light:#F2F8FD;
  --navy:#0B2545;
  --text:#33384a;
  --muted:#6b7280;
  --radius:16px;
  --shadow:0 10px 30px rgba(11,111,184,0.14);
  --transition:0.3s ease;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{font-family:'Roboto',sans-serif; color:var(--text); line-height:1.6; overflow-x:hidden; background:#fff;}
h1,h2,h3,h4{font-family:'Poppins',sans-serif; color:var(--blue-dark); font-weight:700;}
p{color:var(--muted);}
a{text-decoration:none; color:inherit;}
ul{list-style:none;}
img{max-width:100%; display:block;}
.container{width:92%; max-width:1200px; margin:0 auto;}
.muted{color:var(--muted);}
.tag{display:inline-block; padding:6px 16px; background:rgba(41,168,224,0.14); color:var(--cyan); font-weight:600; border-radius:30px; font-size:0.8rem; letter-spacing:1px; text-transform:uppercase; margin-bottom:14px;}
.section{padding:100px 0;}
.section.alt{background:var(--bg-light);}
.section-head{text-align:center; max-width:650px; margin:0 auto 50px;}
.section-head h2{font-size:2.2rem; margin-bottom:12px;}
.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;}

/* ===== Preloader ===== */
#preloader{position:fixed; inset:0; background:#fff; z-index:9999; display:flex; align-items:center; justify-content:center; transition:opacity 0.5s ease, visibility 0.5s ease;}
#preloader.hide{opacity:0; visibility:hidden;}
.loader-logo{display:flex; flex-direction:column; align-items:center; gap:14px;}
.loader-logo img{width:84px; height:84px; object-fit:contain; display:block; animation:pulse 1.2s ease-in-out infinite, logoGlow 3s ease-in-out infinite;}
.loader-text{font-family:'Poppins',sans-serif; font-weight:700; font-size:1.45rem; line-height:1; color:var(--blue-dark); letter-spacing:-0.2px;}
@keyframes pulse{0%,100%{transform:scale(1);} 50%{transform:scale(1.12);}}
/* brand-safe glow — only changes the shadow, never the logo's own colours */
@keyframes logoGlow{
  0%,100%{ filter:drop-shadow(0 8px 20px rgba(41,168,224,0.38)); }
  50%{ filter:drop-shadow(0 12px 30px rgba(91,197,243,0.60)); }
}

/* ===== Buttons ===== */
.btn{display:inline-flex; align-items:center; gap:8px; padding:14px 28px; border-radius:50px; font-weight:600; font-size:0.95rem; transition:var(--transition); cursor:pointer; border:2px solid transparent;}
.btn-primary{background:linear-gradient(135deg, var(--blue), var(--cyan)); color:#fff; box-shadow:0 8px 20px rgba(11,111,184,0.32);}
.btn-primary:hover{transform:translateY(-3px); box-shadow:0 12px 26px rgba(11,111,184,0.42);}
.btn-outline{border-color:var(--blue); color:var(--blue);}
.btn-outline:hover{background:var(--blue); color:#fff;}
.btn-light{background:#fff; color:var(--blue);}
.btn-light:hover{transform:translateY(-3px);}

/* ===== Navbar ===== */
/* Always-white navbar (Deqode/Softude style): a consistent solid background
   behind the logo at all times, instead of transparent-over-hero. This means
   whatever logo file/colors you use, it's never fighting a changing backdrop. */
.navbar{position:fixed; top:0; left:0; width:100%; z-index:1000; padding:14px 0; transition:var(--transition); background:#fff; box-shadow:0 2px 14px rgba(11,37,69,0.08);}
.navbar.scrolled{box-shadow:0 4px 20px rgba(0,0,0,0.1); padding:10px 0;}
.nav-inner{display:flex; align-items:center; justify-content:space-between;}
/* ===== Brand lockup (logo icon + company name) =====
   Icon sits in a FIXED square box with object-fit:contain, so whatever logo
   file you drop in later (SVG/PNG, any viewBox or internal padding) scales to
   the same optical size and stays perfectly aligned with the company name.
   align-items:center on the flex row keeps icon + text on the same baseline
   regardless of each element's own natural height. */
.brand{display:inline-flex; align-items:center; gap:10px;}
/* Logo image kept plain/untouched — the always-white navbar background
   (above) is what guarantees contrast, not any filter on the logo itself.
   Vertical alignment comes purely from align-items:center on .brand — no
   manual margin/transform hacks on the image itself. */
.brand-icon{width:42px; height:42px; flex:0 0 42px; object-fit:contain; object-position:center; display:block; transition:transform 0.4s ease;}
.brand-text{font-family:'Poppins',sans-serif; font-weight:700; font-size:1.3rem; line-height:1; letter-spacing:-0.3px; white-space:nowrap; color:var(--blue-dark);}
.brand:hover .brand-icon{transform:rotate(10deg) scale(1.06);}
.nav-links{display:flex; gap:30px;}
.nav-links a{font-weight:500; color:var(--blue-dark); position:relative;}
.nav-links a::after{content:''; position:absolute; left:0; bottom:-6px; width:0; height:2px; background:var(--cyan); transition:var(--transition);}
.nav-links a:hover::after{width:100%;}
.nav-cta{padding:10px 22px; font-size:0.85rem;}
.hamburger{display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer;}
.hamburger span{width:26px; height:3px; background:var(--blue-dark); border-radius:2px; transition:var(--transition);}
.hamburger.active span:nth-child(1){transform:translateY(8px) rotate(45deg);}
.hamburger.active span:nth-child(2){opacity:0;}
.hamburger.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg);}

/* ===== Hero ===== */
.hero{position:relative; min-height:100dvh; display:flex; align-items:center; justify-content:center; text-align:center; overflow:hidden;
  background:
    /* soft white spotlight so the blue logo + text stay readable on the blue wash */
    radial-gradient(720px 460px at 50% 46%, rgba(255,255,255,0.95), rgba(255,255,255,0.62) 42%, rgba(255,255,255,0) 72%),
    radial-gradient(1100px 620px at 12% 8%, rgba(91,197,243,0.30), transparent 62%),
    radial-gradient(900px 560px at 88% 18%, rgba(55,80,157,0.18), transparent 62%),
    radial-gradient(900px 620px at 50% 105%, rgba(41,168,224,0.24), transparent 62%),
    linear-gradient(180deg,#FFFFFF 0%, #EFF7FE 55%, #E1F0FC 100%);
}

/* soft floating colour blobs (the "video banner" glow) */
.hero-blobs{position:absolute; inset:0; z-index:0; pointer-events:none;}
.blob{position:absolute; border-radius:50%; filter:blur(70px); opacity:0.42; animation:float 14s ease-in-out infinite; will-change:transform;}
.b1{width:440px; height:440px; background:var(--sky); top:-110px; left:-90px; opacity:0.52;}
.b2{width:360px; height:360px; background:var(--blue); bottom:-110px; right:-70px; animation-delay:2s;}
.b3{width:280px; height:280px; background:var(--cyan); top:30%; left:70%; animation-delay:4s; opacity:0.34;}
.b4{width:300px; height:300px; background:var(--indigo); top:8%; right:18%; opacity:0.30; animation-delay:6s;}
.b5{width:250px; height:250px; background:var(--blue-mid); bottom:12%; left:14%; opacity:0.38; animation-delay:8s;}
@keyframes float{0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(30px,-40px) scale(1.12);}}

/* ===== Blue dotted floating particle network (Softude-style banner) ===== */
.radar-bg{position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden;}
.dots-canvas{position:absolute; inset:0; width:100%; height:100%; display:block;}
@media (max-width:768px){ .dots-canvas{opacity:0.7;} }
.hero-inner{position:relative; z-index:1; max-width:800px; margin:0 auto; padding-top:80px;}
.hero-eyebrow{color:var(--cyan); font-weight:600; letter-spacing:2px; font-size:0.85rem; margin-bottom:16px;}
.hero-title{font-size:3.4rem; line-height:1.15; margin-bottom:20px;}
.hero-title span{display:block; padding-bottom:3px;}
.gradient-text{background:linear-gradient(135deg, var(--blue), var(--cyan)); -webkit-background-clip:text; background-clip:text; color:transparent;}
.hero-sub{font-size:1.1rem; max-width:600px; margin:0 auto 24px; color:#4a5670;}
.hero-rotator{font-size:1.2rem; font-weight:600; color:var(--blue-dark); margin-bottom:34px;}
.typed-text{color:var(--cyan);}
.cursor{animation:blink 0.8s infinite;}
@keyframes blink{50%{opacity:0;}}
.hero-btns{display:flex; gap:18px; justify-content:center; flex-wrap:wrap;}
.scroll-down{position:absolute; bottom:30px; left:50%; transform:translateX(-50%); color:var(--blue); font-size:1.4rem; animation:bounce 2s infinite;}
@keyframes bounce{0%,100%{transform:translate(-50%,0);} 50%{transform:translate(-50%,10px);}}

/* reveal animation (hero) */
.reveal{opacity:0; transform:translateY(30px); animation:reveal 0.8s ease forwards;}
.reveal[data-d="0"]{animation-delay:0.1s;}
.reveal[data-d="1"]{animation-delay:0.3s;}
.reveal[data-d="2"]{animation-delay:0.5s;}
.reveal[data-d="3"]{animation-delay:0.7s;}
.reveal[data-d="4"]{animation-delay:0.9s;}
.reveal[data-d="5"]{animation-delay:1.1s;}
@keyframes reveal{to{opacity:1; transform:translateY(0);}}

/* ===== Check list ===== */
.check-list{margin-top:20px;}
.check-list li{margin-bottom:10px; color:var(--text); font-weight:500;}
.check-list i{color:var(--cyan); margin-right:8px;}

/* ===== Stats ===== */
.stats-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
.stat-card{background:#fff; border-radius:var(--radius); padding:30px 20px; text-align:center; box-shadow:var(--shadow); transition:var(--transition);}
.stat-card:hover{transform:translateY(-6px);}
.stat-card h3{font-size:2.4rem; background:linear-gradient(135deg,var(--blue),var(--cyan)); -webkit-background-clip:text; background-clip:text; color:transparent;}
.stat-card p{margin-top:6px; font-weight:500;}

/* ===== Services ===== */
.cards-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:30px;}
.service-card{background:#fff; border-radius:var(--radius); padding:36px 28px; box-shadow:var(--shadow); transition:var(--transition); border:1px solid transparent;}
.service-card:hover{transform:translateY(-8px); border-color:var(--cyan);}
.icon-wrap{width:60px; height:60px; border-radius:14px; background:linear-gradient(135deg,var(--blue),var(--cyan)); display:flex; align-items:center; justify-content:center; margin-bottom:20px;}
.icon-wrap i{color:#fff; font-size:1.5rem;}
.service-card h3{font-size:1.2rem; margin-bottom:10px;}

/* ===== Why us ===== */
.why-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px;}
.why-card{background:#fff; text-align:center; padding:34px 20px; border-radius:var(--radius); box-shadow:var(--shadow); transition:var(--transition);}
.why-card:hover{transform:translateY(-6px);}
.why-card i{font-size:2rem; color:var(--cyan); margin-bottom:16px;}
.why-card h4{margin-bottom:8px;}

/* ===== Tech marquee ===== */
.tech-section{overflow:hidden;}
.marquee{width:100%; overflow:hidden; position:relative; padding:20px 0;}
.marquee-track{display:flex; gap:60px; width:max-content; animation:scroll-left 25s linear infinite;}
.marquee-track span{display:flex; align-items:center; gap:10px; font-weight:600; font-size:1.1rem; color:var(--blue-dark); white-space:nowrap;}
.marquee-track i{color:var(--cyan); font-size:1.6rem;}
@keyframes scroll-left{0%{transform:translateX(0);} 100%{transform:translateX(-50%);}}

/* ===== Process strip ===== */
.process-strip{background:var(--navy); padding:70px 0;}
.process-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:30px; text-align:center;}
.process-step{color:#fff; padding:0 10px;}
.step-no{display:inline-block; font-size:1.6rem; font-weight:800; color:var(--cyan); margin-bottom:10px;}
.process-step h4{color:#fff; margin-bottom:8px;}
.process-step p{color:#b7c0d6; font-size:0.9rem;}

/* ===== CTA Banner ===== */
.cta-banner{background:linear-gradient(135deg,var(--blue),var(--cyan)); padding:80px 0; text-align:center;}
.cta-inner h2{color:#fff; font-size:2.2rem; margin-bottom:10px;}
.cta-inner p{color:rgba(255,255,255,0.9); margin-bottom:26px;}

/* ===== Contact ===== */
.contact-info p{margin:14px 0; color:var(--text); font-weight:500;}
.contact-info i{color:var(--cyan); width:22px;}
.social-links{display:flex; gap:14px; margin-top:20px;}
.social-links a{width:42px; height:42px; border-radius:50%; background:var(--bg-light); display:flex; align-items:center; justify-content:center; color:var(--blue); transition:var(--transition);}
.social-links a:hover{background:var(--cyan); color:#fff;}
.contact-form{display:flex; flex-direction:column; gap:16px; background:#fff; padding:34px; border-radius:var(--radius); box-shadow:var(--shadow);}
.contact-form input, .contact-form textarea{padding:14px; border:1px solid #e2e6ee; border-radius:10px; font-family:inherit; font-size:0.95rem; outline:none; transition:var(--transition);}
.contact-form input:focus, .contact-form textarea:focus{border-color:var(--cyan);}
.contact-form button{align-self:flex-start;}

/* ===== Footer ===== */
.footer{background:var(--navy); padding:60px 0 0;}
.footer-inner{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:24px; padding-bottom:30px; border-bottom:1px solid rgba(255,255,255,0.1);}
.footer-logo-row{display:inline-flex; align-items:center; gap:11px; line-height:1;}
/* Logo image kept plain/untouched — its own fill color already contrasts
   against the footer's darker navy background naturally. */
.footer-icon{width:36px; height:36px; flex:0 0 36px; object-fit:contain; display:block;}
.footer-text{font-family:'Poppins',sans-serif; font-weight:700; font-size:1.3rem; line-height:1; color:#fff; letter-spacing:-0.2px; white-space:nowrap;}
.footer-brand p{color:#b7c0d6; margin-top:8px; font-size:0.9rem;}
.footer-links{display:flex; gap:22px;}
.footer-links a{color:#e5e9f2; font-weight:500;}
.footer-links a:hover{color:var(--cyan);}
.footer-social{display:flex; gap:12px;}
.footer-social a{width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; color:#fff; transition:var(--transition);}
.footer-social a:hover{background:var(--cyan);}
.footer-bottom{text-align:center; padding:20px 0; color:#8892a8; font-size:0.85rem;}

/* ===== Back to top ===== */
.back-to-top{position:fixed; bottom:30px; right:30px; width:46px; height:46px; border-radius:50%; background:linear-gradient(135deg,var(--blue),var(--cyan)); color:#fff; display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden; transition:var(--transition); z-index:900; box-shadow:0 8px 20px rgba(11,111,184,0.32);}
.back-to-top.show{opacity:1; visibility:visible;}

/* ===== Responsive ===== */
@media(max-width:992px){
  .grid-2{grid-template-columns:1fr;}
  .cards-grid{grid-template-columns:repeat(2,1fr);}
  .why-grid{grid-template-columns:repeat(2,1fr);}
  .process-grid{grid-template-columns:repeat(2,1fr);}
  .hero-title{font-size:2.6rem;}
}
@media(max-width:768px){
  .nav-links{position:fixed; top:0; right:-100%; height:100dvh; width:70%; background:#fff; flex-direction:column; padding:100px 30px; gap:26px; transition:right 0.4s ease; box-shadow:-10px 0 30px rgba(0,0,0,0.1); overflow-y:auto;}
  .nav-links.open{right:0;}
  .hamburger{display:flex;}
  .nav-cta{display:none;}
  .cards-grid{grid-template-columns:1fr;}
  .why-grid{grid-template-columns:1fr;}
  .process-grid{grid-template-columns:1fr;}
  .stats-grid{grid-template-columns:1fr 1fr;}
  .hero-title{font-size:2.1rem;}
  .footer-inner{flex-direction:column; text-align:center;}
}

@media (prefers-reduced-motion: reduce){
  .loader-logo img, .blob, .marquee-track, .scroll-down, .cursor{animation:none !important;}
  .dots-canvas{display:none;}
}

/* brand lockup scales down on small screens */
@media(max-width:560px){
  .brand-icon{width:36px; height:36px; flex:0 0 36px;}
  .brand-text{font-size:1.15rem;}
  .footer-icon{width:30px; height:30px; flex:0 0 30px;}
  .footer-text{font-size:1.15rem;}
}

