:root {
  color-scheme: dark;
  --primary: #008080;
  --dark: #0B2B2B;
  --secondary: #1F2937;
  --light: #BDF6F3;
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.18);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.14);
  --radius: 28px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(0, 128, 128, 0.18) 0%, transparent 35%),
    radial-gradient(circle at bottom right, rgba(189, 246, 243, 0.12) 0%, transparent 30%),
    linear-gradient(180deg, #020617 0%, #0B2B2B 100%);
  color: #f4f7fb;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: radial-gradient(circle at center, rgba(0, 128, 128, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #020617 0%, #0B2B2B 100%);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  object-fit: contain;
  animation: logoPulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(0, 255, 247, 0.4));
}

.loader-spinner {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: rgba(0, 255, 247, 0.8);
  border-right-color: rgba(0, 128, 128, 0.5);
  animation: spin 1s linear infinite;
  position: absolute;
}

.loader-text {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(189, 246, 243, 0.7);
  animation: textFade 1.8s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(0, 255, 247, 0.4));
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 40px rgba(0, 255, 247, 0.7));
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes textFade {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #00fff7, #008080);
  z-index: 999;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 128, 128, 0.92);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(11, 43, 43, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.site-header.solid {
  background: rgba(11, 43, 43, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1rem 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  font-weight: 700;
  padding: 0.45rem 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}

.logo {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem;
}

.brand-text {
  display: inline-flex;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  color: #d9e4ee;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--light);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s ease;
}

.menu-toggle:hover {
  opacity: 0.8;
}

.menu-toggle:focus-visible {
  outline: 2px solid rgba(0, 255, 247, 0.5);
  outline-offset: 4px;
  border-radius: 4px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 999px;
  transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(12px, 12px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 999px;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(0, 255, 247, 0.92), rgba(0, 128, 128, 0.98));
  color: var(--dark);
  font-weight: 600;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-link {
  color: var(--light);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.95rem 1.2rem;
  background: var(--glass-bg);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 2rem 0 3rem;
  overflow: hidden;
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.hero-nav a:hover,
.hero-nav a:focus-visible {
  color: #ffffff;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.8;
}

.hero-section::before {
  width: 320px;
  height: 320px;
  top: -8rem;
  left: -8rem;
  background: rgba(0, 255, 247, 0.12);
}

.hero-section::after {
  width: 280px;
  height: 280px;
  bottom: -6rem;
  right: -6rem;
  background: rgba(189, 246, 243, 0.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 38%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 5rem);
}

.hero-copy {
  max-width: 700px;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 1.3rem;
  max-width: 48rem;
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 44rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero-highlights article {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem;
  border-radius: 24px;
}

.hero-highlights h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.hero-highlights p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  min-width: 100%;
}

.hero-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 1;
  display: inline-flex;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ecfeff;
  font-size: 0.88rem;
  backdrop-filter: blur(12px);
}

.hero-image-shell {
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border-radius: inherit;
}

.hero-image-shell img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 28px;
}

.section-intro {
  text-align: center;
  padding: 6rem 0 2rem;
}

.section-intro h2 {
  max-width: 780px;
  margin: 1rem auto 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.section-intro p {
  margin: 1.2rem auto 0;
  color: rgba(255, 255, 255, 0.72);
  max-width: 760px;
}

.stats-grid,
.services-grid,
.choose-grid,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 4rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
  min-height: 200px;
}

.stat-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
}

.stat-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  padding: 2rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
}

.service-media {
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.service-media img {
  width: 100%;
  height: auto;
  display: block;
}

.service-icon {
  width: 42px;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  margin: 0 0 1rem;
}

.service-card p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.76);
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.8rem;
}

.service-card li {
  color: rgba(255, 255, 255, 0.68);
}

.choose-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 4rem;
}

.feature-card {
  border-radius: 26px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card h3 {
  margin-top: 0;
}

.feature-card p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-grid {
  grid-template-columns: 1fr;
  justify-items: center;
  margin-bottom: 6rem;
}

.contact-info {
  display: grid;
  gap: 1.25rem;
}

.contact-card,
.map-card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.8rem;
  color: rgba(255, 255, 255, 0.88);
}

.contact-center {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.map-card {
  min-height: 250px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
  display: grid;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #eef7ff;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(0, 255, 247, 0.7);
  box-shadow: 0 0 0 4px rgba(0, 255, 247, 0.08);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-message {
  margin: 0;
  font-size: 0.95rem;
  color: #b8f3ea;
}

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-brand span {
  color: #fff;
  font-weight: 700;
}

.site-footer p,
.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-nav {
  display: grid;
  gap: 0.85rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  text-align: center;
}

.footer-bottom-center {
  justify-content: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
