/* ===== Sapphire IT — flat replica styles ===== */
:root {
  --bg: #070719;
  --bg-card: #0d0e26;
  --blue: #3792e8;
  --blue-hover: #2f83d4;
  --blue-bright: #5aa9f4;
  --text: #ffffff;
  --text-muted: #9aa0b5;
  --border: rgba(120, 140, 200, 0.14);
  --footer-bg: #6eb0ee;
  --footer-text: #0a1633;
  --radius: 14px;
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

h1, h2, h3, h4 { font-family: "Montserrat", sans-serif; font-weight: 500; }

/* ===== Buttons (interactive) =====
   One consistent base for every button on the site.
   .btn          -> primary (solid blue)
   .btn-outline  -> secondary (outline / ghost)
   .btn-block    -> full width (forms)                       */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.2px;
  padding: 15px 28px;
  border: 2px solid var(--blue);
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease,
              transform .12s ease, box-shadow .18s ease;
}
.btn:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(55, 146, 232, 0.45);
}

/* Optional arrow that nudges on hover */
.btn .btn-arrow { transition: transform .18s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Secondary / outline */
.btn-outline {
  background: transparent;
  color: var(--blue-bright);
  border-color: rgba(90, 169, 244, 0.5);
}
.btn-outline:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* Full width */
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 7, 25, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s ease;
}
.nav a:hover { color: #fff; }

/* ===== Hero ===== */
.hero { padding: clamp(70px, 11vw, 120px) 0 60px; }
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -1.5px;
  max-width: 15ch;
}
.hero-sub {
  margin-top: 26px;
  max-width: 640px;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}
.hero .btn { margin-top: 38px; }
.hero-image {
  margin-top: 54px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.hero-image img { width: 100%; height: auto; object-fit: cover; }

/* ===== Services ===== */
.services { padding: clamp(60px, 9vw, 100px) 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
.service-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 34px;
}
.service-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.service-image img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { margin-top: 26px; font-size: 1.55rem; font-weight: 500; }
.service-card p {
  margin: 14px auto 0;
  max-width: 420px;
  color: var(--text-muted);
}
.service-card .btn { margin-top: 26px; }

/* ===== CTA ===== */
.cta { padding: clamp(60px, 9vw, 100px) 0; }
.cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.cta-text h2 {
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  font-weight: 500;
  line-height: 1.1;
  max-width: 13ch;
}
.cta-text p {
  margin-top: 22px;
  max-width: 520px;
  color: var(--text-muted);
  font-size: 1.1rem;
}
.cta-text .btn { margin-top: 32px; }
.cta-images {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}
.cta-img {
  width: 320px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
}

/* ===== FAQ ===== */
.faq { padding: clamp(60px, 9vw, 100px) 0; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 700;
}
.section-title {
  margin-top: 14px;
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  font-weight: 500;
}
.section-sub {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
}
.faq-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 28px;
}
.faq-item h4 { font-size: 1.25rem; font-weight: 500; }
.faq-item p { margin-top: 10px; color: var(--text-muted); }

/* ===== Contact ===== */
.contact { padding: clamp(60px, 9vw, 100px) 0 clamp(80px, 11vw, 130px); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.accent { color: var(--blue); }
.contact-cards { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  transition: border-color .2s ease;
}
.contact-card:hover { border-color: var(--blue); }
.contact-icon {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(55, 146, 232, 0.14);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.contact-label { display: block; font-weight: 700; font-size: 1.05rem; }
.contact-value { display: block; color: var(--text-muted); }

/* ===== Contact form ===== */
.hidden-field { display: none !important; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}
.field .optional { color: var(--text-muted); font-weight: 400; }
.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  transition: border-color .2s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #5a6178; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.field textarea { resize: vertical; min-height: 120px; }
.btn-block { width: 100%; justify-content: center; margin-top: 4px; }
/* Honeypot — hidden from real users */
.hidden-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ===== Contact Us page ===== */
.cu { padding: clamp(50px, 8vw, 90px) 0 clamp(70px, 10vw, 120px); }
.cu-intro { text-align: center; max-width: 720px; margin: 0 auto; }
.cu-intro .eyebrow { text-align: center; }
.cu-title {
  margin-top: 12px;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -1px;
}
.cu-intro .section-sub {
  margin-left: auto;
  margin-right: auto;
  margin-top: 18px;
  text-align: center;
}

.cu-card {
  max-width: 920px;
  margin: clamp(36px, 5vw, 56px) auto 0;
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.cu-form { padding: clamp(28px, 4.5vw, 52px); }
.cu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
  margin-bottom: 24px;
}
.cu-field { display: flex; flex-direction: column; }
.cu-field label {
  margin-bottom: 10px;
  color: #1a2238;
  font-weight: 600;
  font-size: 1.05rem;
}
.cu-field input,
.cu-field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #eff0f6;
  color: #333333;
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  padding: 16px 24px;
  box-shadow: 0 6px 18px rgba(20, 30, 70, 0.05);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cu-field input { border-radius: 100px; }
.cu-field textarea { border-radius: 22px; resize: vertical; min-height: 150px; }
.cu-field input::placeholder,
.cu-field textarea::placeholder { color: #aab0c2; }
.cu-field input:focus,
.cu-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(55, 146, 232, 0.15);
}
.cu-form .btn { margin-top: 28px; }

.cu-details {
  background: #f5f6fb;
  padding: clamp(28px, 4.5vw, 44px) clamp(28px, 4.5vw, 52px);
}
.cu-details h3 { color: #6b7280; font-size: 1.5rem; font-weight: 600; }
.cu-details-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 64px;
  margin-top: 22px;
}
.cu-details-label {
  display: block;
  color: #1a2238;
  font-weight: 700;
  margin-bottom: 6px;
}
.cu-details a { color: var(--blue); }
.cu-details a:hover { text-decoration: underline; }

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

/* ===== Thank-you page ===== */
.thanks {
  min-height: calc(100vh - 77px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}
.thanks-inner { max-width: 560px; }
.thanks-icon {
  display: inline-grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(55, 146, 232, 0.14);
  color: var(--blue);
  margin-bottom: 28px;
}
.thanks .section-sub { margin-left: auto; margin-right: auto; }
.thanks .btn { margin-top: 32px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 56px 0 36px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-brand img { height: 54px; width: auto; }
.footer-nav { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.footer-nav a {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--footer-text);
  transition: opacity .2s ease;
}
.footer-nav a:hover { opacity: .7; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(10, 22, 51, 0.25);
  font-size: 0.95rem;
}

/* ===== Responsive ===== */
@media (min-width: 700px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .footer-nav { flex-direction: row; gap: 36px; align-items: center; }
}

@media (max-width: 900px) {
  .cta-inner,
  .contact-inner { grid-template-columns: 1fr; }
  .cta-text h2 { max-width: none; }
}

@media (max-width: 680px) {
  .header-inner { flex-direction: column; gap: 16px; }
  .nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; font-size: 0.95rem; }
  .services-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .cta-text { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .cta-images { flex-direction: column; width: 100%; gap: 24px; }
  .cta-img { width: 100%; max-width: 500px; aspect-ratio: 4 / 3; }
}

/* ===== Scroll Animations ===== */
.reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
