body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(0,212,255,0.05), transparent 50%);
  z-index: -3;
  animation: drift 12s infinite alternate ease-in-out;
}

@keyframes drift {
  0% { transform: translate(0,0); }
  100% { transform: translate(40px, -30px); }
}

/* GLOBAL BACKGROUND SYSTEM */

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #0B0F1A;
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}

/* Background Container */
.global-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
}

/* Canvas */
.global-bg canvas {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* Neon Overlay */
.bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,212,255,0.12), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,212,255,0.08), transparent 40%),
    linear-gradient(to bottom, #0B0F1A 20%, #111827 100%);
  z-index: 1;
}
:root {
  --bg-primary: #0B0F1A;
  --bg-secondary: #111827;
  --accent: #00D4FF;
  --text-primary: #E6F1FF;
  --text-muted: #9FB3C8;
}



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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Layout */

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Navbar */

.navbar {
  position: fixed;
  width: 100%;
  padding: 18px 0;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar a {
  color: var(--text-primary);
  text-decoration: none;
  margin-left: 25px;
  font-weight: 500;
  transition: 0.3s;
}

.navbar a:hover {
  color: var(--accent);
}

.logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
}

/* Hero */

.hero {
  position: relative;
  /* height: 100vh; */
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.hero canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0,212,255,0.15), transparent 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 35px;
}

.hero-buttons a {
  margin: 10px;
}

/* Buttons */

.btn-primary {
  background: var(--accent);
  color: #000;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(0,212,255,0.5);
  transition: 0.3s;
}

.btn-primary:hover {
  box-shadow: 0 0 35px rgba(0,212,255,0.9);
}

.btn-secondary {
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: var(--accent);
  color: #000;
}

/* Sections */

/* .section {
  padding: 120px 0;
} */

.section {
  padding: 80px 0;
}

.section-label {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
}

/* Cards */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 35px;
}

.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,212,255,0.2);
  /* padding: 40px; */
  padding: 28px;
  min-height: 220px;
  border-radius: 12px;
  transition: 0.4s;
}

/* .card {
  padding: 28px;
  min-height: 220px;
} */

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 35px rgba(0,212,255,0.4);
}

/* Footer */

footer {
  background: #05070d;
  padding: 70px 0;
}

.footer-bottom {
  text-align: center;
  margin-top: 25px;
  color: var(--text-muted);
}

/* SERVICES PAGE */

.services-hero {
  padding: 160px 0 100px;
  position: relative;
  text-align: center;
  background: linear-gradient(to bottom, #0B0F1A, #111827);
  overflow: hidden;
}

.services-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,212,255,0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,212,255,0.08), transparent 40%);
  z-index: 0;
}

