* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html,
body {
  height: 100%;
  scroll-behavior: smooth
}

body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden
}

#msg {
  margin-top: 10px;
  font-weight: bold;
}

.error {
  color: red;
}

.success {
  color: green;
}

/* NAV */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  height: 80px;
  background: #0B5ED7;
  padding: 0 2rem;
  gap: 1rem
}

.nav-logo {
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center
}

.nav-logo img {
  height: 70px;
  width: 70px;
  object-fit: contain;
  display: block
}

.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: #fff;
  transition: opacity 0.2s;
  white-space: nowrap
}

.nav-links a:hover {
  opacity: 0.75
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.hamburger.open span:nth-child(2) {
  opacity: 0
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: #0B5ED7;
  z-index: 999;
  flex-direction: column;
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3)
}

.mobile-menu.open {
  display: flex
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1)
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.1)
}

/* SCROLL PROGRESS */
#scroll-progress {
  position: fixed;
  top: 80px;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(to right, #00d4ff, #0B5ED7);
  z-index: 2000;
  transition: width 0.1s
}

/* HERO */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 90%;
  margin-left: -3%
}

.company-name {
  font-size: clamp(2.5rem, 8vw, 7rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 0.2rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6)
}

.company-sub {
  font-size: clamp(0.7rem, 2vw, 1.2rem);
  font-weight: 700;
  color: #4fa3ff;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.2rem
}

.hero-divider {
  width: min(400px, 80%);
  height: 2px;
  background: linear-gradient(to right, transparent, #0B5ED7, transparent);
  margin: 0 auto 1.2rem
}

.hero-desc {
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto 2rem
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center
}

.btn-solid {
  background: #0B5ED7;
  color: #fff;
  padding: 0.75rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid #0B5ED7;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s
}

.btn-solid:hover {
  background: #0047cc
}

.btn-border {
  background: transparent;
  color: #fff;
  padding: 0.75rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 2px solid rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s
}

.btn-border:hover {
  background: #fff;
  color: #0B5ED7
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: bob 2s infinite
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent)
}

@keyframes bob {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(6px)
  }
}

/* ABOUT */
#about {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 42% 58%;
  background: #fff;
  padding-top: 80px;
  position: relative
}

#about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 80px;
  background: #0B5ED7;
  z-index: 1;
  pointer-events: none
}

#about::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: #0B5ED7;
  z-index: 1;
  pointer-events: none
}

.about-img-wrap {
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-height: 400px
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block
}

.about-text {
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2
}

.about-text h1 {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #0B5ED7;
  margin-bottom: 0.9rem;
  line-height: 1.2
}

.about-text h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0B5ED7;
  margin-bottom: 0.6rem
}

.about-text p {
  font-size: 0.85rem;
  color: #333;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 1.2rem
}

.btn-learn {
  background: #0B5ED7;
  color: #fff;
  padding: 0.65rem 1.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  align-self: flex-start
}

.btn-learn:hover {
  background: #0047cc
}

/* SERVICES */
#services {
  width: 100%;
  background: #fff;
  padding: calc(80px + 2.5rem) 4rem 4rem
}

.services-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #0B5ED7;
  margin-bottom: 3rem
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 4rem;
  max-width: 1100px;
  margin: 0 auto 3rem
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem
}

.service-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0
}

.service-icon svg {
  width: 100%;
  height: 100%
}

.service-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0B5ED7
}

.service-item p {
  font-size: 0.83rem;
  color: #333;
  line-height: 1.8;
  text-align: justify
}

/* REGISTER FORM */
.register-section {
  max-width: 750px;
  margin: 0 auto;
  background: #f4f8ff;
  border: 1px solid rgba(11, 94, 215, 0.15);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(11, 94, 215, 0.08)
}

.register-section h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0B5ED7;
  margin-bottom: 0.4rem;
  text-align: center
}

.register-section .sub {
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  margin-bottom: 1.8rem
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem
}

.form-group.full {
  grid-column: 1/-1
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #333
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.6rem 0.9rem;
  border: 1.5px solid rgba(11, 94, 215, 0.2);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #333;
  outline: none;
  transition: border 0.2s;
  background: #fff;
  width: 100%
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0B5ED7
}

.form-group textarea {
  resize: vertical;
  min-height: 80px
}

.form-group select[multiple] {
  min-height: 120px
}

.form-submit {
  background: #0B5ED7;
  color: #fff;
  padding: 0.75rem 2.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  display: block;
  margin: 1.2rem auto 0;
  transition: all 0.2s;
  width: 100%
}

.form-submit:hover {
  background: #0047cc
}

/* CONTACT */
#contact {
  width: 100%;
  background: #fff;
  padding-top: 80px
}

.contact-header {
  background: #0B5ED7;
  text-align: center;
  padding: 2.5rem 0 0
}

.contact-header h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem
}

