/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html, body {
  width: 100%;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 8px 0;
  background: #ffffff;
  z-index: 100;
  transform: translateY(-80px);
  opacity: 0;
  transition: transform 1s ease, opacity 0.6s ease;
}

.header.show {
  transform: translateY(0);
  opacity: 1;
}

.header-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo-right {
  order: 1;
}

.logo-right img {
  width: 196px;
  height: 54px;
}

.nav-menu {
  order: 2;
  display: flex;
  gap: 32px;
  margin-left: 173px;
}

.nav-menu a {
  text-decoration: none;
  font-size: 16px;
  color: #111;
}

/* ================= HERO ================= */
.hero {
  min-height: 115vh;
  padding-top: 140px;
  background: linear-gradient(180deg, #f6eaff 0%, #c9f3ff 100%);
  text-align: center;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  transform: translateX(-120%);
  opacity: 0;
}

.hero-title span {
  color: #1d4ed8;
}

.hero-sub {
  margin-top: 15px;
  opacity: 0;
}

/* ================= SERVICES ================= */
.service-wrapper {
  margin-top: 80px;
  width: 100%;
  overflow: hidden;
}

.service-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
  width: 100%;
  padding: 10px 20px;
  transform: translateX(120%);
  opacity: 0;
}

.service-box {
  width: 150px;
  background: #fff;
  padding: 18px 12px;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.service-box img {
  width: 38px;
  height: 38px;
}

/* ================= BUTTONS ================= */
.hero-actions {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  gap: 14px;
  transform: translateY(60px);
  opacity: 0;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #1e40af;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #ffffff;
  color: #707db5;
  padding: 14px 30px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-secondary:hover {
  transform: translateY(-2px);
}

/* ================= ANIMATIONS ================= */
.hero.show .hero-title {
  animation: slideText 1s ease forwards;
}

.hero.show .hero-sub {
  animation: fadeIn 1s ease forwards;
}

.hero.show .service-icons {
  animation: slideCards 1s ease forwards;
}

.hero.show .hero-actions {
  animation: buttonUp 0.9s ease forwards;
}

@keyframes slideText {
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideCards {
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes buttonUp {
  to { transform: translateY(0); opacity: 1; }
}

/* ================= LARGE DESKTOP ================= */
@media (min-width: 1440px) {
  .header-wrapper { max-width: 1400px; }
  .hero-title { font-size: 48px; }
  .service-box { width: 165px; }
  .service-icons { gap: 28px; }
}

/* ================= SMALL DESKTOP ================= */
@media (max-width: 1199px) and (min-width: 992px) {
  .header-wrapper { max-width: 1000px; }
  .nav-menu { margin-left: 120px; gap: 24px; }
  .hero-title { font-size: 36px; }
  .service-box { width: 135px; }
}

/* ================= TABLET ================= */
@media (max-width: 991px) and (min-width: 769px) {
  .header-wrapper { max-width: 900px; }
  .nav-menu { margin-left: 80px; gap: 20px; }
  .hero-title { font-size: 32px; }
  .service-box { width: 125px; }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .nav-menu { display: none; }

  .logo-right img {
    width: 150px;
    height: auto;
  }

  .hero {
    padding-top: 100px;
    min-height: auto;
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-sub {
    font-size: 14px;
  }

  .service-wrapper {
    margin-top: 40px;
  }

  .service-icons {
    flex-direction: column;
    align-items: center;
    transform: none;
    opacity: 1;
  }

  .service-box {
    width: 90%;
    max-width: 320px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary,
  .btn-secondary {
    width: 200px;
  }
}
/* ================= MOBILE MENU ================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
}

.menu-toggle span {
  width: 24px;
  height: 3px;
  background: #111;
  border-radius: 2px;
}

/* Mobile menu container */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  right: 20px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-radius: 12px;
  padding: 15px 20px;
  z-index: 200;
}

.mobile-menu a {
  display: block;
  text-decoration: none;
  color: #111;
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* ================= MOBILE ONLY ================= */
@media (max-width: 768px) {

  .nav-menu {
    display: none;     /* hide desktop menu */
  }

  .menu-toggle {
    display: flex;     /* show hamburger */
  }
}
