:root {
  --bg-main: #1a1a1a;
  --bg-alt: #252525;
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  --accent-blue: #0066ff;
  --accent-purple: #8b5cf6;
  --border-light: rgba(255, 255, 255, 0.1);
  --gradient-blue: linear-gradient(
    90deg,
    var(--accent-blue),
    var(--accent-purple)
  );
}

/* =========================================
   RESET & BASE STYLES
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* =========================================
   LOADER
========================================= */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition:
    opacity 0.5s,
    visibility 0.5s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border-light);
  border-top-color: var(--accent-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================
   NAVBAR
========================================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 6%;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.75rem 6%;
  background: rgba(0, 0, 0, 0.98);
}

.logo-wrap img {
  height: 38px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-wrap:hover img {
  transform: scale(1.05);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-blue);
  transition: width 0.3s ease;
}

.nav-links li:hover,
.nav-links li.active {
  color: var(--text-main);
}

.nav-links li:hover::after,
.nav-links li.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta {
  background: var(--gradient-blue);
  color: var(--text-main);
  padding: 0.625rem 1.5rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

/* =========================================
   HAMBURGER MENU
========================================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #000000 0%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 6% 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assests/Mask.png");
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: -1;
  transition: opacity 0.5s ease;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-gradient {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 20px;
  height: 30px;
  border: 2px solid var(--text-muted);
  border-radius: 15px;
  margin: 0.5rem auto;
  position: relative;
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: scrollDown 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes scrollDown {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

/* =========================================
   BUTTONS
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gradient-blue);
  color: var(--text-main);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--accent-blue);
  color: var(--accent-blue);
}

.btn-secondary:hover {
  background: rgba(0, 102, 255, 0.1);
  transform: translateY(-2px);
}

.btn-text {
  background: transparent;
  color: white;
  padding: 0.5rem;
  
}

.btn-text:hover {
  color: var(--text-main);
}

/* =========================================
   TRUST INDICATORS
========================================= */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  padding: 3rem 6%;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust-item {
  text-align: center;
}

.trust-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.trust-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =========================================
   SECTION STYLES
========================================= */
.section {
  padding: 5rem 6%;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  color: var(--accent-blue);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================
   SERVICES SECTION
========================================= */
#services {
  background: black;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  gap: 1.5rem;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-0.5rem);
  border-color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.05);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.service-content {
  flex: 1;
}

.service-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-family: "Space Grotesk", sans-serif;
}

.service-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-blue);
  font-size: 0.875rem;
  font-weight: 500;
  transition: gap 0.3s ease;
}

.service-card:hover .service-learn-more {
  gap: 1rem;
}

/* Your Original Service Image Card */
.service-image-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 280px;
}

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

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

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.4),
    transparent
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: var(--text-main);
}

.image-overlay h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: "Space Grotesk", sans-serif;
}

.image-overlay p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.image-overlay .service-learn-more {
  color: var(--text-main);
}

