/* =========================================================
   Arambh Technology — Global Stylesheet (style.css)
   Used by: index.html, about.html, services.html,
            portfolio.html, contact.html
   ========================================================= */

:root {
  --accent:        #7C3AED;   /* primary violet */
  --accent-dark:   #6D28D9;   /* hover violet */
  --accent-light:  #F3E8FF;   /* subtle violet background */
  --pink:          #EC4899;   /* pink accent */
  --pink-dark:     #DB2777;   /* deep pink */
  --navy:          #1E1B4B;   /* deep indigo heading */
  --text:          #241C3B;   /* body text */
  --muted:         #6B7280;   /* secondary text */
  --bg:            #FAF5FF;   /* light violet section bg */
  --white:         #FFFFFF;
  --border:        #ECE3F5;
  --grad:          linear-gradient(120deg, #7C3AED 0%, #A855F7 45%, #EC4899 100%);
  --grad-soft:     linear-gradient(120deg, #8B5CF6 0%, #EC4899 100%);
  --accent-rgb:    124, 58, 237;
  --pink-rgb:      236, 72, 153;
}

/* -------- RESET -------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #FBF7FF;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: transparent;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* =========================================================
   NAVIGATION
   ========================================================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.logo span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
}

/* Nav logo image sizing (kept here so it never depends on animations.css) */
nav .logo { display: inline-flex; align-items: center; gap: 0.55rem; }
nav .logo img {
  width: 36px !important;
  height: 36px !important;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--grad);
  background-size: 180% 180%;
  color: #fff !important;
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.5s ease;
}
.nav-cta:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(var(--pink-rgb), 0.4);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.25s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1rem 6vw 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 99;
  box-shadow: 0 6px 24px rgba(15,23,42,0.06);
}
.mobile-menu a {
  padding: 0.75rem 0.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.open { display: flex; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
}
.btn-primary {
  background: var(--grad);
  background-size: 180% 180%;
  color: #fff;
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.3);
}
.btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(var(--pink-rgb), 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.15);
}

/* =========================================================
   SECTION HELPERS (used across pages)
   ========================================================= */
