/* =====================================================
   KẾT NỐI KỸ THUẬT
   MAIN STYLE
===================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #172033;
  background: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
select,
input {
  font-family: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}


/* =====================================================
   HEADER
===================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e5eaf0;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.06);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 205px;
}

.logo-mark {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b83c9;
  color: white;
  border-radius: 12px;
  font-size: 25px;
  box-shadow: 0 5px 15px rgba(11, 131, 201, 0.25);
}

.logo span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo b {
  color: #1688c9;
  font-size: 17px;
}

.logo strong {
  color: #172033;
  font-size: 15px;
  letter-spacing: 1px;
}

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

.nav-links a {
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  padding: 28px 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0786cc;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 3px;
  border-radius: 3px;
  background: #f58220;
}

.nav-actions {
  display: flex;
  gap: 9px;
}

.btn {
  border: none;
  border-radius: 9px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-outline {
  color: #087fc1;
  background: white;
  border: 1px solid #0b83c9;
}

.btn-orange {
  color: white;
  background: #f58220;
  box-shadow: 0 6px 15px rgba(245, 130, 32, 0.2);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 27px;
}


/* =====================================================
   HERO
===================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      #eaf7ff 0%,
      #ffffff 52%,
      #fff4e8 100%
    );
  padding: 82px 0 105px;
}

.hero-bg {
  position: absolute;
  width: 500px;
  height: 500px;
  right: -180px;
  top: -160px;
  border-radius: 50%;
  background: rgba(11, 131, 201, 0.08);
}

.hero-content {
  position: relative;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  color: #0786cc;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.7px;
  margin-bottom: 13px;
}

.hero h1 {
  color: #102033;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  font-weight: 900;
  margin-bottom: 18px;
}

.hero h1 span {
  color: #0786cc;
}

.hero-text {
  max-width: 660px;
  color: #536274;
  font-size: 18px;
}

.technician-visual {
  position: absolute;
  right: 50px;
  top: -12px;
  font-size: 130px;
  filter: drop-shadow(0 15px 20px rgba(0,0,0,0.12));
}


/* =====================================================
   SEARCH CARD
===================================================== */

.search-card {
  position: relative;
  margin-top: 55px;
  background: white;
  border-radius: 18px;
  padding: 28px;
  box-shadow:
    0 18px 50px rgba(19, 54, 82, 0.13);
  border: 1px solid #e7edf2;
}

.search-card h2 {
  font-size: 21px;
  color: #182536;
  margin-bottom: 3px;
}

.search-description {
  color: #758294;
  font-size: 14px;
  margin-bottom: 18px;
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr auto;
  gap: 10px;
}

.search-grid select,
.search-grid input {
  height: 52px;
  border: 1px solid #dce3ea;
  border-radius: 9px;
  padding: 0 14px;
  outline: none;
  background: #fff;
  color: #39485a;
  font-size: 14px;
}

.search-grid select:focus,
.search-grid input:focus {
  border-color: #0786cc;
  box-shadow: 0 0 0 3px rgba(7, 134, 204, 0.09);
}

.search-btn {
  height: 52px;
  white-space: nowrap;
}

.popular {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 17px;
  font-size: 13px;
  color: #7a8796;
}

.popular b {
  color: #475569;
}

.popular span {
  padding: 5px 11px;
  border-radius: 30px;
  background: #f1f7fa;
  color: #087fc1;
  cursor: pointer;
  transition: 0.2s;
}

.popular span:hover {
  background: #0786cc;
  color: white;
}


/* =====================================================
   SECTIONS
===================================================== */

.section {
  padding: 85px 0;
}

.section-soft {
  background: #f6f9fb;
}

.section-title {
  text-align: center;
  margin-bottom: 42px;
}

.section-title h2 {
  color: #172033;
  font-size: 31px;
  font-weight: 900;
  margin-bottom: 8px;
}

.section-title p {
  color: #738091;
  font-size: 15px;
}

.row-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
}

.row-title > div {
  text-align: left;
}

.row-title > a {
  color: #0786cc;
  font-weight: 700;
  font-size: 14px;
}


/* =====================================================
   SERVICES
===================================================== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}

.service-card {
  background: white;
  border: 1px solid #e7edf2;
  border-radius: 15px;
  padding: 25px 18px;
  text-align: center;
  transition: 0.25s;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #b9e1f4;
  box-shadow: 0 13px 30px rgba(25, 80, 110, 0.1);
}

.service-card .icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #edf8fd;
  font-size: 30px;
}

.service-card h3 {
  font-size: 16px;
  color: #253448;
  margin-bottom: 5px;
}

.service-card small {
  color: #7c8997;
  font-size: 12px;
}


/* =====================================================
   TECHNICIANS
===================================================== */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tech-card {
  position: relative;
  overflow: hidden;
  background: white;
  border: 1px solid #e4ebf0;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(23, 45, 63, 0.06);
}

.tech-photo {
  height: 175px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      135deg,
      #dff3fc,
      #f7fbfd
    );
  font-size: 90px;
}

.rating {
  position: absolute;
  right: 13px;
  top: 150px;
  background: #fff;
  color: #f28b1d;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tech-info {
  padding: 20px;
}

.tech-info h3 {
  color: #1d2b3c;
  font-size: 17px;
  margin-bottom: 4px;
}

.tech-info b {
  color: #0786cc;
  font-size: 13px;
}

.tech-info p {
  color: #738091;
  font-size: 13px;
  margin: 10px 0 16px;
}

.profile-btn {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #0786cc;
  color: #0786cc;
  background: white;
  font-weight: 700;
}

.profile-btn:hover {
  color: white;
  background: #0786cc;
}


