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

:root {
  --bg: #020617;
  --bg-light: #f3f4f6;
  --bg-alt: #0b1120;
  --card: #ffffff;
  --card-dark: #020617;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.08);
  --accent-strong: #1d4ed8;
  --text: #0f172a;
  --text-invert: #e5e7eb;
  --muted: #6b7280;
  --radius-lg: 1.4rem;
  --radius-pill: 999px;
  --shadow-soft: 0 22px 65px rgba(15, 23, 42, 0.25);
  --shadow-subtle: 0 14px 40px rgba(15, 23, 42, 0.18);
  --nav-height: 76px;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #e5f0ff 0, #eff6ff 35%, #f9fafb 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Loading bar (LA2) */
.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(to right, #0ea5e9, #2563eb, #4f46e5);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.6);
  z-index: 60;
  opacity: 1;
  transition: width 0.25s ease-out, opacity 0.3s ease-out;
}

/* Layout */
.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0 4rem;
}

.section-alt {
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 60%),
              radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.06), transparent 55%);
}

.section-light {
  background: #f9fafb;
}
/* Fix header overlap when clicking nav links */
section[id] {
  scroll-margin-top: 100px; /* adjust based on header height */
}
@media(max-width: 768px) {
  section[id] {
    scroll-margin-top: 120px;
  }
}


/* Top Nav */

.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.02rem;
}

.logo-tagline {
  font-size: 0.72rem;
  text-transform: none;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  position: relative;
  padding-bottom: 0.1rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #2563eb, #4f46e5);
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: #111827;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

/* Hero */

.hero {
  position: relative;
  padding: 4.2rem 0 4.6rem;
  background-image: url("futuristic_bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--text-invert);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6), rgba(37, 99, 235, 0.45));
  mix-blend-mode: multiply;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.7);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 3.6vw, 3.1rem);
  letter-spacing: -0.04em;
  margin: 0 0 1.2rem;
}

.accent {
  background: linear-gradient(to right, #38bdf8, #a855f7);
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 32rem;
  color: #e5e7eb;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at top left, #3b82f6 0, #1d4ed8 45%, #020617 100%);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  background: radial-gradient(circle at top left, #1d4ed8 0, #1d4ed8 35%, #020617 100%);
}

.btn-outline {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.8);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.85);
  box-shadow: var(--shadow-subtle);
}

.btn-small {
  padding-inline: 1rem;
  padding-block: 0.45rem;
  font-size: 0.85rem;
}

.full-width {
  width: 100%;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  font-size: 0.8rem;
}

.meta-title {
  font-weight: 600;
  display: block;
  margin-bottom: 0.1rem;
}

.meta-sub {
  color: #cbd5f5;
}

/* Hero card right */

.hero-right {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  border-radius: 1.4rem;
  padding: 1.7rem 1.6rem;
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.45), rgba(15, 23, 42, 0.95));
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.7);
  position: relative;
  overflow: hidden;
}

/* 🏷 Heading */
.hero-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

/* 🧾 UL Cleanup */
.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
}

/* 📌 Perfect Alignment Fix (flex rows + left width) */
.hero-card li {
  padding: 0.25rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  line-height: 1.35;
}

/* 🟣 Bullet Style */
.hero-card li::before {
  content: "●";
  font-size: 0.5rem;
  margin-top: 0.45rem;
  color: #bfdbfe; /* soft blue bullet */
  flex-shrink: 0;
}

/* 🏆 Left Title alignment fix */
.hero-card li strong {
  display: inline-block;
  width: 145px;     /* <— adjust width here if needed */
  min-width: 145px; /* ensures perfect column alignment */
  font-weight: 600;
  color: #ffffff;
}


.hero-note {
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.95);
}

/* Section headings */

.section-head {
  text-align: center;
  margin-bottom: 2.4rem;
}

.section-head.align-left {
  text-align: left;
}