section { padding: 90px 6vw; }
.inner { max-width: 1160px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-light);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 620px;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--navy);
  color: #CBD5E1;
  padding: 70px 6vw 0;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 50px;
}
.footer-brand .logo {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
  display: inline-block;
}
.footer-brand p {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.75;
  max-width: 340px;
}
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 1.15rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a {
  font-size: 0.88rem;
  color: #94A3B8;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: #64748B;
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* =========================================================
   GLOBAL RESPONSIVE TWEAKS
   ========================================================= */
@media (max-width: 600px) {
  section { padding: 70px 6vw; }
  nav { padding: 0.9rem 6vw; }
}


/* =========================================================
   AURORA WAVES BACKGROUND (baked in — no JS/animations.css needed)
   ========================================================= */
.aurora-bg{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;
  background:
    radial-gradient(1200px 800px at 15% -10%, rgba(124,58,237,0.12), transparent 60%),
    radial-gradient(1000px 700px at 100% 0%, rgba(236,72,153,0.12), transparent 55%),
    linear-gradient(180deg,#FBF7FF 0%,#FDF6FB 45%,#FBF7FF 100%);}
.aurora{position:absolute;width:65vw;height:65vw;min-width:620px;min-height:620px;
  border-radius:46% 54% 60% 40% / 52% 44% 56% 48%;
  filter:blur(75px);opacity:0.6;mix-blend-mode:multiply;will-change:transform;}
.aurora-1{top:-22%;left:-14%;background:conic-gradient(from 120deg,#A855F7,#7C3AED,#C084FC,#A855F7);
  animation:auroraDrift1 26s ease-in-out infinite;}
.aurora-2{top:8%;right:-18%;background:conic-gradient(from 300deg,#EC4899,#F472B6,#A855F7,#EC4899);
  animation:auroraDrift2 32s ease-in-out infinite;}
.aurora-3{bottom:-26%;left:22%;opacity:0.45;background:conic-gradient(from 200deg,#8B5CF6,#EC4899,#C084FC,#8B5CF6);
  animation:auroraDrift3 38s ease-in-out infinite;}
.aurora-grain{position:absolute;inset:-20%;
  background:radial-gradient(circle at 50% 50%,rgba(255,255,255,0.35),transparent 45%);
  animation:auroraSweep 18s ease-in-out infinite;opacity:0.5;}
@keyframes auroraDrift1{0%,100%{transform:translate(0,0) rotate(0deg) scale(1);}
  33%{transform:translate(8vw,6vh) rotate(60deg) scale(1.08);}
  66%{transform:translate(-6vw,10vh) rotate(140deg) scale(0.96);}}
@keyframes auroraDrift2{0%,100%{transform:translate(0,0) rotate(0deg) scale(1);}
  40%{transform:translate(-10vw,8vh) rotate(-70deg) scale(1.1);}
  70%{transform:translate(-4vw,-6vh) rotate(-130deg) scale(0.94);}}
@keyframes auroraDrift3{0%,100%{transform:translate(0,0) rotate(0deg) scale(1);}
  50%{transform:translate(10vw,-8vh) rotate(90deg) scale(1.12);}}
@keyframes auroraSweep{0%,100%{transform:translate(-8%,-6%);opacity:0.35;}
  50%{transform:translate(8%,6%);opacity:0.6;}}
@media (prefers-reduced-motion: reduce){.aurora,.aurora-grain{animation:none!important;}}
@media (max-width:600px){.aurora{filter:blur(55px);opacity:0.5;}}


/* =========================================================
   FULL-SITE LOTTIE BACKGROUND
   ========================================================= */
.site-bg{position:fixed;inset:0;z-index:-2;overflow:hidden;pointer-events:none;
  background:linear-gradient(180deg,#FBF7FF 0%,#FDF6FB 50%,#F5F0FF 100%);}
.site-bg .bg-lottie{position:absolute;top:50%;left:50%;
  transform:translate(-50%,-50%);
  width:100vw;height:100vh;min-width:100vw;min-height:100vh;
  opacity:0.55;}
@media (max-width:600px){ .site-bg .bg-lottie{opacity:0.4;} }


/* Interactive dots network layer (sits above lottie, below content) */
.dots-bg{position:fixed;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;}

/* =========================================================
   TRANSPARENT SITE — animated background shows on every
   section of every page. Cards use frosted glass so text
   stays readable. Applies in light and dark mode.
   ========================================================= */
section,
.stats-row,
#hero,
.page-hero,
.clients-strip {
  background: transparent !important;
}

/* Frosted-glass surfaces (light mode) */
.why-card, .hv-card, .value-card, .ind-card, .port-card,
.contact-card, .contact-form-box, .faq-item, .svc-visual,
.story-box, .coming-soon, .stat, .team-highlight, .svc-text {
  background: rgba(255, 255, 255, 0.62) !important;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-color: rgba(124, 58, 237, 0.14) !important;
}

/* Frosted-glass surfaces (dark mode) */
body.dark .why-card, body.dark .hv-card, body.dark .value-card,
body.dark .ind-card, body.dark .port-card, body.dark .contact-card,
body.dark .contact-form-box, body.dark .faq-item, body.dark .svc-visual,
body.dark .story-box, body.dark .coming-soon, body.dark .stat,
body.dark .team-highlight, body.dark .svc-text {
  background: rgba(18, 26, 43, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
}

/* Translucent CTA banner + footer so background peeks through */
.cta-banner {
  background: linear-gradient(135deg, rgba(124,58,237,0.88), rgba(236,72,153,0.88)) !important;
}
footer {
  background: rgba(30, 27, 75, 0.72) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body.dark footer {
  background: rgba(5, 11, 23, 0.72) !important;
}

/* =========================================================
   THEME FIXES
   - Light mode: black text for strong contrast
   - Dark mode: dark background base behind the animation
   ========================================================= */
:root {
  --navy:  #000000;   /* headings pure black in light mode */
  --text:  #111111;   /* body text near-black in light mode */
  --muted: #3F3F46;   /* secondary text darker for readability */
}

/* Dark-mode background base (so the animated bg matches dark theme) */
body.dark .site-bg {
  background: linear-gradient(180deg, #0B0716 0%, #120A22 50%, #0B0716 100%) !important;
}
body.dark .site-bg .bg-lottie { opacity: 0.42; }
