*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #050d1f;
  --bg2: #070f24;
  --primary: #3b82f6;
  --accent: #8b5cf6;
  --text: #f0f4ff;
  --muted: #6b7fa8;
  --border: rgba(255,255,255,0.08);
  --glass: rgba(255,255,255,0.03);
  --radius: 1rem;
  --font-body: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  mix-blend-mode: screen;
}

h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.2; }

a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.section { padding: 6rem 0; }

.text-primary { color: var(--primary); }

.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: all .3s; border: 1px solid transparent;
}
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }
.btn-sm { padding: .4rem 1rem; font-size: .85rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 0 20px rgba(59,130,246,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(59,130,246,.6); }
.btn-glass {
  background: rgba(255,255,255,.06);
  border-color: var(--border);
  color: var(--text);
}
.btn-glass:hover { background: rgba(255,255,255,.12); }
.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-icon { width: 16px; height: 16px; }

/* NAVBAR */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .3s;
  padding: 1.25rem 0;
}
#navbar.scrolled {
  background: rgba(5,13,31,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
    width: 80px;
  display: flex; align-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
}
.logo-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: #fff;
  box-shadow: 0 0 15px rgba(59,130,246,.5);
}
.desktop-nav { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: .9rem; font-weight: 500; color: var(--muted);
  transition: color .2s; position: relative; padding-bottom: 4px;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px; transition: width .3s;
}
.nav-link.active, .nav-link:hover { color: #fff; }
.nav-link.active::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .5rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; gap: .5rem;
  padding: 1rem 1.5rem 1.5rem;
  background: rgba(5,13,31,.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-link {
  padding: .75rem 1rem; border-radius: .75rem;
  font-weight: 500; color: var(--muted); transition: all .2s;
}
.mobile-link:hover { background: rgba(255,255,255,.05); color: #fff; }
.mobile-cta { margin-top: .5rem; text-align: center; justify-content: center; }

/* HERO */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; padding-top: 5rem;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(100px);
  animation: pulse 8s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: rgba(59,130,246,.2); top: 20%; left: 20%; }
.orb-2 { width: 600px; height: 600px; background: rgba(139,92,246,.15); bottom: 10%; right: 15%; animation-delay: 3s; animation-duration: 10s; }
@keyframes pulse { 0%,100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }

.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1.25rem; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  font-size: .85rem; font-weight: 500; color: var(--muted);
  margin-bottom: 2rem;
}
.badge-icon { width: 16px; height: 16px; color: var(--primary); }

.hero h1 { font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 800; margin-bottom: 1.5rem; }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 580px; margin: 0 auto 2.5rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--muted); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  z-index: 1; transition: color .2s;
}
.scroll-indicator:hover { color: #fff; }
.scroll-circle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--glass);
  display: flex; align-items: center; justify-content: center;
}
.scroll-circle svg { animation: bounce 2s infinite; color: var(--primary); width: 18px; height: 18px; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-bottom: 5rem; }
.about-text h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.accent-line { width: 80px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); margin-top: 1rem; }
.about-text > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; }
.mission-vision { display: flex; flex-direction: column; gap: 1.5rem; }
.mv-card { display: flex; gap: 1rem; }
.mv-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(59,130,246,.1); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--primary);
}
.mv-icon svg { width: 24px; height: 24px; }
.mv-icon.accent { background: rgba(139,92,246,.1); color: var(--accent); }
.mv-card h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.mv-card p { color: var(--muted); font-size: .9rem; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card {
  background: var(--glass); border: 1px solid var(--border);
  backdrop-filter: blur(20px); border-radius: 1.25rem;
  padding: 2rem; text-align: center;
  transition: transform .3s;
}
.stat-card:hover { transform: translateY(-4px); }
.stat-num { display: block; font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: #fff; }
.stat-label { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

.team-section { margin-top: 4rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2, .section-header h3 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
.section-header p { color: var(--muted); max-width: 560px; margin: 0 auto; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.team-card {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 1.5rem; padding: 2rem;
  text-align: center; cursor: pointer;
  transition: all .3s;
}
.team-card:hover { border-color: rgba(59,130,246,.5); transform: translateY(-4px); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700; color: #fff;
  margin: 0 auto 1rem;
}
.team-card h4 { font-size: 1.1rem; margin-bottom: .25rem; }
.team-role { color: var(--primary); font-size: .85rem; font-weight: 500; }

/* SERVICES */
.dark-section { background: rgba(0,0,0,.4); position: relative; }
.section-line { height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.top-line { position: absolute; top: 0; left: 0; right: 0; }
.bottom-line { position: absolute; bottom: 0; left: 0; right: 0; }

.services .section-header h2 { font-size: clamp(2rem, 4vw, 3rem); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.service-card {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 1.5rem; padding: 2rem;
  transition: all .4s; position: relative; overflow: hidden; cursor: pointer;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  transition: opacity .4s; border-radius: inherit;
}
.service-card[data-color="blue"]::before { background: linear-gradient(135deg,rgba(59,130,246,.15),rgba(34,211,238,.1)); }
.service-card[data-color="purple"]::before { background: linear-gradient(135deg,rgba(139,92,246,.15),rgba(99,102,241,.1)); }
.service-card[data-color="pink"]::before { background: linear-gradient(135deg,rgba(236,72,153,.15),rgba(244,63,94,.1)); }
.service-card[data-color="green"]::before { background: linear-gradient(135deg,rgba(16,185,129,.15),rgba(20,184,166,.1)); }
.service-card[data-color="orange"]::before { background: linear-gradient(135deg,rgba(249,115,22,.15),rgba(239,68,68,.1)); }
.service-card[data-color="yellow"]::before { background: linear-gradient(135deg,rgba(234,179,8,.15),rgba(245,158,11,.1)); }
.service-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.2); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; transition: transform .4s; position: relative; z-index: 1;
}
.service-icon svg { width: 28px; height: 28px; color: #fff; }
.service-card:hover .service-icon { transform: scale(1.1); }
.service-card h3 { font-size: 1.15rem; margin-bottom: .75rem; position: relative; z-index: 1; }
.service-card p { color: var(--muted); font-size: .9rem; line-height: 1.7; position: relative; z-index: 1; }

/* PRODUCTS */
.products-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; gap: 2rem; flex-wrap: wrap; }
.products-header h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .75rem; }
.products-header p { color: var(--muted); max-width: 500px; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.product-card {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 1.5rem; overflow: hidden;
  transition: all .4s; display: flex; flex-direction: column;
}
.product-card:hover { border-color: rgba(59,130,246,.5); transform: translateY(-6px); }
.product-img {
  height: 200px; position: relative;
  display: flex; align-items: flex-start; padding: 1rem;
}
.product-tag {
  background: rgba(0,0,0,.5); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  padding: .25rem .75rem; border-radius: 999px;
  font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #fff;
}
.product-body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.5rem; margin-bottom: .75rem; transition: color .3s; }
.product-card:hover .product-body h3 { color: var(--primary); }
.product-body p { color: var(--muted); font-size: .9rem; flex: 1; margin-bottom: 1.5rem; }
.product-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--primary); font-weight: 600; font-size: .9rem;
  transition: color .2s;
}
.product-link:hover { color: #fff; }
.product-link svg { width: 16px; height: 16px; }

/* CONTACT */
.contact { position: relative; overflow: hidden; }
.contact-orb {
  position: absolute; top: 0; right: 0;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(59,130,246,.08); filter: blur(100px); pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); margin-bottom: 1.25rem; }
.contact-info > p { color: var(--muted); margin-bottom: 3rem; font-size: 1.05rem; }
.contact-items { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 2.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--primary);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-label { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .25rem; }
.contact-item a, .contact-item span { font-size: 1.1rem; font-weight: 600; color: var(--text); transition: color .2s; }
.contact-item a:hover { color: var(--primary); }

.social-links { display: flex; gap: .75rem; }
.social-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: all .3s;
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.map-placeholder {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 1.5rem; padding: 1rem;
  min-height: 400px; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background-image: radial-gradient(circle at 30% 50%, rgba(59,130,246,.08) 0%, transparent 60%),
                    radial-gradient(circle at 70% 50%, rgba(139,92,246,.06) 0%, transparent 60%);
}
.map-pin-wrap { margin-bottom: 1.5rem; }
.map-pin {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(59,130,246,.2); border: 2px solid rgba(59,130,246,.5);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); animation: bounce 2s infinite;
}
.map-pin svg { width: 28px; height: 28px; }
.map-card {
  background: rgba(255,255,255,.06); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 1rem;
  padding: 1.25rem 1.5rem; text-align: center;
  display: flex; flex-direction: column; gap: .5rem;
}
.map-card strong { font-size: 1.1rem; }
.map-card > span { color: var(--muted); font-size: .9rem; }
.map-card .btn { margin-top: .5rem; justify-content: center; }
.map-card .btn svg { width: 14px; height: 14px; }

/* FOOTER */
.footer { background: rgba(0,0,0,.8); border-top: 1px solid var(--border); padding: 5rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-brand p { color: var(--muted); margin-top: 1rem; max-width: 280px; font-size: .9rem; line-height: 1.7; }
.footer-col h4 { font-size: 1rem; margin-bottom: 1.5rem; color: #fff; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.footer-col a { color: var(--muted); font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: var(--muted); font-size: .85rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--muted); font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }

/* SCROLL REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logotxt{font-size: 0px;}
}
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-header { flex-direction: column; align-items: flex-start; }
  
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 2.5rem; }
}