.section-head h2 {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

/* Cards & grids */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.card {
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  font-size: 0.92rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.7rem;
  color: var(--muted);
}

.card-outline {
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.85), rgba(219, 234, 254, 0.85));
  border-style: dashed;
}

/* List */

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle, #2563eb, #4f46e5);
}

/* Pill cards */

.pill-card {
  border-radius: 2.1rem;
  padding: 1.4rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.12);
  font-size: 0.92rem;
}

.pill-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Solutions section with background */
.section-solutions {
  position: relative;
  background-image: url("cloud_bg.jpg");
  background-size: cover;
  background-position: center;
  color: #0f172a;
}

.solutions-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(248, 250, 252, 0.92), rgba(219, 234, 254, 0.88));
}

.section-solutions > .container {
  position: relative;
  z-index: 1;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.highlight-item {
  border-radius: 1.2rem;
  padding: 0.8rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

.highlight-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.highlight-sub {
  color: var(--muted);
}

/* Engagement */

.section-engagement {
  background: radial-gradient(circle at top left, rgba(219, 234, 254, 0.9), rgba(249, 250, 251, 0.95));
}

/* Contact */

.section-contact {
  position: relative;
  background-image: url("cloud_bg.jpg");
  background-size: cover;
  background-position: center;
}

.contact-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6));
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.6rem;
  z-index: 1;
  color: #e5e7eb;
}

.section-contact .section-head h2,
.section-contact .section-head p {
  color: #e5e7eb;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0 0;
  font-size: 0.92rem;
  color: #e5e7eb;
}

.contact-details a {
  color: #bfdbfe;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Contact form */

.contact-form {
  border-radius: 1.6rem;
  padding: 1.6rem 1.6rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.8rem;
}

.form-group label {
  font-size: 0.82rem;
  color: #e5e7eb;
}
.resume-btn {
  padding:12px 22px;
  background:#2563eb;
  text-decoration:none;
  color:white;
  border-radius:12px;
  font-family:'Montserrat';
  margin-top: 20px;
}
.career-page {
  min-height: calc(100vh - 200px); /* adjusts for header+footer */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 25px;
  padding-bottom: 25px;
}
.career-page .container {
  width: min(720px, 100% - 2rem);
}
.accent {
  background: linear-gradient(100deg, #003A75 0%, #006FCE 45%, #0094FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Resume File Upload Field ===== */
.file-upload {
  position: relative;
  width: 100%;
  display: block;
}

.file-upload input[type="file"] {
  width: 100%;
  height: 50px;
  opacity: 0;
  cursor: pointer;
  position: absolute;
  left: 0;
  top: 0;
}

.file-upload-label {
  width: 100%;
  height: 50px;
  background-color: #0d1220;
  border: 1.5px solid #44516b;
  padding: 0 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  color: #cfd6e3;
  cursor: pointer;
  font-size: 15px;
  justify-content: space-between;
  transition: 0.2s ease;
}

.file-upload-label:hover {
  border-color: #0094FF;
  color: #ffffff;
}

.file-upload-label span {
  color: #0094FF;
  font-weight: 600;
}

.file-upload-text {
  flex: 1;
  padding-left: 10px;
  color: #aab4c9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


input,
select,
textarea {
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 0.7rem;
  background: rgba(15, 23, 42, 0.85);
  color: #f9fafb;
  font: inherit;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 1px rgba(147, 197, 253, 0.5);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

/* Footer */

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.5rem 0 1.6rem;
  background: #0b1120;
  color: #9ca3af;
  flex-shrink: 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.footer a {
  color: #bfdbfe;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    justify-content: flex-start;
  }

  .hero-card {
    max-width: 100%;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset-inline: 0;
    top: var(--nav-height);
    background: rgba(248, 250, 252, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.4rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease-out, opacity 0.18s ease-out;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .logo-tagline {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .badge {
    width: 100%;
    justify-content: flex-start;
  }

  .container {
    width: min(100% - 1.8rem, 100%);
  }
}
