/* ==================================================
   BCO DATASOFT SOLUTIONS - STYLESHEET
   --------------------------------------------------
   This file controls the visual design of the website.
   It includes:
   1. Global reset
   2. Variables (colors, sizes)
   3. Layout helpers
   4. Header / navigation
   5. Hero section
   6. Cards / sections
   7. Contact form
   8. Responsive design
   ================================================== */

/* ------------------------------
   CSS VARIABLES
   These make the design easier to manage.
   Change values here, and the site updates consistently.
   ------------------------------ */
:root {
  --bg: #020817;
  --panel: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --cyan: #67e8f9;
  --blue: #3b82f6;
  --gold: #fbbf24;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  --max-width: 1200px;
  --radius-xl: 32px;
  --radius-lg: 28px;
  --radius-md: 20px;
}

/* ------------------------------
   GLOBAL RESET
   Helps make spacing more predictable across browsers.
   ------------------------------ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 15%, rgba(103, 232, 249, 0.14), transparent 25%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.16), transparent 25%),
    radial-gradient(circle at 70% 70%, rgba(251, 191, 36, 0.10), transparent 22%),
    var(--bg);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ------------------------------
   GENERAL LAYOUT HELPERS
   ------------------------------ */
.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(103, 232, 249, 0.9);
}

.gold-text {
  color: rgba(251, 191, 36, 0.85);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.section-text {
  font-size: 1.06rem;
  max-width: 760px;
  color: var(--muted);
}

.narrow-text {
  max-width: 520px;
}

/* ------------------------------
   BUTTONS
   ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-primary {
  background: #ffffff;
  color: #07111f;
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

.full-width {
  width: 100%;
}

/* ------------------------------
   HEADER / NAVIGATION
   ------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(2, 8, 23, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-weight: bold;
  color: #02111f;
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--gold));
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.28);
}

.brand-title {
  font-size: 0.92rem;
  font-weight: bold;
  letter-spacing: 0.22em;
}

.brand-subtitle {
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(251, 191, 36, 0.84);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.75);
  transition: 0.25s ease;
}

.nav a:hover {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  cursor: pointer;
}

/* ------------------------------
   HERO SECTION
   ------------------------------ */
.hero {
  padding-top: 90px;
  padding-bottom: 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  padding: 8px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, 0.15);
  background: rgba(103, 232, 249, 0.09);
  color: rgba(165, 243, 252, 0.95);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin-bottom: 22px;
  max-width: 760px;
}

.hero-text {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 42px;
}

.hero-stats strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.95rem;
}

/* ------------------------------
   HERO CARD
   ------------------------------ */
.hero-card {
  padding: 16px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.hero-card-inner {
  padding: 28px;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.86);
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.card-label {
  color: rgba(103, 232, 249, 0.82);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-card-top h2 {
  font-size: 1.8rem;
  line-height: 1.15;
}

.tag {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
  color: rgba(254, 240, 138, 0.95);
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.18);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mini-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.mini-card p:first-child {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.94rem;
  margin-bottom: 8px;
}

.mini-card p:last-child {
  font-weight: bold;
}

.positioning-box {
  margin-top: 18px;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(103, 232, 249, 0.1);
  background: linear-gradient(
    90deg,
    rgba(103, 232, 249, 0.08),
    rgba(59, 130, 246, 0.08),
    rgba(251, 191, 36, 0.08)
  );
}

.positioning-title {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

/* ------------------------------
   CARD GRIDS
   ------------------------------ */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.info-card,
.project-card,
.step-card,
.contact-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.info-card,
.project-card {
  padding: 28px;
}

.icon-box {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(103, 232, 249, 0.18),
    rgba(59, 130, 246, 0.18),
    rgba(251, 191, 36, 0.18)
  );
}

.info-card h3,
.project-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.info-card p,
.project-card p,
.step-card p,
.contact-copy p,
.contact-list p {
  color: var(--muted);
}

.alt-section {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 44px;
}

.project-preview {
  height: 220px;
  margin-bottom: 22px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(15, 23, 42, 1), rgba(2, 6, 23, 1));
  position: relative;
  overflow: hidden;
}

.project-preview::before {
  content: "BCO PROJECT";
  position: absolute;
  left: 20px;
  bottom: 20px;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.45);
}

/* ------------------------------
   PROCESS SECTION
   ------------------------------ */
.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 16px;
}

.step-card {
  display: flex;
  gap: 16px;
  padding: 22px;
}

.step-number {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
  color: #07111f;
  font-weight: bold;
}

/* ------------------------------
   CONTACT SECTION
   ------------------------------ */
.contact-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.contact-list {
  margin-top: 26px;
  display: grid;
  gap: 10px;
}

.contact-panel {
  padding: 26px;
  background: rgba(2, 6, 23, 0.72);
}

.contact-panel h3 {
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 14px;
}

.input,
.textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  outline: none;
  font-size: 0.95rem;
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

/* ------------------------------
   FOOTER
   ------------------------------ */
.footer {
  padding: 28px 0 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.95rem;
}

/* ------------------------------
   SCROLL REVEAL ANIMATION
   Elements start hidden, then JS adds .visible
   ------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------
   RESPONSIVE DESIGN
   Makes layout work well on tablets and phones.
   ------------------------------ */
@media (max-width: 980px) {
  .hero-grid,
  .process-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: rgba(2, 8, 23, 0.96);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .container {
    width: min(var(--max-width), calc(100% - 28px));
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 70px;
  }

  .contact-box {
    padding: 24px;
  }
}
.form-status {
  margin-bottom: 14px;
  font-size: 0.95rem;
}