/* ================================================
   BAIR TECH SUPPORT — shared.css
   ================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; color: #1a1a2e; }

/* --- Navigation --- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 60px; width: auto; }
.nav-links { display: flex; list-style: none; gap: 28px; }
.nav-links a {
  text-decoration: none;
  color: #0d1b3e;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #1a56db; }
.btn-nav {
  background: #1a56db;
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
.btn-nav:hover { background: #1443b0; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span { display: block; width: 25px; height: 2.5px; background: #0d1b3e; border-radius: 2px; }
.nav-mobile-menu {
  display: none;
  width: 100%;
  flex-direction: column;
  border-top: 1px solid #eee;
  padding: 8px 0 4px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  color: #0d1b3e;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 4px;
  border-bottom: 1px solid #f5f5f5;
}
.nav-mobile-menu .btn-nav-m {
  display: block;
  background: #1a56db;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-align: center;
  margin-top: 8px;
  font-weight: 700;
  border-bottom: none;
}

/* --- Hero Section (Home) --- */
.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 28px 48px;
  background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6e 60%, #1a56db 100%);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: rgba(26,86,219,.12);
  border-radius: 50%;
  top: -200px;
  right: -200px;
  pointer-events: none;
}
.hero-left {
  flex: 0 1 460px;
  max-width: 460px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-right {
  flex: 0 1 540px;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.hero-logo-img {
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(26,86,219,.4));
}
.hero-right h1 { font-size: 42px; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 16px; }
.hero-right h1 span { color: #3b82f6; }
.hero-right p { font-size: 17px; color: rgba(255,255,255,.75); margin-bottom: 28px; line-height: 1.6; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1a56db;
  color: #fff;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: background 0.2s;
}
.btn-primary:hover { background: #1443b0; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 13px 24px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.5);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: border-color 0.2s;
}
.btn-outline:hover { border-color: #fff; }

/* --- Services Section --- */
.services { padding: 60px 40px; background: #f0f4ff; }
.section-title {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #0d1b3e;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 40px;
  position: relative;
}
.section-title::before, .section-title::after {
  content: '';
  display: inline-block;
  width: 60px;
  height: 2px;
  background: #1a56db;
  vertical-align: middle;
  margin: 0 12px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 28px 16px 24px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.service-icon { font-size: 36px; margin-bottom: 12px; }
.service-card h3 { font-size: 14px; font-weight: 700; color: #0d1b3e; margin-bottom: 6px; }
.service-card p { font-size: 13px; color: #666; line-height: 1.5; }

/* --- How It Works --- */
.how { padding: 60px 40px; background: #fff; }
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.step { text-align: center; flex: 1; min-width: 120px; padding: 0 8px; }
.step-num {
  width: 48px; height: 48px;
  background: #1a56db;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin: 0 auto 12px;
}
.step-icon { font-size: 32px; margin-bottom: 8px; }
.step-arrow { display: flex; align-items: center; padding-top: 24px; color: #1a56db; font-size: 24px; }
.step h3 { font-size: 15px; font-weight: 700; color: #0d1b3e; margin-bottom: 6px; }
.step p { font-size: 13px; color: #666; line-height: 1.5; }

/* --- CTA Bar --- */
.cta-bar {
  background: #0d1b3e;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-msg { display: flex; align-items: center; gap: 16px; }
.cta-msg .headset { font-size: 32px; }
.cta-msg h2 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.cta-msg p { color: rgba(255,255,255,.75); font-size: 14px; margin: 0; }
.cta-divider { width: 1px; height: 48px; background: rgba(255,255,255,.25); flex-shrink: 0; }
a.cta-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  transition: color 0.2s;
}
a.cta-contact:hover { color: #3b82f6; }
a.cta-contact .icon-circle { font-size: 26px; line-height: 1; }
a.cta-contact .info span { display: block; color: #fff; font-size: 17px; font-weight: 700; }

/* --- Footer --- */
footer {
  background: #0d1b3e;
  color: rgba(255,255,255,.6);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,.6); text-decoration: none; font-weight: 600; letter-spacing: 0.5px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

/* --- Contact Page --- */
.contact-hero {
  background: linear-gradient(135deg, #0d1b3e 0%, #1a56db 100%);
  padding: 36px 40px;
  text-align: center;
  color: #fff;
}
.contact-hero h1 { font-size: 42px; font-weight: 900; margin-bottom: 12px; }
.contact-hero p { font-size: 18px; color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto; }
.contact-section { max-width: 680px; margin: 60px auto; padding: 0 24px 60px; }
.contact-info { display: flex; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.contact-info-card {
  flex: 1; min-width: 180px;
  background: #f0f4ff;
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-info-card svg { flex-shrink: 0; }
.contact-info-card strong { display: block; color: #0d1b3e; font-size: 15px; }
.contact-info-card a { color: #1a56db; text-decoration: none; font-size: 15px; font-weight: 600; }
.contact-form {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 32px rgba(0,0,0,.10);
  padding: 40px;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-weight: 700;
  color: #0d1b3e;
  margin-bottom: 7px;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  color: #1a1a2e;
  transition: border-color 0.2s;
  background: #f8fafc;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: #1a56db;
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.form-submit {
  width: 100%;
  padding: 16px;
  background: #1a56db;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.form-submit:hover { background: #1443b0; }

/* --- About Page --- */
.about-hero {
  background: linear-gradient(135deg, #0d1b3e 0%, #1a56db 100%);
  padding: 40px;
  text-align: center;
  color: #fff;
}
.about-hero h1 { font-size: 46px; font-weight: 900; margin-bottom: 14px; }
.about-hero p { font-size: 19px; color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto; line-height: 1.6; }
.about-content { max-width: 760px; margin: 0 auto; padding: 60px 24px 80px; }
.about-photo-area { text-align: center; margin-bottom: 52px; }
.about-photo-area img {
  width: 320px; height: 320px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 5px solid #1a56db;
  box-shadow: 0 8px 32px rgba(26,86,219,0.25);
  display: block;
  margin: 0 auto;
}
.about-block { margin-bottom: 52px; }
.about-block h2 {
  font-size: 26px; font-weight: 800; color: #0d1b3e;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 3px solid #1a56db; display: inline-block;
}
.about-block p { font-size: 17px; color: #444; line-height: 1.8; margin-bottom: 14px; }
.about-block p:last-child { margin-bottom: 0; }
.about-cta {
  background: linear-gradient(135deg, #0d1b3e, #1a56db);
  border-radius: 14px; padding: 40px; text-align: center; color: #fff;
}
.about-cta h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.about-cta p { color: rgba(255,255,255,0.8); margin-bottom: 24px; font-size: 16px; }
.about-cta a {
  display: inline-block; background: #fff; color: #1a56db;
  font-weight: 800; padding: 14px 32px; border-radius: 8px;
  text-decoration: none; font-size: 16px; transition: background 0.2s;
}
.about-cta a:hover { background: #e8f0fe; }

/* --- Thank You Page --- */
.thankyou-wrap { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.thankyou-card { text-align: center; max-width: 480px; }
.thankyou-card svg { margin-bottom: 20px; }
.thankyou-card h1 { font-size: 36px; font-weight: 900; color: #0d1b3e; margin-bottom: 12px; }
.thankyou-card p { font-size: 17px; color: #555; line-height: 1.7; margin-bottom: 28px; }
.thankyou-card a {
  display: inline-block; background: #1a56db; color: #fff;
  padding: 14px 32px; border-radius: 8px; font-weight: 700;
  text-decoration: none; font-size: 16px;
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .about-photo-area img { width: 260px; height: 260px; }
}

@media (max-width: 768px) {
  nav { padding: 12px 20px; }
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .nav-hamburger { display: flex; margin-left: auto; }

  .hero { flex-direction: column; padding: 24px 20px; text-align: center; gap: 12px; }
  .hero-left { flex: 0 1 auto; max-width: 240px; }
  .hero-logo-img { max-width: 240px; }
  .hero-right { flex: 0 1 auto; max-width: 100%; align-items: center; }
  .hero-right h1 { font-size: 28px; }
  .hero-btns { justify-content: center; }

  .services { padding: 32px 20px; }
  .how { padding: 32px 20px; }
  .steps { flex-direction: column; align-items: center; gap: 8px; }
  .step-arrow { transform: rotate(90deg); padding-top: 0; }

  .section-title { font-size: 16px; letter-spacing: 1.5px; white-space: nowrap; }
  .section-title::before, .section-title::after { width: 24px; margin: 0 8px; }

  .cta-bar { padding: 28px 20px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-divider { display: none; }

  footer { flex-direction: column; align-items: center; padding: 14px 20px; text-align: center; gap: 8px; }

  .contact-hero { padding: 28px 20px; }
  .contact-hero h1 { font-size: 28px; }
  .contact-form { padding: 24px 18px; }
  .form-row { flex-direction: column; gap: 0; }

  .about-hero { padding: 28px 20px; }
  .about-hero h1 { font-size: 30px; }
  .about-cta { padding: 28px 18px; }
}

@media (max-width: 580px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .about-photo-area img { width: 200px; height: 200px; }
}
