/* ---------------------------
   NPXSOFT — style.css (complete)
   - Colors & font setup match the provided screenshot
   - Responsive rules included
   - Animations & accessibility tweaks
   --------------------------- */

:root {
  /* Color palette adapted to match provided image */
  --white: #ffffff;
  --dark-header: #2E2E2E;      /* charcoal header */
  --light-section: #E4E9F0;    /* light grey/blue background for sections */
  --card-bg: rgba(255,255,255,0.98); /* white cards */
  --glass: rgba(0,0,0,0.03);
  --text-dark: #1A1A1A;
  --text-muted: #516A85;       /* muted blue-grey body text */
  --accent-cyan: #00d8ff;     /* bright cyan accent */
  --accent-purple: #7c5cff;   /* purple accent */
  --accent-green: #0FB95A;    /* AI/CTA green */
  --radius: 16px;
  --transition: 0.4s ease;
  --font-sans: 'Inter', sans-serif;
  --max-width: 1200px;
}

/* Reset + global */
* { margin:0; padding:0; box-sizing:border-box; }
html, body { height:100%; }
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  font-size: 16px;
}

/* Link defaults */
a { color: var(--text-muted); text-decoration: none; transition: var(--transition); cursor: pointer; }
a:hover, a:focus { color: var(--accent-cyan); outline: none; }

/* Header */
header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px;
  position: sticky;
  top: 0;
  background: var(--dark-header);
  color: white;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.logo {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation */
nav {
  display:flex;
  gap:20px;
  align-items:center;
}
nav a {
  margin-left: 0;
  padding: 0 12px;
  position: relative;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 15px;
}
@media(min-width:769px){
  nav a:not(:last-child)::after {
    content: "";
    position:absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255,255,255,0.08);
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  width: 25px;
  height: 20px;
  justify-content: center;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #eaf2ff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Sections */
.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}
section {
  padding: 25px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}
.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  color: var(--text-dark);
}

/* Hero */
.hero {
  display:flex;
  flex-direction: column;
  justify-content: center;
  min-height: 50vh;
  position: relative;
  overflow: hidden;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--light-section);
}
.hero-content {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:20px;
}
.hero-image { flex:1; min-width: 300px; display:flex; align-items:center; justify-content:center; }
.hero-image img { max-width:100%; height:auto; display:block; border-radius: 12px; }
.hero-text { flex:1; min-width:300px; padding: 10px 18px; }
.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg,var(--accent-purple), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.6px;
}
.hero p {
  color: var(--text-muted);
  max-width: 680px;
  margin: 16px 0;
  z-index: 2;
  position: relative;
  text-align: justify;
}
.hero .btn {
  padding: 14px 28px;
  border-radius: 14px;
  background: linear-gradient(90deg,var(--accent-cyan), var(--accent-purple));
  border: none;
  color: #06121a;
  font-weight: 700;
  cursor: pointer;
  z-index: 2;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,216,255,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero .btn:hover { transform: scale(1.03); box-shadow: 0 12px 36px rgba(124,92,255,0.12); }

/* Floating blobs */
.blob {
  position:absolute;
  border-radius:50%;
  filter: blur(100px);
  opacity: 0.35;
  animation: float 25s infinite alternate;
  pointer-events: none;
}
.blob1 { width: 300px; height: 300px; background: radial-gradient(circle,#00d8ff,#7c5cff); top: -50px; left: -100px; }
.blob2 { width: 400px; height: 400px; background: radial-gradient(circle,#7c5cff,#00d8ff); bottom: -100px; right: -150px; animation-duration: 30s; }
@keyframes float {
  0% { transform: translate(0,0) rotate(0deg); }
  100% { transform: translate(100px,-50px) rotate(360deg); }
}

/* Cards */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--glass);
  transition: transform 0.5s ease, box-shadow 0.45s ease;
}
.card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }

/* Grid sections */
.services, .features, .team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.member-card {
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  cursor: pointer;
  padding: 18px;
}
.member-card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg,#00d8ff,#7c5cff);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 12px;
  color: #06121a;
  box-shadow: 0 4px 18px rgba(0,216,255,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.member-card:hover .avatar { transform: scale(1.05); box-shadow: 0 8px 28px rgba(124,92,255,0.12); }

/* Contact/social */
.social-icons { display:flex; gap: 30px; justify-content:center; font-size: 32px; align-items:center; }
.social-icons a { display:inline-flex; align-items:center; justify-content:center; }
.social-icons a svg { display:block; }
.social-icons a:hover { transform: scale(1.1); filter: drop-shadow(0 0 8px var(--accent-cyan)); transition: transform 0.25s ease, filter 0.25s ease; }

/* Animations */
.animate { opacity: 0; transform: translateY(40px); transition: all 0.7s ease-out; will-change: transform, opacity; }
.animate.visible { opacity: 1; transform: translateY(0); }
.slide-left { opacity: 0; transform: translateX(-80px); transition: all 0.8s ease-out; }
.slide-left.visible { opacity:1; transform: translateX(0); }
.slide-right { opacity: 0; transform: translateX(80px); transition: all 0.8s ease-out; }
.slide-right.visible { opacity:1; transform: translateX(0); }

/* CTA slider */
.cta-section {
  position: relative;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg,#7c5cff,#00d8ff);
  border-radius: 20px;
  overflow: hidden;
}
.cta-section h2, .cta-section p, .cta-section button { position: relative; z-index: 2; color: white; }
.cta-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  display: flex;
  animation: slideImages 20s linear infinite;
  opacity: 0.12;
  z-index: 1;
}
.cta-slider img { width: 50%; height: 100%; object-fit: cover; }
@keyframes slideImages { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Footer */
footer { text-align:center; padding:40px 20px; background:#0a0c10; color:var(--text-muted); }

/* Utilities */
.text-muted { color: var(--text-muted); }

/* Accessibility: focus outlines for keyboard */
.user-is-tabbing a:focus,
.user-is-tabbing button:focus,
.user-is-tabbing .hamburger:focus {
  outline: 3px solid rgba(0,216,255,0.18);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  section { padding: 30px 16px; }
  .hero-content { flex-direction: column !important; align-items: flex-start; }
  .hero-image, .hero-text { width: 100%; }
  .cta-slider { display: none; }

  nav {
    position: absolute;
    top: 70px;
    right: 16px;
    background: var(--dark-header);
    flex-direction: column;
    width: 220px;
    padding: 10px;
    display: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }
  nav.open { display:flex; }
  nav a { margin: 10px 0; padding: 8px 12px; color: rgba(255,255,255,0.95); border-radius: 8px; }
  nav a:hover { background: rgba(255,255,255,0.03); }

  .hamburger { display: flex; }
}

/* Mid / Desktop adjustments */
@media (min-width: 769px) {
  .container { width: 90%; margin: 0 auto; }
  h1 { font-size: 48px; }
  .section-title { font-size: 36px; }
  header { padding: 18px 24px; }
  nav a { font-size: 15px; }
}

@media (min-width: 769px) {
  nav a:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 15%;
    height: 70%;
    width: 2px;
    background: rgba(255, 255, 255, 0.55); /* now MUCH more visible */
    opacity: 1;
  }
}

/* Small phone tweaks */
@media (max-width: 420px) {
  .member-card .avatar { width:64px; height:64px; font-size:20px; }
  .hero p { font-size: 15px; }
  .hero .btn { padding: 12px 20px; }
}

/* Ensure images are responsive inside cards */
img { max-width: 100%; height: auto; display: block; }


