@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Space+Grotesk:wght@300;500;700&family=Space+Mono&display=swap');

/* --- CSS CUSTOM PROPERTIES --- */
:root {
  --color-bg-primary: #0D1B2A;
  --color-bg-secondary: #162838;
  --color-accent: #00D9E8;
  --color-text: #e0e0e0;
  --color-text-muted: #cccccc;
  --color-text-heading: #ffffff;
  --color-footer-text: #aaaaaa;
  --accent-glow-sm: 0 0 5px rgba(0, 217, 232, 0.4);
  --accent-glow-md: 0 0 10px rgba(0, 217, 232, 0.4);
  --accent-glow-lg: 0 0 30px rgba(0, 217, 232, 0.7);
  --accent-border: rgba(0, 217, 232, 0.3);
  --accent-border-strong: rgba(0, 217, 232, 0.5);

  --font-main: 'Inter', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

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

/* --- GLOBAL RESET & DARK MODE BASE --- */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-bg-primary);
  scroll-behavior: smooth;
}

/* --- TYPOGRAPHY & COLORS --- */
h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--color-text-heading);
  font-weight: 700;
  margin-top: 0;
  letter-spacing: -0.02em;
}

.highlight-text {
  color: var(--color-accent);
}

/* --- NAVIGATION --- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background-color: var(--color-bg-primary);
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--accent-border);
  box-shadow: 0 2px 15px rgba(0, 217, 232, 0.1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
}

.nav-logo-img {
  height: 100px;
  width: auto;
  filter: drop-shadow(var(--accent-glow-sm));
}

.nav-logo-text {
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: white;
  text-shadow: 0 0 10px rgba(0, 217, 232, 0.5);
}

.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-item {
  color: var(--color-text);
  font-size: 0.9rem;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.nav-item:hover,
.nav-item:focus {
  color: var(--color-accent);
  text-shadow: 0 0 8px rgba(0, 217, 232, 0.8);
  outline: none;
}

/* --- NAV TOGGLE (HAMBURGER) --- */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-accent);
  position: relative;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  background: var(--color-accent);
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}


/* --- HERO SECTION --- */
.bsa-hero {
  background-color: var(--color-bg-primary);
  padding: 100px 20px;
  text-align: center;
  border-bottom: 2px solid var(--accent-border-strong);
  box-shadow: 0 10px 30px -10px rgba(0, 217, 232, 0.2);
}

.bsa-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.1;
  text-transform: uppercase;
}

.bsa-hero p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--color-text-muted);
}

.industry-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
  font-weight: 500;
  text-shadow: var(--accent-glow-sm);
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  background-color: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  padding: 15px 35px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(0, 217, 232, 0.2);
}

.btn:hover,
.btn:focus {
  background-color: var(--color-accent);
  color: var(--color-bg-primary);
  box-shadow: var(--accent-glow-lg);
  outline: none;
}

/* --- UNIFIED GRID & CARDS --- */
.unified-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.unified-card {
  background: var(--color-bg-primary);
  padding: 35px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  border: 1px solid var(--accent-border);
  box-shadow: 0 0 20px rgba(0, 217, 232, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
}

.unified-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px var(--accent-border);
  border-color: var(--color-accent);
}

.unified-card h3 {
  min-height: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 15px;
  font-size: 1.25rem;
}

/* --- SERVICES SECTION --- */
.services {
  padding: 100px 10%;
  background-color: var(--color-bg-secondary);
  text-align: center;
}

/* --- ABOUT SECTION --- */
.about {
  padding: 100px 10%;
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  background-color: var(--color-bg-primary);
}

.about-text {
  flex: 2;
  min-width: 300px;
}

.about-stats {
  flex: 1;
  background-color: var(--color-bg-secondary);
  color: white;
  padding: 30px;
  border-radius: 5px;
  min-width: 250px;
  border: 1px solid var(--accent-border);
  box-shadow: 0 0 20px rgba(0, 217, 232, 0.1);
}

.stat-item {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--accent-border);
  padding-bottom: 10px;
}

.stat-item:last-child {
  border: none;
}

.stat-number {
  font-size: 2.5rem;
  color: var(--color-accent);
  font-weight: bold;
  display: block;
  text-shadow: var(--accent-glow-md);
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- CERTIFICATIONS / BADGE SECTION --- */
.certifications {
  padding: 100px 10%;
  background-color: var(--color-bg-secondary);
  text-align: center;
}

.cert-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(var(--accent-glow-sm));
}