.contact-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  padding-bottom: 2rem
}

.wave-wrap {
  line-height: 0;
  overflow: hidden;
  display: block
}

.wave-wrap svg {
  display: block;
  width: 100%;
  height: 80px
}

.contact-body {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  align-items: start
}

.contact-info p {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.7
}

.c-label {
  font-weight: 700;
  color: #111;
  margin-bottom: 0.3rem;
  font-size: 0.92rem
}

.c-value {
  font-size: 0.88rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 1.2rem
}

.c-value a {
  color: #0B5ED7;
  text-decoration: none
}

.c-value.phone a {
  color: #e53935
}

.map-wrap {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12)
}

.map-wrap a {
  display: block
}

.map-wrap iframe {
  width: 100%;
  height: 480px;
  border: none;
  display: block;
  pointer-events: none
}

/* FOOTER - deep tech blue */
footer {
  background: #050e1f;
  color: #fff;
  padding: 3rem 3rem 1.5rem
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem
}

.footer-brand img {
  height: 70px;
  width: 70px;
  object-fit: contain;
  margin-bottom: 1rem
}

.footer-brand p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 260px
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.83rem;
  transition: color 0.2s
}

.footer-col ul li a:hover {
  color: #4fa3ff
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
  color: #fff
}

.social-btn:hover {
  background: #0B5ED7;
  border-color: #0B5ED7;
  transform: translateY(-2px)
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.2rem
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35)
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.2s
}

.footer-bottom-links a:hover {
  color: #4fa3ff
}

/* BACK TO TOP */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0B5ED7;
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(11, 94, 215, 0.4);
  transition: all 0.3s
}

#backToTop:hover {
  background: #0047cc;
  transform: translateY(-3px)
}

#backToTop.show {
  display: flex
}

/* STATUS PAGES */
.status-page {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem
}

.status-page.show {
  display: flex
}

.status-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  animation: popIn 0.5s ease
}

@keyframes popIn {
  0% {
    transform: scale(0)
  }

  80% {
    transform: scale(1.1)
  }

  100% {
    transform: scale(1)
  }
}

.status-page h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem
}

.status-page p {
  font-size: 1rem;
  color: #555;
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 2rem
}

.status-code {
  font-size: 5rem;
  font-weight: 900;
  color: #0B5ED7;
  opacity: 0.15;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%);
  z-index: 0;
  pointer-events: none;
  user-select: none
}

.status-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center
}

.status-page.success h2 {
  color: #1b5e20
}

.status-page.error h2 {
  color: #b71c1c
}

.status-page.failed h2 {
  color: #e65100
}

.status-page.warn h2 {
  color: #e65100
}

.status-btn {
  background: #0B5ED7;
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s
}

.status-btn:hover {
  background: #0047cc
}

.status-btn.outline {
  background: transparent;
  border: 2px solid #0B5ED7;
  color: #0B5ED7;
  margin-left: 0.75rem
}

.status-btn.outline:hover {
  background: #0B5ED7;
  color: #fff
}

/* RESPONSIVE */
@media(max-width:900px) {
  .nav-links {
    display: none
  }

  .hamburger {
    display: flex
  }

  #about {
    grid-template-columns: 1fr;
    min-height: auto
  }

  #about::before {
    width: 150px
  }

  .about-img-wrap {
    min-height: 300px;
    max-height: 350px
  }

  .about-text {
    padding: 2rem
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem
  }

  #services {
    padding: calc(80px + 2rem) 2rem 3rem
  }

  .contact-body {
    grid-template-columns: 1fr;
    gap: 2rem
  }

  .map-wrap iframe {
    height: 320px
  }

  .form-grid {
    grid-template-columns: 1fr
  }

  .form-group.full {
    grid-column: 1
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem
  }
}

@media(max-width:600px) {
  .site-nav {
    padding: 0 1rem;
    height: 65px
  }

  .nav-logo img {
    height: 55px;
    width: 55px
  }

  .mobile-menu {
    top: 65px
  }

  #scroll-progress {
    top: 65px
  }

  .hero-content {
    width: 95%;
    margin-left: 0
  }

  .hero-btns {
    flex-direction: column;
    align-items: center
  }

  .btn-solid,
  .btn-border {
    width: 200px;
    text-align: center
  }

  #about {
    padding-top: 65px
  }

  #about::before {
    width: 120px;
    height: 65px
  }

  .about-text {
    padding: 1.5rem
  }

  #services {
    padding: calc(65px + 1.5rem) 1.2rem 2.5rem
  }

  .register-section {
    padding: 1.5rem 1rem
  }

  #contact {
    padding-top: 65px
  }

  .contact-body {
    padding: 2rem 1rem 3rem
  }

  .map-wrap iframe {
    height: 260px
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center
  }

  #backToTop {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 38px;
    height: 38px
  }
}