/* =====================================================
   PROCESS
===================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.step {
  position: relative;
  text-align: center;
  padding: 12px;
}

.step > span {
  position: absolute;
  top: 0;
  right: 5px;
  color: #dbeaf2;
  font-size: 31px;
  font-weight: 900;
}

.step > div {
  width: 70px;
  height: 70px;
  margin: 15px auto 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #edf8fd;
  border-radius: 50%;
  font-size: 30px;
}

.step h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #243246;
}

.step p {
  color: #788595;
  font-size: 13px;
}


/* =====================================================
   STATS
===================================================== */

.stats {
  background: #087fc1;
  padding: 43px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stats-grid div {
  border-right: 1px solid rgba(255,255,255,0.25);
}

.stats-grid div:last-child {
  border-right: none;
}

.stats strong {
  display: block;
  color: white;
  font-size: 32px;
  font-weight: 900;
}

.stats span {
  display: block;
  color: rgba(255,255,255,0.86);
  font-size: 13px;
}


/* =====================================================
   REQUEST
===================================================== */

.request-section {
  background: #f8fafc;
}

.request-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 38px 45px;
  border-radius: 20px;
  background:
    linear-gradient(
      110deg,
      #edf9ff,
      #ffffff
    );
  border: 1px solid #d9edf6;
}

.request-card h2 {
  color: #152538;
  font-size: 28px;
  margin-bottom: 5px;
}

.request-card p:not(.eyebrow) {
  color: #697889;
  font-size: 14px;
  max-width: 650px;
}


/* =====================================================
   JOIN TECHNICIAN
===================================================== */

.join-card {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 25px;
  padding: 35px 40px 72px;
  border-radius: 20px;
  background:
    linear-gradient(
      135deg,
      #0b83c9,
      #075d99
    );
  color: white;
  overflow: hidden;
}

.join-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255,255,255,0.16);
  font-size: 37px;
}

.join-card h2 {
  font-size: 25px;
  margin-bottom: 4px;
}

.join-card p {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}

.join-card .btn {
  background: #f58220;
}

.join-benefits {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 18px;
  display: flex;
  gap: 30px;
  color: rgba(255,255,255,0.9);
  font-size: 12px;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
  background: #101b29;
  color: white;
  padding-top: 55px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
  gap: 30px;
  padding-bottom: 45px;
}

.footer h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
}

.footer h3 {
  font-size: 14px;
  margin-bottom: 14px;
  color: white;
}

.footer p,
.footer a {
  display: block;
  color: #a9b5c2;
  font-size: 13px;
  margin-bottom: 8px;
}

.footer a:hover {
  color: #53b9eb;
}

.copyright {
  padding: 17px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #8795a4;
  font-size: 12px;
}


/* =====================================================
   TOAST
===================================================== */

.toast {
  position: fixed;
  z-index: 5000;
  right: 25px;
  bottom: 25px;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 10px;
  background: #172033;
  color: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  font-size: 14px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}


/* =====================================================
   RESPONSIVE - TABLET
===================================================== */

@media (max-width: 1000px) {

  .nav {
    gap: 15px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .search-grid {
    grid-template-columns: 1fr 1fr;
  }

  .search-btn {
    width: 100%;
  }

  .service-grid,
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

}


/* =====================================================
   RESPONSIVE - MOBILE
===================================================== */

@media (max-width: 720px) {

  .container {
    width: 92%;
  }

  .header {
    position: relative;
  }

  .nav {
    min-height: 68px;
    justify-content: space-between;
  }

  .logo {
    min-width: auto;
  }

  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
    color: #087fc1;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 4%;
    right: 4%;
    top: 68px;
    padding: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.13);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

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

  .nav-links a {
    padding: 13px 15px;
    border-bottom: 1px solid #eef2f5;
  }

  .nav-links a.active::after {
    display: none;
  }


  /* HERO */

  .hero {
    padding: 55px 0 65px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-text {
    font-size: 15px;
  }

  .technician-visual {
    display: none;
  }


  /* SEARCH */

  .search-card {
    margin-top: 35px;
    padding: 20px;
  }

  .search-grid {
    grid-template-columns: 1fr;
  }

  .search-grid select,
  .search-grid input,
  .search-btn {
    width: 100%;
  }


  /* SECTIONS */

  .section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 25px;
  }

  .row-title {
    display: block;
  }

  .row-title > a {
    display: inline-block;
    margin-top: 10px;
  }


  /* SERVICES */

  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .service-card {
    padding: 20px 10px;
  }

  .service-card .icon {
    width: 50px;
    height: 50px;
    font-size: 25px;
  }

  .service-card h3 {
    font-size: 14px;
  }


  /* TECHNICIANS */

  .tech-grid {
    grid-template-columns: 1fr;
  }


  /* PROCESS */

  .steps {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .step {
    padding: 20px;
    border-bottom: 1px solid #edf1f4;
  }


  /* STATS */

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px 10px;
  }

  .stats-grid div {
    border-right: none;
  }

  .stats strong {
    font-size: 26px;
  }


  /* REQUEST */

  .request-card {
    display: block;
    padding: 30px 25px;
  }

  .request-card .btn {
    margin-top: 20px;
    width: 100%;
  }


  /* JOIN */

  .join-card {
    display: block;
    padding: 30px 25px 85px;
    text-align: center;
  }

  .join-icon {
    margin: 0 auto 18px;
  }

  .join-card .btn {
    width: 100%;
    margin-top: 20px;
  }

  .join-benefits {
    left: 15px;
    right: 15px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 15px;
  }


  /* FOOTER */

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 420px) {

  .hero h1 {
    font-size: 33px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > div {
    grid-column: auto !important;
  }

  .popular {
    display: block;
  }

  .popular b {
    display: block;
    margin-bottom: 7px;
  }

  .popular span {
    display: inline-block;
    margin: 3px 2px;
  }

}