.cert-card a {
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: auto;
  transition: all 0.3s ease;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cert-card a:hover {
  text-shadow: 0 0 8px rgba(0, 217, 232, 0.8);
  letter-spacing: 1.5px;
}

/* --- CONTACT SECTION --- */
.contact {
  padding: 100px 20px;
  text-align: center;
  background-color: var(--color-bg-secondary);
}

.contact-box {
  background: var(--color-bg-primary);
  border: 1px solid rgba(0, 217, 232, 0.4);
  box-shadow: 0 0 30px rgba(0, 217, 232, 0.15);
  padding: 50px;
  border-radius: 8px;
  max-width: 700px;
  margin: 0 auto;
}

/* --- FOOTER --- */
footer {
  background-color: var(--color-bg-primary);
  color: var(--color-footer-text);
  text-align: center;
  padding: 40px 20px;
  font-size: 0.8rem;
  border-top: 1px solid var(--color-bg-secondary);
}

footer .service-area {
  color: var(--color-accent);
  font-size: 1rem;
  margin: 15px 0;
  text-shadow: var(--accent-glow-sm);
  letter-spacing: 0.5px;
}

footer p {
  margin: 10px 0;
}

/* --- SOCIAL LINKS --- */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: var(--accent-glow-sm);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- PORTFOLIO PAGE STYLES --- */
.page-hero {
  background-color: var(--color-bg-primary);
  padding: 60px 20px;
  text-align: center;
  border-bottom: 2px solid var(--accent-border-strong);
}

.page-hero h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.portfolio-section {
  padding: 80px 10%;
  background-color: var(--color-bg-secondary);
}

.portfolio-card {
  padding: 35px;
}

.portfolio-card .industry-tag {
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.portfolio-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portfolio-card-body p {
  margin: 0 0 20px 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 5px 12px;
  border: 1px solid var(--accent-border);
  border-radius: 4px;
  color: var(--color-accent);
  text-transform: uppercase;
  background: rgba(0, 217, 232, 0.05);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(0, 217, 232, 0.2);
  border-color: var(--color-accent);
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 1024px) {
  .bsa-hero h1 {
    font-size: 2.5rem;
  }

  .bsa-hero p {
    font-size: 1.1rem;
  }

  .about {
    padding: 80px 5%;
  }

  .services {
    padding: 80px 5%;
  }
}

@media (max-width: 768px) {
  .bsa-hero h1 {
    font-size: 2rem;
  }

  .bsa-hero {
    padding: 60px 15px;
  }

  nav {
    flex-wrap: wrap;
    padding: 10px 5%;
  }

  .nav-brand {
    flex-direction: row;
    gap: 10px;
  }

  .nav-logo-img {
    height: 60px;
  }

  .nav-logo-text {
    font-size: 1rem;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--accent-border);
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-bg-primary);
    padding: 20px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .service-card {
    min-width: 100%;
    max-width: 100%;
  }

  .about {
    flex-direction: column;
    padding: 60px 5%;
  }

  .about-text {
    min-width: 100%;
  }

  .about-stats {
    min-width: 100%;
  }

  .stat-number {
    font-size: 2rem;
  }

  .contact-box {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .bsa-hero h1 {
    font-size: 1.6rem;
  }

  .bsa-hero p {
    font-size: 1rem;
  }

  .industry-tag {
    font-size: 0.85rem;
    letter-spacing: 2px;
  }

  .btn {
    padding: 12px 25px;
    font-size: 0.85rem;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }
}

/* --- WHITE PAPER LANDING PAGE --- */
.landing-hero {
  padding: 80px 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  min-height: 80vh;
}

.landing-content {
  flex: 2;
  min-width: 300px;
}

.landing-content h1 {
  font-size: 3.2rem;
  margin-bottom: 25px;
  line-height: 1.2;
}

.landing-form-container {
  flex: 1;
  min-width: 350px;
  max-width: 450px;
}

.form-glass-card {
  background: rgba(22, 40, 56, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gamma-embed-container {
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--accent-border);
  box-shadow: 0 0 20px rgba(0, 217, 232, 0.2);
}

/* Custom styles for Zoho form integration overlay */
.zcwf_row {
  margin-bottom: 20px !important;
}

.zcwf_col_lab {
  display: block !important;
  width: 100% !important;
  margin-bottom: 8px !important;
  color: var(--color-accent) !important;
  font-family: var(--font-mono) !important;
  text-transform: uppercase !important;
  font-size: 0.75rem !important;
  letter-spacing: 1px !important;
}

.zcwf_col_fld {
  width: 100% !important;
  float: none !important;
}

.zcwf_col_fld input[type="text"] {
  width: 100% !important;
  background: rgba(13, 27, 42, 0.6) !important;
  border: 1px solid var(--accent-border) !important;
  color: white !important;
  padding: 12px 15px !important;
  border-radius: 4px !important;
  font-family: var(--font-main) !important;
  transition: all 0.3s ease !important;
  float: none !important;
}

.zcwf_col_fld input[type="text"]:focus {
  border-color: var(--color-accent) !important;
  box-shadow: var(--accent-glow-sm) !important;
  outline: none !important;
}

.zcwf_button.formsubmit {
  width: 100% !important;
  max-width: none !important;
  background: var(--color-accent) !important;
  color: var(--color-bg-primary) !important;
  padding: 15px !important;
  font-weight: bold !important;
  border: none !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  cursor: pointer !important;
  transition: all 0.4s ease !important;
  display: block !important;
  margin-top: 10px !important;
}

.zcwf_button.formsubmit:hover {
  box-shadow: var(--accent-glow-lg) !important;
  transform: translateY(-2px) !important;
}

.zcwf_button[type="reset"] {
  display: none !important;
}

.zcwf_title {
  display: none !important;
}

.thanks-container {
  text-align: center;
  padding: 100px 20px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .landing-hero {
    padding: 60px 5%;
    flex-direction: column;
    text-align: center;
  }

  .landing-content h1 {
    font-size: 2.2rem;
  }
}