/* ============ RESET & BASE ============ */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  background: radial-gradient(circle at 20% 20%, #001933, #000a14, #000008);
  color: #e9f7ff;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
img, video, canvas, svg { max-width: 100%; height: auto; display: block; }

/* Full-screen particle bg */
#particle-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: -2; opacity: 0.6;
}

/* ============ HEADER ============ */
header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  backdrop-filter: blur(14px);
}

.logo {
  height: 56px;
  border-radius: 12px;
  padding: 4px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 4px 12px rgba(0, 200, 255, 0.18);
  transition: 0.3s;
}
.logo:hover { transform: scale(1.04); box-shadow: 0 6px 20px rgba(0,200,255,0.35); }

/* Nav */
nav { display: flex; gap: 16px; align-items: center; }
nav a {
  color: #d9f1ff; text-decoration: none; padding: 10px 6px;
  border-radius: 8px; transition: color .3s, background .3s;
}
nav a:hover { color: #00eaff; background: rgba(255,255,255,0.06); }

/* Mobile hamburger */
.nav-toggle { display: none; }
.nav-toggle-btn {
  font-size: 26px; line-height: 1;
  padding: 8px 10px; border-radius: 8px;
  background: rgba(255,255,255,0.06);
  cursor: pointer; user-select: none; margin-left: auto;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ============ HERO ============ */
.new-hero {
  min-height: 88vh;
  padding: 48px 16px;
  display: flex; align-items: center; justify-content: center;
  position: relative; color: #e9f7ff;
  background: radial-gradient(circle at 20% 20%, #071426, #000008);
  overflow: hidden;
}

.hero-inner {
  width: min(1100px, 100%);
  display: flex; flex-direction: column-reverse;
  align-items: center; justify-content: center;
  gap: 28px; margin-inline: auto;
}

.hero-info {
  width: 100%;
  animation: fadeInUp 1.0s ease forwards;
  text-align: center;
}
.hero-info h1 {
  font-size: clamp(1.6rem, 4.5vw, 3.1rem);
  line-height: 1.25; font-weight: 800;
}
.hero-info h1 span { color: hsl(17,59%,46%); }
.hero-info p {
  margin-top: 12px;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  color: #b4dfff;
}
.hero-cta {
  margin-top: 22px; padding: 14px 28px;
  font-size: 1rem; border-radius: 40px; border: none;
  background: linear-gradient(90deg, #007bff, #00eaff);
  color: #04141c; cursor: pointer; font-weight: 600;
  transition: 0.35s;
}
.hero-cta:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 0 28px #00eaffaa; }

/* Right side visual (robot) */
.hero-right {
  width: 100%; display: flex; justify-content: center; align-items: center;
  position: relative; padding-left: 0; min-width: 0;
}
.bot-wrapper {
  position: relative;
  width: min(90vw, 520px);
  height: min(90vw, 520px);
  display: grid; place-items: center;
}
.hero-avatar {
  width: min(140vw, 680px); /* scales down on mobile */
  max-width: 100%;
  animation: floatAvatar 4s ease-in-out infinite, waveHand 3s ease-in-out infinite, blinkEyes 2s step-start infinite;
  position: relative; z-index: 8;
}
.glow-circle {
  position: absolute;
  width: min(120vw, 620px);
  height: min(120vw, 620px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,255,0.35), transparent 75%);
  animation: glowPulse 3s ease-in-out infinite;
  z-index: 1;
}

/* Organic blobs */
.blob-container { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute; width: 60vw; max-width: 420px; aspect-ratio: 1/1;
  background: radial-gradient(circle at 30% 30%, #7f5bffcc, #3c1aff33, transparent 80%);
  border-radius: 58% 42% 66% 34% / 42% 64% 36% 58%;
  filter: blur(55px); opacity: 0.72; animation: blobFloat 18s infinite ease-in-out;
}
.blob1 { top: -10%; left: -5%; }
.blob2 {
  top: 40%; left: 70%;
  background: radial-gradient(circle at 20% 40%, #00eaffcc, #006b7a44, transparent 80%);
  width: 50vw; max-width: 350px; aspect-ratio: 1/1; animation-delay: 4s;
}
.blob3 {
  top: 75%; left: 10%;
  background: radial-gradient(circle at 60% 60%, #ff66e6cc, #6b005544, transparent 80%);
  width: 45vw; max-width: 300px; aspect-ratio: 1/1; animation-delay: 8s;
}

/* ============ GENERIC SECTION STYLES ============ */
.section { padding: 70px 16px; text-align: center; }
.section h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); color:#00eaff; margin-bottom: 28px; }

/* ============ SERVICES ============ */
.services-section {
  padding: 80px 16px;
  background: linear-gradient(180deg, #010b16, #020f1d, #000611);
  color: #dff8ff; text-align: center;
}
.section-title { font-size: clamp(1.8rem, 3.8vw, 2.4rem); font-weight: 800; color:#00eaff; text-shadow: 0 0 20px #00eaff88; }
.section-subtitle { margin-top: 8px; color:#8ec9e8; font-size: clamp(1rem, 1.4vw, 1.15rem); margin-bottom: 34px; }

.services-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.service-card {
  background: rgba(0, 25, 40, 0.45);
  border: 1px solid #004b66;
  padding: 22px; border-radius: 16px;
  backdrop-filter: blur(6px); transition: 0.45s ease; text-align: left; position: relative;
}
.service-card:hover { transform: translateY(-6px); border-color:#00eaff; box-shadow:0 0 26px #00eaff66; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; color:#9cecff; }
.service-card p { color:#b5e3f7; margin-bottom: 12px; font-size: 0.98rem; }
.service-card ul { padding-left: 18px; }
.service-card ul li { margin-bottom: 6px; color:#8fdcff; }

/* ============ SPECIALTIES GRID ============ */
.specialties-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.specialty-card {
  background: rgba(255,255,255,0.05); padding: 18px; border-radius: 10px;
  transition: .4s; backdrop-filter: blur(8px);
}
.specialty-card img { width: 48px; margin: 0 auto 10px; }
.specialty-card:hover { transform: translateY(-6px); box-shadow: 0 0 22px #00eaff60; }

/* ============ ABOUT + TEAM ============ */
.about-section {
  padding: 80px 16px;
  background: linear-gradient(180deg, #00070f, #01101c, #00070f);
  color: #c9f5ff;
}
.about-inner {
  display: grid; gap: 34px;
  grid-template-columns: 1fr; align-items: start;
}
.about-content h2,
.team-section h3 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800; color:#00eaff; text-shadow: 0 0 15px #00eaff88;
  margin-bottom: 18px; text-align: left;
}
.about-content { min-width: 0; }
.about-content p { margin-top: 10px; font-size: 1rem; color: #aedadf; line-height: 1.65; }

.mini-values { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.mini-value-box {
  background: rgba(4, 29, 48, 0.6); border: 1px solid rgba(0,255,255,0.3);
  border-radius: 14px; padding: 12px 14px; text-align: left; font-size: 0.92rem;
  transition: 0.3s ease;
}
.mini-value-box:hover { transform: translateY(-3px); border-color: #00eaff; box-shadow: 0 0 12px #00eaff55; }
.mini-value-box h4 { color:#7afcff; font-size: 1rem; margin: 4px 0; }

.team-section { min-width: 0; }
.team-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}
.team-card {
  background: rgba(0, 45, 65, 0.35); padding: 16px; border-radius: 14px;
  border: 1px solid #004d66; backdrop-filter: blur(6px); transition: .4s;
}
.team-card:hover { border-color:#00eaff; transform: translateY(-4px); box-shadow: 0 0 20px #00eaff66; }
.team-card img {
  width: 62px; height: 62px; border-radius: 50%; margin-bottom: 8px;
  border: 2px solid #00eaff88; padding: 5px; background: #02121d;
}
.team-card h4 { color:#dfffef; margin-bottom: 2px; }
.team-card p { font-size: 0.9rem; color:#9ad6e5; }

/* ============ CONTACT ============ */
.contact { position: relative; text-align: center; }
.contact-subtitle { opacity: 0.8; margin-bottom: 20px; font-size: 1rem; }

.contact-container {
  position: relative; width: 100%; max-width: 720px;
  margin: 40px auto; padding: 22px;
  border-radius: 16px; background: rgba(0, 7, 14, 0.6);
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.15);
  backdrop-filter: blur(14px); text-align: center;
}
.contact-info-box h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); color:#fff; margin-bottom: 6px; font-weight: 600; }
.contact-info-box p { color: #c9d6e1; margin-bottom: 16px; }

.contact-details {
  list-style: none; padding: 0; margin: 0;
  font-size: 1rem; line-height: 1.9rem; color: #e6e6e6;
}
.contact-details a { color: #00e6ff; font-weight: 500; text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }
.contact-glow { position: absolute; inset: 0; background: radial-gradient(circle, rgba(0,255,255,0.25), transparent 70%); pointer-events: none; border-radius: inherit; }

/* Inputs/buttons (if you add a form later) */
.contact input, .contact textarea, .contact select, .contact button {
  width: 100%;
  font: inherit;
}
.contact input, .contact textarea, .contact select {
  padding: 12px 14px; margin: 8px 0;
  border: 1px solid #2a4d5d; border-radius: 10px; background: rgba(255,255,255,0.06);
  color: #e9f7ff;
}
.contact button {
  padding: 14px; margin-top: 10px; border: none; border-radius: 10px;
  background: #00eaff; color: #021017; cursor: pointer; font-weight: 600;
}
.contact button:hover { background: #fff; }

/* ============ FOOTER ============ */
footer { text-align: center; padding: 24px 16px; margin-top: 30px; opacity: 0.65; }

/* ============ ANIMATIONS (unchanged) ============ */
@keyframes fadeInUp { from { opacity:0; transform: translateY(40px);} to {opacity:1; transform: translateY(0);} }
@keyframes pulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.18);} }
@keyframes floatAvatar { 0%{transform:translateY(0)} 50%{transform:translateY(-18px)} 100%{transform:translateY(0)} }
@keyframes waveHand { 0%,100%{transform:rotate(0)} 50%{transform:rotate(3deg)} }
@keyframes blinkEyes { 0%,98%,100%{filter:brightness(1)} 99%{filter:brightness(0.4)} }
@keyframes glowPulse { 0%{transform:scale(1);opacity:.6} 50%{transform:scale(1.15);opacity:.9} 100%{transform:scale(1);opacity:.6} }
@keyframes blobFloat { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(60px,-60px) scale(1.25);} }

/* ============ RESPONSIVE BREAKPOINTS ============ */

/* Phones (default styles are already mobile-friendly) */
/* Tablet and up */
@media (min-width: 700px) {
  header { padding: 18px 28px; }
  .hero-inner { flex-direction: row; gap: 44px; }
  .hero-info { text-align: left; }
}

/* Desktop and up */
@media (min-width: 1024px) {
  header { padding: 22px 70px; }
  .logo { height: 72px; }
  .hero-avatar { width: min(90vw, 720px); }
  .glow-circle { width: min(100vw, 700px); height: min(100vw, 700px); }
  .about-inner {
    grid-template-columns: 1.2fr 1fr; /* left text + team */
  }
}

/* NAV BEHAVIOR: collapse on < 900px */
@media (max-width: 900px) {
  .nav-toggle-btn { display: inline-flex; }
  nav {
    position: absolute; top: 100%; right: 16px; left: 16px;
    display: grid; gap: 8px;
    background: rgba(1, 12, 22, 0.9);
    padding: 12px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    transform-origin: top right;
    transform: scaleY(0); opacity: 0; pointer-events: none;
    transition: .25s;
  }
  .nav-toggle:checked ~ nav {
    transform: scaleY(1); opacity: 1; pointer-events: auto;
  }
}

/* Wider screens: show nav inline, hide hamburger */
@media (min-width: 901px) {
  .nav-toggle-btn { display: none; }
  nav {
    position: static; transform: none !important; opacity: 1 !important; pointer-events: auto !important;
    background: transparent; padding: 0; border: 0;
  }
}