.service-modal-image img {
  width: 100%;
  height: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* =========================================
   ABOUT SECTION
========================================= */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-tag {
  display: inline-block;
  color: var(--accent-blue);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.about-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

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

.highlight-item span {
  color: var(--accent-blue);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.highlight-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.highlight-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.about-visual {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.visual-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.visual-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.overlay-item {
  text-align: center;
}

.overlay-item span {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.overlay-item small {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =========================================
   PHILOSOPHY SECTION
========================================= */
.philosophy {
  background: #000;
}

.philosophy-container {
  max-width: 1200px;
  margin: 0 auto;
}

.philosophy-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.philosophy-tag {
  display: inline-block;
  color: var(--accent-blue);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.philosophy-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.philosophy-intro {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.phil-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.phil-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-4px);
}

.phil-number {
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  font-size: 3rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.3;
}

.phil-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: "Space Grotesk", sans-serif;
}

.phil-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.phil-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.phil-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.phil-features li i {
  color: var(--accent-blue);
  font-size: 1rem;
}

/* =========================================
   CAREERS SECTION
========================================= */
.careers {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.careers-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.careers-tag {
  display: inline-block;
  color: var(--accent-blue);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.careers-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.careers-gradient {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.careers-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.careers-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-item span {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.stat-item small {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.careers-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* =========================================
   CTA SECTION
========================================= */
.cta-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  text-align: center;
  padding: 4rem 6%;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-container h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-container p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================
   CONTACT SECTION
========================================= */
.contact-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-4px);
}

.info-icon {
  background: rgba(0, 102, 255, 0.1);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-family: "Space Grotesk", sans-serif;
}

.info-content p {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.info-content small {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-cta {
  margin-top: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  text-align: center;
}

.contact-cta p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  color: var(--text-main);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.char-counter {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 0.25rem;
}

.form-submit {
  margin-top: 1rem;
}

.form-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(0, 102, 255, 0.05);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 1rem;
}

.success-icon {
  font-size: 3rem;
  color: #10b981;
  margin-bottom: 1rem;
}

.success-message h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: "Space Grotesk", sans-serif;
}

.success-message p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Button States */
#submitBtn {
  position: relative;
  min-height: 48px;
  width: 100%;
}

.btn-loader {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn-loader .spin {
  animation: spin 1s linear infinite;
}

#submitBtn.loading .btn-text {
  opacity: 0;
}

#submitBtn.loading .btn-loader {
  display: block;
}

/* Error States */
.field-error {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
  min-height: 1rem;
}

.form-field.error input,
.form-field.error select,
.form-field.error textarea {
  border-color: #ef4444;
}

/* =========================================
   MODALS
========================================= */
.service-modal,
.careers-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
}

.service-modal.active,
.careers-modal.active {
  display: flex;
}

.service-modal-content,
.careers-modal-content {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.close-modal,
.close-careers {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  z-index: 2001;
}

.close-modal:hover,
.close-careers:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* Service Modal Specific */
.service-modal-header {
  padding: 3rem 3rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.service-category {
  display: inline-block;
  color: var(--accent-blue);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.service-modal-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.service-modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 2rem 3rem 3rem;
}

.service-modal-image {
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-image-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.8) 0%,
    rgba(37, 37, 37, 0.9) 100%
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--accent-blue);
  border: 1px solid var(--border-light);
}

.service-modal-image .ri-cpu-line {
  font-size: 4rem;
  opacity: 0.7;
}

.service-modal-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: "Space Grotesk", sans-serif;
}

.service-modal-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature {
  display: flex;
  gap: 1rem;
}

.feature span {
  color: var(--accent-blue);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.feature h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.service-modal-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Responsive tweaks for Service Modal */
/* Ensures a single-column layout on smaller screens, proper media sizing, and stacked CTAs */
@media (max-width: 900px) {
  .service-modal-content {
    max-width: 820px;
    margin: 1rem;
  }

  .service-modal-header {
    padding: 1.5rem 1.5rem 1rem;
  }

  .service-modal-body {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .service-modal-image {
    min-height: 220px;
  }

  .service-modal-image img,
  .service-modal-image video {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
  }

  .service-modal-cta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .close-modal {
    top: 1rem;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .service-modal-content {
    max-width: 95%;
    border-radius: 0.75rem;
  }

  .service-modal-header {
    padding: 1rem 1rem 0.75rem;
  }

  .service-modal-header h2 {
    font-size: 1.25rem;
  }

  .service-modal-text h3 {
    font-size: 1.125rem;
  }

  .service-modal-text p,
  .feature p {
    font-size: 0.95rem;
  }

  .service-modal-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .service-modal-image {
    min-height: 180px;
  }
}

/* Careers Modal Specific */
.careers-header {
  padding: 3rem 3rem 2rem;
  border-bottom: 1px solid var(--border-light);
}

.careers-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.careers-header h2 span {
  color: var(--accent-blue);
}

.careers-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.careers-filter {
  padding: 2rem 3rem 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: var(--text-main);
}

.careers-grid {
  padding: 2rem 3rem 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.job-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.job-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-4px);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.job-title {
  font-size: 1.125rem;
  font-weight: 600;
  font-family: "Space Grotesk", sans-serif;
}

.job-badge {
  background: var(--gradient-blue);
  color: var(--text-main);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.job-description {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.job-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.job-skills span {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.job-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
}

.job-type {
  color: var(--accent-blue);
}

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

.btn-apply {
  background: var(--gradient-blue);
  color: var(--text-main);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

/* =========================================
   FOOTER
========================================= */
footer {
  background: #000;
  border-top: 1px solid var(--border-light);
  padding: 4rem 6% 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 32px;
  width: auto;
}

.footer-logo h3 {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
}

.footer-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.footer-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-2px);
}

.footer-right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-section li:hover {
  color: var(--accent-blue);
}

.footer-section li i {
  font-size: 1rem;
  width: 20px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--accent-blue);
}

/* =========================================
   BACK TO TOP
========================================= */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--gradient-blue);
  border: none;
  border-radius: 50%;
  color: var(--text-main);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

/* =========================================
   MOUSE LIGHT
========================================= */
.mouse-light {
  position: fixed;
  top: 0;
  left: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.08) 45%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out;
}

/* =========================================
   ANIMATIONS
========================================= */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   UTILITY CLASSES
========================================= */
.hidden {
  display: none !important;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 1024px) {
  .about-content,
  .contact-content,
  .service-modal-body {
    grid-template-columns: 1fr;
  }

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

  .service-modal-body {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .hero-buttons,
  .careers-actions,
  .cta-buttons,
  .service-modal-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-right {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

  .hero {
    padding-top: 100px;
  }

  .mouse-light {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .service-modal-header,
  .service-modal-body,
  .careers-header,
  .careers-grid {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 4%;
  }

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem 4%;
  }

  .about-content {
    gap: 2rem;
  }

  .visual-overlay {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .service-modal-header h2 {
    font-size: 1.75rem;
  }

  .careers-header h2 {
    font-size: 2rem;
  }

  .cta-container h2 {
    font-size: 1.75rem;
  }
}

/* =========================================
   ACCESSIBILITY
========================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 4px;
}

/* =========================================
   PRINT STYLES
========================================= */
@media print {
  .navbar,
  .hero-scroll,
  .back-to-top,
  .mouse-light,
  .service-modal,
  .careers-modal,
  .contact-form {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .btn {
    border: 1px solid #000;
  }
}