.services-title {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.services-sub {
  color: var(--text-muted);
  max-width: 700px;
  margin: 20px auto 0;
  position: relative;
  z-index: 1;
}

.services-grid-section {
  padding: 100px 0;
  background: #0B0F1A;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,212,255,0.2);
  /* padding: 40px; */
  padding: 28px;
  min-height: 300px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(0,212,255,0.4);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.service-card ul {
  margin-top: 15px;
  margin-bottom: 20px;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-highlight {
  background: rgba(0,212,255,0.08);
  border-left: 3px solid var(--accent);
  padding: 12px 15px;
  margin-bottom: 20px;
  font-size: 14px;
}

.service-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.service-link:hover {
  text-decoration: underline;
}

/* ABOUT PAGE */

.about-hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  background: linear-gradient(to bottom, #0B0F1A, #111827);
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(0,212,255,0.15), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(0,212,255,0.08), transparent 40%);
  z-index: 0;
}

.about-title {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.about-sub {
  color: var(--text-muted);
  max-width: 700px;
  margin: 20px auto 0;
  position: relative;
  z-index: 1;
}

.about-story {
  padding: 100px 0;
}

.about-text {
  max-width: 800px;
  margin: auto;
  line-height: 1.8;
  color: var(--text-muted);
}

.mission-vision-section {
  padding: 80px 0;
  background: #0B0F1A;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.mission-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  transition: 0.4s ease;
}

.mission-card:hover {
  box-shadow: 0 0 40px rgba(0,212,255,0.4);
  transform: translateY(-6px);
}

.mission-card .emoji {
  font-size: 40px;
  margin-bottom: 15px;
}

.approach-section {
  padding: 100px 0;
}

.approach-card {
  background: rgba(0,212,255,0.08);
  border-left: 4px solid var(--accent);
  padding: 30px;
  border-radius: 12px;
}

.why-section {
  padding: 100px 0;
}

.why-list {
  max-width: 800px;
  margin: auto;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ==============================
   PAGE TRANSITION
============================== */

body {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

body.page-loaded {
  opacity: 1;
}

.fade-out {
  opacity: 0 !important;
}

/* ==============================
   CONTACT PAGE UPGRADE
============================== */

.contact-section {
  padding: 120px 0 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-info h1 {
  font-size: 42px;
  font-family: 'Inter', sans-serif;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 500px;
}

.info-item {
  margin-bottom: 15px;
  color: var(--text-muted);
  font-size: 15px;
}

.contact-form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,212,255,0.2);
  backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: 0.4s ease;
}

.contact-form-card:hover {
  box-shadow: 0 0 35px rgba(0,212,255,0.3);
}

.contact-form-card input,
.contact-form-card textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,212,255,0.15);
  padding: 14px;
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(0,212,255,0.3);
}

.contact-form-card textarea {
  min-height: 120px;
  resize: none;
}

/* Mobile */

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

  .contact-section {
    padding-top: 150px;
  }
}

/* PRELOADER */

/* .preloader {
  position: fixed;
  inset: 0;
  background: #0B0F1A;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.loader-bar {
  width: 220px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: var(--accent);
  animation: loadProgress 1.6s ease forwards;
}

@keyframes loadProgress {
  to { width: 100%; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.navbar a {
  position: relative;
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 1px;
  background: var(--accent);
  transition: 0.3s;
}

.navbar a:hover::after {
  width: 100%;
}

.card, .service-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.05);
}

.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent),
    transparent
  );
  margin: 80px 0;
  animation: pulseLine 4s infinite ease-in-out;
}

@keyframes pulseLine {
  0%,100% { opacity: 0.3; }
  50% { opacity: 1; }
} */

/* ============================
   PREMIUM PRELOADER
============================ */

.preloader {
  position: fixed;
  inset: 0;
  background: #0B0F1A;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

.loader-content {
  text-align: center;
}

/* Logo Image */
/* .loader-logo-img {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
  animation: fadeInLogo 0.8s ease forwards;
} */

.loader-logo-img {
  height: 200px;   /* increase size */
  width: auto;
  margin-bottom: 25px;
  animation: fadeInLogo 0.12s ease forwards;
}

/* Logo Text */
.loader-logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 25px;
  color: var(--text-primary);
  opacity: 0.8;
}

/* Progress Bar */
.loader-bar {
  width: 220px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
  margin: auto;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: var(--accent);
  animation: loadProgress 1.5s ease forwards;
}

/* Animations */
@keyframes loadProgress {
  to { width: 100%; }
}

@keyframes fadeInLogo {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* body {
  cursor: none;
} */

.cursor-glow {
  position: fixed;
  width: 20px;
  height: 20px;
  background: rgba(0,212,255,0.4);
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
}
.fade-out {
  opacity: 0;
  filter: blur(6px);
}

.logo img {
  height: 34px;
  width: auto;
  display: block;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  transition: 0.3s ease;
}

.logo img:hover {
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.5));
}

.logo img {
  opacity: 0;
  transform: translateY(-10px);
  animation: logoReveal 0.8s ease forwards;
}

@keyframes logoReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================
   INDUSTRIES PAGE
============================ */

.industries-hero {
  padding: 160px 0 100px;
  text-align: center;
  background: linear-gradient(to bottom, #0B0F1A, #111827);
}

.industries-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
}

.industries-hero p {
  color: var(--text-muted);
  max-width: 700px;
  margin: auto;
}

.industries-section {
  padding: 100px 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.industry-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,212,255,0.15);
  padding: 35px;
  border-radius: 16px;
  backdrop-filter: blur(14px);
  transition: 0.4s ease;
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(0,212,255,0.25);
}

.industry-icon {
  font-size: 34px;
  margin-bottom: 18px;
}

.industry-card h3 {
  margin-bottom: 12px;
}

.industry-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  font-size: 14px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ============================
   LEGAL PAGE
============================ */

.legal-section {
  padding: 160px 0 100px;
}

.legal-content {
  max-width: 850px;
  margin: auto;
}

.legal-content h1 {
  font-family: 'Inter', sans-serif;
  font-size: 42px;
  margin-bottom: 15px;
}

.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 20px;
}

.legal-content p {
  color: var(--text-muted);
  line-height: 1.8;
}

.last-updated {
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 30px;
}

/* ============================
   SERVICE PORTFOLIO SECTION
============================ */

.portfolio-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, #0B0F1A, #111827);
}

.portfolio-title {
  font-family: 'Inter', sans-serif;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 60px;
  text-align: left;
  color: var(--accent);
}

/* .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
} */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.portfolio-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 18px;
  padding: 40px;
  backdrop-filter: blur(14px);
  transition: 0.4s ease;
  position: relative;
  overflow: hidden;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(0,212,255,0.25);
}

.portfolio-icon {
  font-size: 32px;
  margin-bottom: 20px;
}

.portfolio-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.portfolio-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Subtle animated glow line */
.portfolio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transition: 0.6s ease;
}

.portfolio-card:hover::before {
  left: 0;
}
@media (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ============================
   HOMEPAGE SERVICE CARDS
============================ */

.service-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
}

.service-icon {
  font-size: 34px;
  margin-bottom: 18px;
  transition: 0.4s ease;
}

/* Subtle premium hover animation */
.service-card:hover .service-icon {
  transform: translateY(-5px) scale(1.1);
}

/* Add animated top accent line */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transition: 0.6s ease;
}

.service-card:hover::before {
  left: 0;
}

