/* ============================================
   TECHNETRA CONSULTING — GLOBAL STYLESHEET
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --bg-dark:    #05091A;
  --bg-surface: #0A1228;
  --bg-card:    #0E1A35;
  --bg-card2:   #121F3E;
  --primary:    #00D4FF;
  --primary-dim: rgba(0, 212, 255, 0.12);
  --secondary:  #7C3AED;
  --accent:     #FFB700;
  --text:       #EDF2FF;
  --text-muted: #7A95BC;
  --border:     rgba(0, 212, 255, 0.15);
  --glow:       0 0 30px rgba(0, 212, 255, 0.25);
  --font-head:  'Oxanium', sans-serif;
  --font-body:  'Outfit', sans-serif;
  --radius:     12px;
  --radius-lg:  20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { color: var(--text-muted); line-height: 1.8; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: #fff; }

.gradient-text {
  background: linear-gradient(135deg, #00D4FF 0%, #7C3AED 60%, #FFB700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── LAYOUT ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(5, 9, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 0.6rem 0;
  background: rgba(5, 9, 26, 0.97);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--primary); }
.nav-logo sup {
  font-size: 0.5rem;
  background: var(--primary);
  color: #000;
  padding: 1px 4px;
  border-radius: 3px;
  vertical-align: super;
  letter-spacing: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  display: block;
  letter-spacing: 0.02em;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--primary); }

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  min-width: 220px;
  list-style: none;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.nav-menu > li:hover .nav-dropdown { display: block; }
.nav-dropdown li a {
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  display: block;
  border-radius: 6px;
}
.nav-dropdown li a:hover { color: var(--primary); background: var(--primary-dim); }

.btn-nav {
  background: var(--primary);
  color: #000 !important;
  font-weight: 700;
  padding: 0.5rem 1.2rem !important;
  border-radius: 6px !important;
}
.btn-nav:hover { background: #fff; color: #000 !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0099DD);
  color: #000;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
  color: #000;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary-dim);
  transform: translateY(-2px);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), #FF8C00);
  color: #000;
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 183, 0, 0.4);
  color: #000;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(0, 212, 255, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 80% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
              var(--bg-dark);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-dim);
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 { margin-bottom: 1.5rem; }
.hero p { font-size: 1.15rem; max-width: 600px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}
.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── SECTION HEADERS ─── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-dim);
  border: 1px solid var(--border);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 600px; margin: 0 auto; }

/* ─── CARDS ─── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.card:hover {
  border-color: rgba(0, 212, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}

.card-icon {
  width: 52px; height: 52px;
  background: var(--primary-dim);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

/* ─── SERVICE CARDS ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.service-card .card-icon { margin-bottom: 1rem; }
.service-card h4 {
  font-family: var(--font-head);
  margin-bottom: 0.5rem;
  color: var(--text);
}
.service-card p { font-size: 0.9rem; }

/* ─── AI HIGHLIGHT SECTION ─── */
.ai-section {
  background: linear-gradient(135deg, rgba(0,212,255,0.06) 0%, rgba(124,58,237,0.08) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ai-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.ai-feature {
  text-align: center;
  padding: 1.5rem;
}
.ai-feature .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.ai-feature h4 { color: var(--text); margin-bottom: 0.5rem; }
.ai-feature p { font-size: 0.88rem; }

/* ─── ABOUT SECTION ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-card-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.about-card-float {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000;
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  min-width: 140px;
}
.about-card-float .num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
}
.about-card-float .lbl { font-size: 0.8rem; font-weight: 600; }

/* ─── PROCESS ─── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
}
.process-step {
  text-align: center;
  padding: 0 1.5rem 2rem;
  position: relative;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--bg-dark);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}
.process-step h4 { margin-bottom: 0.5rem; }
.process-step p { font-size: 0.88rem; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 140px 0 60px;
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(0, 212, 255, 0.1) 0%, transparent 60%),
              var(--bg-dark);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ─── CONTACT FORM ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
}
.contact-info h3 { margin-bottom: 1rem; color: var(--text); }
.contact-info p { margin-bottom: 2rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item .icon {
  width: 40px; height: 40px;
  background: var(--primary-dim);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item .detail { font-size: 0.9rem; }
.contact-item .detail strong { color: var(--text); display: block; }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg-card); }

/* ─── CAREERS ─── */
.jobs-list { display: flex; flex-direction: column; gap: 1.2rem; }
.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: var(--transition);
}
.job-card:hover {
  border-color: rgba(0, 212, 255, 0.4);
  transform: translateX(4px);
}
.job-info h4 { color: var(--text); margin-bottom: 0.4rem; }
.job-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
}
.tag-location { background: rgba(0,212,255,0.1); color: var(--primary); }
.tag-type { background: rgba(124,58,237,0.15); color: #a78bfa; }
.tag-hot { background: rgba(255,183,0,0.15); color: var(--accent); }

/* ─── WHY US ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.why-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: var(--glow);
}

/* ─── TESTIMONIALS ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.quote-mark { font-size: 4rem; color: var(--primary); line-height: 0.5; opacity: 0.4; margin-bottom: 1rem; }
.testimonial-card p { font-size: 0.95rem; margin-bottom: 1.5rem; color: var(--text-muted); }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}
.author-info strong { display: block; color: var(--text); font-size: 0.9rem; }
.author-info span { font-size: 0.8rem; color: var(--text-muted); }

/* ─── PARTNERS/LOGOS ─── */
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.partner-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  opacity: 0.5;
  transition: var(--transition);
}
.partner-logo:hover { opacity: 1; color: var(--primary); }

/* ─── FOOTER ─── */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.footer-logo span { color: var(--primary); }
.footer-brand p { font-size: 0.9rem; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); }

/* ─── DIVIDER ─── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ─── AI BADGE / PILL ─── */
.ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(124,58,237,0.15));
  border: 1px solid rgba(124,58,237,0.3);
  color: #a78bfa;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(124,58,237,0.1));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4rem;
  text-align: center;
}
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { max-width: 500px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── SCROLL ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-menu { display: none; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: rgba(5,9,26,0.98); padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); }
  .nav-menu.open { display: flex; }
  .nav-dropdown { position: static; display: none; border: none; background: none; padding-left: 1rem; }
  .nav-menu > li.open .nav-dropdown { display: block; }
  .nav-toggle { display: flex; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .about-card-float { position: static; margin-top: 1rem; }
  .cta-banner { padding: 2.5rem 1.5rem; }
}

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