/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --background: #ffffff;
  --foreground: #1a1a1a;
  --primary: #2563eb;
  --primary-foreground: #ffffff;
  --secondary: #f5f5f5;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --accent: #dc2626;
  --border: #e5e5e5;
  --card: #fafafa;
  --radius: 0.5rem;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo img {
  height: 48px;
  width: auto;
}

.nav-desktop {
  display: none;
  gap: 0.25rem;
}

.nav-desktop a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
  border-radius: var(--radius);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--primary);
}

.header-cta {
  display: none;
}

.mobile-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem;
  background: var(--background);
  border-top: 1px solid var(--border);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-radius: var(--radius);
  transition: background 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--muted);
  color: var(--primary);
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .header-cta {
    display: block;
  }

  .mobile-toggle {
    display: none;
  }

  .logo {
    position: relative;
    left: 0;
    transform: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  background: var(--secondary);
  color: var(--foreground);
}

.btn-secondary:hover {
  background: #e5e5e5;
}

.btn-outline {
  background: transparent;
  border: 2px solid currentColor;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  /* background: var(--foreground); */
  background: #000;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity .6s ease;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.3);
}

/* VIDEO */
.slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease;
}

/* VIDEO READY */
.slide.video-ready .slide-video {
  opacity: 1
}

.slide.video-ready .slide-bg {
  opacity: 0
}

/* OVERLAY */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .3);
}

.slide-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: white;
  z-index: 2;
}

.slide-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.slide-content p {
  font-size: 1.25rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.slide-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .slide-content h1 {
    font-size: 3.5rem;
  }

  .slide-content p {
    font-size: 1.5rem;
  }

  .slide-buttons {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .slide-content h1 {
    font-size: 4rem;
  }
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 5;
}

.slider-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.slider-nav.prev {
  /* left: 1rem; */
  left: 20px;
}

.slider-nav.next {
  /* right: 1rem; */
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  /* cursor: pointer;
  transition: all 0.2s; */
}

.slider-dot.active {
  width: 24px;
  background: white;
}

.video-toggle {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}

.video-toggle:hover {
  color: white;
}

.video-toggle-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Page Hero */
.page-hero {
  position: relative;
  height: 40vh;
  min-height: 300px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.7);
}

.page-hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.page-hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-hero-content p {
  font-size: 1.25rem;
  opacity: 0.8;
}

@media (min-width: 640px) {
  .page-hero-content h1 {
    font-size: 3rem;
  }
}

/* Sections */
.section {
  padding: 5rem 1rem;
}

.section-muted {
  background: var(--muted);
}

.section-primary {
  background: var(--primary);
  color: white;
}

.section-dark {
  background: var(--foreground);
  color: white;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--muted-foreground);
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.section-primary .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Cards */
.card {
  background: var(--background);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-content {
  padding: 2rem;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

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

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

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

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

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

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* Two Column Layout */
.two-col {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }

  .two-col.reverse> :first-child {
    order: 2;
  }
}

/* Icon Box */
.icon-box {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.2s;
}

.card:hover .icon-box {
  background: rgba(37, 99, 235, 0.2);
}

.icon-box svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.icon-sm {
  width: 40px;
  height: 40px;
}

.icon-sm svg {
  width: 20px;
  height: 20px;
}

/* Highlights */
.highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.highlight-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.tag {
  padding: 0.75rem 1.5rem;
  background: var(--background);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
}

/* Service Cards */
.service-card .card-image {
  height: 200px;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover .card-image img {
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-card .link {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.service-card .link:hover {
  text-decoration: underline;
}

/* Feature Cards */
.feature-card {
  text-align: center;
}

.feature-card .icon-box {
  margin: 0 auto 1rem;
}

.feature-card h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* QSC Grid */
.qsc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .qsc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.qsc-item {
  padding: 1rem;
  background: var(--muted);
  border-radius: var(--radius);
  text-align: center;
}

.qsc-item svg {
  width: 32px;
  height: 32px;
  margin: 0 auto 0.5rem;
}

.qsc-item span {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Image Grid */
.image-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.image-grid-item {
  height: 256px;
  border-radius: 1rem;
  overflow: hidden;
}

.image-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.image-grid-item:hover img {
  transform: scale(1.05);
}

/* Rounded Image */
.rounded-image {
  border-radius: 1rem;
  overflow: hidden;
  height: 320px;
}

@media (min-width: 1024px) {
  .rounded-image {
    height: 384px;
  }
}

.rounded-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* List with checks */
.check-list {
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.check-list span {
  color: var(--muted-foreground);
}

/* Bullet list */
.bullet-list {
  list-style: none;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.bullet-list .bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 8px;
}

.bullet-list span {
  color: var(--muted-foreground);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.contact-item h3 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: var(--muted-foreground);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 3rem;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.success-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

/* Footer */
.footer {
  background: var(--foreground);
  color: white;
}

.footer-marquee {
  background: var(--primary);
  overflow: hidden;
  padding: 1rem 0;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.marquee-content span {
  margin: 0 2rem;
  font-weight: 500;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

.footer-main {
  padding: 4rem 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-address p {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem 1rem;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: white;
}

/* Service Detail Section */
.service-detail {
  display: grid;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

@media (min-width: 1024px) {
  .service-detail {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail.reverse> :first-child {
    order: 2;
  }
}

.service-detail .icon-lg {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-detail h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-detail>p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.service-detail .footer-note {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--muted-foreground);
}

/* Certifications */
.cert-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
}

.cert-item svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

.cert-item h3 {
  font-weight: 600;
}

.cert-item p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Legal Page */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-content ul {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--muted-foreground);
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-8 {
  margin-top: 2rem;
}

.max-w-4xl {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-7xl {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

/* Video Iframe */
.video-container {
  position: absolute;
  inset: 0;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}