/* Display Font - For headings and logo */
@font-face {
  font-family: "MomoTrustDisplay";
  src: url("../fonts/MomoTrustDisplay-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Body Font - Jost Variable for readable text */
@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Jost Italic for emphasis */
@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: inherit;
}

/* AOS Animation Overrides for better integration */
[data-aos] {
  pointer-events: none;
  opacity: 1 !important;
  visibility: visible !important;
}

[data-aos].aos-animate {
  pointer-events: auto;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Enhanced smooth scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

:root {
  /* Enhanced lighter color palette for premium feel */
  --primary: #f5faff;
  --primary-light: #e0f2fe;
  --secondary: #faf8ff;
  --accent-cyan: #06b6d4;
  --accent-purple: #a78bfa;
  --accent-pink: #ec4899;
  --text-dark: #0f172a;
  --text-light: #475569;
  --border-light: #e2e8f0;
  --glow-color: rgba(6, 182, 212, 0.3);
  /* Added darker neutral background for Services section */
  --services-bg: #eff5fb;
  /* Modern spacing and transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
}

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

body {
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--primary);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Ensure all elements use the custom font */
* {
  font-family: inherit;
}

input,
textarea,
select,
button {
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* All headings use display font */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "MomoTrustDisplay", sans-serif;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  backdrop-filter: blur(10px);
  z-index: 1004;
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(240, 249, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
}

.logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 1005;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  text-decoration: none;
}

.logo-text {
  font-family: "MomoTrustDisplay", sans-serif;
  background: linear-gradient(
    135deg,
    var(--accent-cyan) 0%,
    var(--accent-purple) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-glow {
  position: absolute;
  width: 2rem;
  height: 2rem;
  background: radial-gradient(circle, var(--glow-color), transparent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.menu-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  z-index: 1005;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.menu-toggle::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  z-index: -1;
  transition: all 0.3s ease;
  opacity: 1;
}

.menu-toggle::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  z-index: -1;
}

.menu-toggle .grid-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: linear-gradient(
      rgba(6, 182, 212, 0.25) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(6, 182, 212, 0.25) 1px, transparent 1px);
  background-size: 8px 8px;
  background-position: 0 0;
  animation: grid-move 2s linear infinite;
  opacity: 0.6;
  z-index: 0;
  border-radius: 12px;
  pointer-events: none;
}

@keyframes grid-move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 8px 8px;
  }
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
  transform: scale(1.05);
}

.menu-toggle:hover::before {
  background: linear-gradient(
    135deg,
    var(--accent-cyan),
    var(--accent-purple),
    var(--accent-pink)
  );
  animation: rotate-border 3s linear infinite;
}

.menu-toggle.active {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.6);
}

.menu-toggle.active::before {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
  animation: rotate-border 2s linear infinite;
}

@keyframes rotate-border {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.menu-toggle span {
  position: relative;
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
  z-index: 1;
  display: block;
}

.menu-toggle span:nth-child(2) {
  top: -5px;
  left: 0;
}

.menu-toggle span:nth-child(3) {
  top: 0;
  left: 0;
}

.menu-toggle span:nth-child(4) {
  top: 5px;
  left: 0;
}

.menu-toggle.active span:nth-child(2) {
  top: 0;
  left: 0;
  transform: rotate(45deg);
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.9);
  width: 18px;
}

.menu-toggle.active span:nth-child(3) {
  opacity: 0;
  transform: scale(0);
  width: 0;
}

.menu-toggle.active span:nth-child(4) {
  top: 0;
  left: 0;
  transform: rotate(-45deg);
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.9);
  width: 18px;
}

.menu-toggle:hover span {
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.8);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  display: inline-block;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 3.75rem;
  overflow: hidden;
}

/* Particles.js container */
#metaverseParticles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  overflow: hidden;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: url("../images/bg-technology.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  transform: perspective(1000px) rotateX(15deg) rotateY(-5deg);
  animation: robotic-scan 20s linear infinite,
    parallax-drift 15s ease-in-out infinite;
  filter: grayscale(30%) contrast(120%) brightness(110%);
}

.hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(6, 182, 212, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(167, 139, 250, 0.2) 0%,
      transparent 50%
    );
  animation: holographic-shift 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes robotic-scan {
  0% {
    transform: perspective(1000px) rotateX(15deg) rotateY(-5deg) translateZ(0);
    filter: grayscale(30%) contrast(120%) brightness(110%) hue-rotate(0deg);
  }
  50% {
    transform: perspective(1000px) rotateX(15deg) rotateY(5deg) translateZ(20px);
    filter: grayscale(30%) contrast(120%) brightness(110%) hue-rotate(180deg);
  }
  100% {
    transform: perspective(1000px) rotateX(15deg) rotateY(-5deg) translateZ(0);
    filter: grayscale(30%) contrast(120%) brightness(110%) hue-rotate(360deg);
  }
}

@keyframes parallax-drift {
  0%,
  100% {
    transform: perspective(1000px) rotateX(15deg) rotateY(-5deg) translate(0, 0);
  }
  50% {
    transform: perspective(1000px) rotateX(15deg) rotateY(5deg)
      translate(-2%, 2%);
  }
}

@keyframes holographic-shift {
  0%,
  100% {
    opacity: 0.6;
    filter: hue-rotate(0deg);
  }
  50% {
    opacity: 0.8;
    filter: hue-rotate(180deg);
  }
}

#canvas-grid {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  opacity: 0.15;
}

/* AI Connection Network */
.ai-network {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.ai-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-cyan), transparent);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.6), 0 0 40px rgba(6, 182, 212, 0.3);
  animation: nodePulse 2s ease-in-out infinite;
  opacity: 0.8;
}

.ai-node::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: nodeCore 2s ease-in-out infinite;
}

.ai-connection {
  position: absolute;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(6, 182, 212, 0.4),
    rgba(167, 139, 250, 0.4),
    transparent
  );
  animation: connectionFlow 3s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes nodePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.6), 0 0 40px rgba(6, 182, 212, 0.3);
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.8), 0 0 60px rgba(6, 182, 212, 0.5);
  }
}

@keyframes nodeCore {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.7;
  }
}

@keyframes connectionFlow {
  0% {
    opacity: 0.3;
    transform: scaleX(0.8);
  }
  50% {
    opacity: 0.8;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.3;
    transform: scaleX(0.8);
  }
}

/* Metaverse Connection Network for Hero */
.metaverse-connection {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.metaverse-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-purple), var(--accent-pink));
  box-shadow: 0 0 15px rgba(167, 139, 250, 0.6),
    0 0 30px rgba(236, 72, 153, 0.4);
  animation: metaverseNodePulse 2.5s ease-in-out infinite;
  opacity: 0.8;
}

.metaverse-node::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
  animation: metaverseNodeCore 2s ease-in-out infinite;
}

.metaverse-connection-line {
  position: absolute;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(167, 139, 250, 0.5),
    rgba(236, 72, 153, 0.5),
    transparent
  );
  animation: metaverseConnectionFlow 4s ease-in-out infinite;
  opacity: 0.5;
  transform-origin: 0 0;
}

@keyframes metaverseNodePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
    box-shadow: 0 0 15px rgba(167, 139, 250, 0.6),
      0 0 30px rgba(236, 72, 153, 0.4);
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 25px rgba(167, 139, 250, 0.9),
      0 0 50px rgba(236, 72, 153, 0.6);
  }
}

@keyframes metaverseNodeCore {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0.6;
  }
}

@keyframes metaverseConnectionFlow {
  0% {
    opacity: 0.3;
    transform: scaleX(0.7);
  }
  50% {
    opacity: 0.7;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.3;
    transform: scaleX(0.7);
  }
}

/* Metaverse Connection Network for About Section */
.metaverse-connection-about {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0.6;
}

.metaverse-node-about {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-cyan), var(--accent-purple));
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.5), 0 0 25px rgba(167, 139, 250, 0.3);
  animation: metaverseNodeAboutPulse 3s ease-in-out infinite;
  opacity: 0.7;
}

.metaverse-node-about::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
  animation: metaverseNodeAboutCore 2.5s ease-in-out infinite;
}

.metaverse-connection-line-about {
  position: absolute;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(6, 182, 212, 0.4),
    rgba(167, 139, 250, 0.4),
    transparent
  );
  animation: metaverseConnectionAboutFlow 3.5s ease-in-out infinite;
  opacity: 0.4;
  transform-origin: 0 0;
}

@keyframes metaverseNodeAboutPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.5),
      0 0 25px rgba(167, 139, 250, 0.3);
  }
  50% {
    transform: scale(1.4);
    opacity: 0.9;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.7),
      0 0 40px rgba(167, 139, 250, 0.5);
  }
}

@keyframes metaverseNodeAboutCore {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0.5;
  }
}

@keyframes metaverseConnectionAboutFlow {
  0% {
    opacity: 0.2;
    transform: scaleX(0.6);
  }
  50% {
    opacity: 0.6;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.2;
    transform: scaleX(0.6);
  }
}

/* Metaverse Connection Network for Contact Section */
.metaverse-connection-contact {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0.5;
}

.metaverse-node-contact {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-cyan), var(--accent-purple));
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5), 0 0 20px rgba(167, 139, 250, 0.3);
  animation: metaverseNodeContactPulse 2.8s ease-in-out infinite;
  opacity: 0.7;
}

.metaverse-node-contact::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
  animation: metaverseNodeContactCore 2.5s ease-in-out infinite;
}

.metaverse-connection-line-contact {
  position: absolute;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(6, 182, 212, 0.4),
    rgba(167, 139, 250, 0.4),
    transparent
  );
  animation: metaverseConnectionContactFlow 3.5s ease-in-out infinite;
  opacity: 0.4;
  transform-origin: 0 0;
}

@keyframes metaverseNodeContactPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5),
      0 0 20px rgba(167, 139, 250, 0.3);
  }
  50% {
    transform: scale(1.5);
    opacity: 0.9;
    box-shadow: 0 0 18px rgba(6, 182, 212, 0.7),
      0 0 35px rgba(167, 139, 250, 0.5);
  }
}

@keyframes metaverseNodeContactCore {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0.5;
  }
}

@keyframes metaverseConnectionContactFlow {
  0% {
    opacity: 0.2;
    transform: scaleX(0.6);
  }
  50% {
    opacity: 0.5;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.2;
    transform: scaleX(0.6);
  }
}

/* Metaverse Connection Network Above About Section */
.metaverse-connection-about-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0.6;
}

.metaverse-node-about-top {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-cyan), var(--accent-purple));
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.5), 0 0 25px rgba(167, 139, 250, 0.3);
  animation: metaverseNodeAboutTopPulse 3s ease-in-out infinite;
  opacity: 0.7;
}

.metaverse-node-about-top::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
  animation: metaverseNodeAboutTopCore 2.5s ease-in-out infinite;
}

.metaverse-connection-line-about-top {
  position: absolute;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(6, 182, 212, 0.4),
    rgba(167, 139, 250, 0.4),
    transparent
  );
  animation: metaverseConnectionAboutTopFlow 3.5s ease-in-out infinite;
  opacity: 0.4;
  transform-origin: 0 0;
}

@keyframes metaverseNodeAboutTopPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.5),
      0 0 25px rgba(167, 139, 250, 0.3);
  }
  50% {
    transform: scale(1.4);
    opacity: 0.9;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.7),
      0 0 40px rgba(167, 139, 250, 0.5);
  }
}

@keyframes metaverseNodeAboutTopCore {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0.5;
  }
}

@keyframes metaverseConnectionAboutTopFlow {
  0% {
    opacity: 0.2;
    transform: scaleX(0.6);
  }
  50% {
    opacity: 0.6;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.2;
    transform: scaleX(0.6);
  }
}

/* Metaverse Connection Network Above Contact Section */
.metaverse-connection-contact-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 250px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0.5;
}

.metaverse-node-contact-top {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-cyan), var(--accent-purple));
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5), 0 0 20px rgba(167, 139, 250, 0.3);
  animation: metaverseNodeContactTopPulse 2.8s ease-in-out infinite;
  opacity: 0.7;
}

.metaverse-node-contact-top::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
  animation: metaverseNodeContactTopCore 2.5s ease-in-out infinite;
}

.metaverse-connection-line-contact-top {
  position: absolute;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(6, 182, 212, 0.4),
    rgba(167, 139, 250, 0.4),
    transparent
  );
  animation: metaverseConnectionContactTopFlow 3.5s ease-in-out infinite;
  opacity: 0.4;
  transform-origin: 0 0;
}

@keyframes metaverseNodeContactTopPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5),
      0 0 20px rgba(167, 139, 250, 0.3);
  }
  50% {
    transform: scale(1.5);
    opacity: 0.9;
    box-shadow: 0 0 18px rgba(6, 182, 212, 0.7),
      0 0 35px rgba(167, 139, 250, 0.5);
  }
}

@keyframes metaverseNodeContactTopCore {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0.5;
  }
}

@keyframes metaverseConnectionContactTopFlow {
  0% {
    opacity: 0.2;
    transform: scaleX(0.6);
  }
  50% {
    opacity: 0.5;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.2;
    transform: scaleX(0.6);
  }
}

.aurora {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(
    ellipse at center,
    rgba(6, 182, 212, 0.15) 0%,
    transparent 70%
  );
  animation: aurora-drift 15s ease-in-out infinite;
}

@keyframes aurora-drift {
  0%,
  100% {
    top: -50%;
    opacity: 0.5;
  }
  50% {
    top: -30%;
    opacity: 1;
  }
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.shape {
  position: absolute;
  opacity: 0.08;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  top: 10%;
  left: 10%;
  animation: float 20s ease-in-out infinite;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  top: 40%;
  right: 15%;
  animation: float 25s ease-in-out infinite reverse;
}

.shape-3 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-cyan));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  bottom: 10%;
  left: 20%;
  animation: float 22s ease-in-out infinite;
}

.shape-4 {
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, #dbeafe, var(--accent-cyan));
  border-radius: 70% 30% 40% 60% / 70% 40% 60% 30%;
  top: 20%;
  right: 25%;
  animation: float 18s ease-in-out infinite reverse;
}

.shape-5 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--accent-purple), #e9d5ff);
  border-radius: 40% 60% 50% 50% / 50% 50% 50% 50%;
  bottom: 20%;
  right: 10%;
  animation: float 24s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  25% {
    transform: translateY(-30px) translateX(20px);
  }
  50% {
    transform: translateY(-60px) translateX(-20px);
  }
  75% {
    transform: translateY(-30px) translateX(20px);
  }
}

/* Added metaverse particles animation */
.metaverse-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: particle-float 8s infinite;
}

@keyframes particle-float {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(50px) scale(0.5);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  animation: fadeInUp 1s ease-out;
  opacity: 1 !important;
  visibility: visible !important;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

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

.hero-title {
  font-family: "MomoTrustDisplay", sans-serif;
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-balance: true;
  color: var(--text-dark);
  opacity: 1 !important;
  visibility: visible !important;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--accent-cyan) 0%,
    var(--accent-purple) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0%,
  100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(10deg);
  }
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  color: var(--text-light);
  margin: 0;
  line-height: 1.8;
  text-balance: true;
  max-width: 700px;
  padding: 0;
  margin-top: 100px !important;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button {
  position: relative;
  padding: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: visible;
  box-shadow: none;
  animation: fadeInUp 1s ease-out 0.6s both;
  z-index: 1;
  text-transform: none;
  letter-spacing: 0;
  font-family: "MomoTrustDisplay", sans-serif;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.cta-button span:first-child {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
  font-size: 1.25rem;
  font-weight: 700;
}

.cta-button::after {
  content: "→";
  display: inline-block;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
  line-height: 1;
}

.cta-button:hover {
  transform: none;
  box-shadow: none;
  background: transparent;
}

.cta-button:hover span:first-child {
  transform: translateX(0);
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-button:hover::after {
  transform: translateX(8px);
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-button:active {
  transform: none;
}

.button-glow {
  display: none;
}

/* Services Section */
.services {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 5vw, 2rem);
  max-width: 1200px;
  margin: 3rem auto;
  background: linear-gradient(180deg, var(--services-bg) 0%, #f0f9fc 100%);
  border-radius: 2rem;
  overflow: hidden;
  scroll-margin-top: 100px;
}

/* Added advanced 3D metaverse background effects */
.services-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.metaverse-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  filter: blur(40px);
  animation: orb-drift 20s ease-in-out infinite;
}

.metaverse-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-cyan), transparent);
  top: -20%;
  left: -10%;
  animation: orb-drift 25s ease-in-out infinite;
}

.metaverse-orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-purple), transparent);
  bottom: -15%;
  right: -10%;
  animation: orb-drift 30s ease-in-out infinite reverse;
}

.metaverse-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-pink), transparent);
  top: 50%;
  right: -5%;
  animation: orb-drift 28s ease-in-out infinite;
}

@keyframes orb-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(50px, -50px) scale(1.1);
  }
  50% {
    transform: translate(-30px, 30px) scale(0.9);
  }
  75% {
    transform: translate(20px, 50px) scale(1.05);
  }
}

.metaverse-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      90deg,
      rgba(6, 182, 212, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: grid-animate 30s linear infinite;
}

@keyframes grid-animate {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(40px, 40px);
  }
}

.metaverse-particles-services {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.section-header {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 5rem);
  animation: fadeInUp 0.8s ease-out both;
}

.section-header h2 {
  font-family: "MomoTrustDisplay", sans-serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-light);
  text-balance: true;
}

.services-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Enhanced 3D service cards with advanced transforms */
.service-card {
  position: relative;
  perspective: 1200px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  height: 100%;
}

.card-3d-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-radius: 1.2rem;
  border: 1px solid rgba(6, 182, 212, 0.2);
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.08);
  transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  will-change: transform;
}

.card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover .card-3d-wrapper {
  transform: translateY(-15px) rotateX(8deg) rotateY(5deg) rotateZ(2deg)
    scale(1.03);
  box-shadow: 0 40px 80px rgba(6, 182, 212, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.95);
}

.service-card:hover .card-content {
  transform: translateZ(20px);
}

.service-card:hover .card-icon {
  transform: scale(1.1) rotateY(360deg);
  filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.6));
}

.card-icon {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  margin-bottom: 1rem;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.5rem, 10vw, 5rem);
  height: clamp(3.5rem, 10vw, 5rem);
}

.card-icon svg {
  width: 100%;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  filter: drop-shadow(0 4px 12px rgba(6, 182, 212, 0.2));
}

.service-card:hover .card-icon {
  transform: scale(1.15) translateY(-5px);
}

.service-card:hover .card-icon svg {
  filter: drop-shadow(0 8px 24px rgba(6, 182, 212, 0.4));
  animation: icon-pulse 1.5s ease-in-out infinite;
}

@keyframes icon-pulse {
  0%,
  100% {
    filter: drop-shadow(0 8px 24px rgba(6, 182, 212, 0.4));
  }
  50% {
    filter: drop-shadow(0 12px 32px rgba(167, 139, 250, 0.6));
  }
}

@keyframes icon-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    filter: drop-shadow(0 0 15px var(--accent-cyan));
  }
}

.service-card h3 {
  font-family: "MomoTrustDisplay", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  transition: all 0.4s ease;
}

.service-card:hover h3 {
  background: linear-gradient(
    135deg,
    var(--accent-cyan) 0%,
    var(--accent-purple) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: scale(1.05);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  flex-grow: 1;
}

.card-glow {
  position: absolute;
  top: -100%;
  right: -100%;
  width: 300%;
  height: 300%;
  background: conic-gradient(
    from 0deg,
    rgba(6, 182, 212, 0.3) 0deg,
    rgba(167, 139, 250, 0.3) 90deg,
    rgba(6, 182, 212, 0.3) 360deg
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  animation: glow-rotate 4s linear;
  z-index: 1;
}

@keyframes glow-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.service-card:hover .card-glow {
  opacity: 1;
  animation: glow-rotate 4s linear infinite;
}

.card-3d-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
  z-index: 3;
  pointer-events: none;
}

.service-card:hover .card-3d-wrapper::before {
  left: 100%;
}

/** Products Section **/
.products {
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 5vw, 2rem);
  max-width: 1200px;
  margin: 3rem auto;
  scroll-margin-top: 100px;
}
.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.product-card-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}
.product-info {
  flex: 1;
  text-align: left;
}
.product-info h2 {
  font-family: "MomoTrustDisplay", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}
.product-info p {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.6;
}

.product-image {
  flex: 0 0 120px;
  max-width: 120px;
  border-radius: 1rem;
}

/* Features Section */
.features {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 5vw, 2rem);
  max-width: 1200px;
  margin: 3rem auto;
  scroll-margin-top: 100px;
  box-sizing: border-box;
  width: 100%;
}

.features-container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.features-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow-x: visible;
  box-sizing: border-box;
  min-width: 0;
  word-wrap: break-word;
}

.features-content h2 {
  font-family: "MomoTrustDisplay", sans-serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
}

.features-content p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.features-list {
  list-style: none;
}

.features-list li {
  font-size: 1rem;
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dark);
}

.check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: white;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: bold;
  flex-shrink: 0;
}

.features-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-box {
  position: absolute;
  border-radius: 0.75rem;
  border: 2px solid var(--accent-cyan);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  /* Added 3D rotation effect */
  transform-style: preserve-3d;
}

.feature-box-1 {
  width: 150px;
  height: 150px;
  background: rgba(6, 182, 212, 0.1);
  top: 0;
  left: 0;
  animation: rotate-3d 8s linear infinite;
}

.feature-box-2 {
  width: 200px;
  height: 200px;
  background: rgba(167, 139, 250, 0.1);
  border-color: var(--accent-purple);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotate-3d 10s linear infinite reverse;
}

.feature-box-3 {
  width: 120px;
  height: 120px;
  background: rgba(236, 72, 153, 0.1);
  border-color: var(--accent-pink);
  bottom: 0;
  right: 0;
  animation: rotate-3d 12s linear infinite;
}

@keyframes rotate-3d {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
  }
}

/* About Section */
.about {
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 5vw, 2rem);
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  text-align: center;
  scroll-margin-top: 100px;
  position: relative;
  overflow: hidden;
}

.about-container {
  animation: fadeInUp 0.8s ease-out both;
}

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

.about-container h2 {
  font-family: "MomoTrustDisplay", sans-serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.about-container p {
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 5vw, 2rem);
  max-width: 1200px;
  margin: 3rem auto;
  text-align: center;
  overflow: hidden;
}

.cta-content {
  animation: fadeInUp 0.8s ease-out both;
}

/* Enhanced CTA grid background for metaverse effect */
.cta-grid-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      rgba(6, 182, 212, 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(6, 182, 212, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-drift 20s linear infinite;
  pointer-events: none;
}

@keyframes grid-drift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.cta-content {
  position: relative;
  z-index: 10;
}

.cta-content h2 {
  font-family: "MomoTrustDisplay", sans-serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(
    135deg,
    var(--accent-cyan) 0%,
    var(--accent-purple) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.6;
  text-balance: true;
}

/* Contact Section */
.contact {
  padding: clamp(3rem, 10vw, 6rem) clamp(1rem, 5vw, 2rem);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.contact-container {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 1rem;
  border: 1px solid var(--border-light);
}

.contact-container h2 {
  font-family: "MomoTrustDisplay", sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.contact-container > p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact-container a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-container a:hover {
  color: var(--accent-purple);
}

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

/* Improved form styling with better structure */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.select-wrapper {
  position: relative;
}

.form-select {
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  padding-right: 2.5rem;
  font-weight: 500;
}

.form-select:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.1);
}

.form-select:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.cols {
  display: flex;
  gap: 1.5rem;
}

.col-half {
  flex: 1;
}

.form-input {
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
  font-family: inherit;
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
}
.form-input:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.1);
}
.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}
.form-input::placeholder {
  color: #94a3b8;
}

/* Custom dropdown arrow styling */
.select-wrapper::after {
  content: "▼";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--accent-cyan);
  font-size: 0.75rem;
}

.form-textarea {
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
  font-family: inherit;
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  color: var(--text-dark);
  resize: vertical;
  transition: all 0.3s ease;
}

.form-textarea:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.1);
}

.form-textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-textarea::placeholder {
  color: #94a3b8;
}

.submit-button {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2);
  position: relative;
  overflow: hidden;
}

.submit-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.submit-button:hover::before {
  width: 300px;
  height: 300px;
}

.submit-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3);
}

.submit-button:active {
  transform: translateY(0) scale(1);
}

.form-response {
  font-size: 0.95rem;
}

/* Footer */
.footer {
  padding: 2.5rem 2rem 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-top: 1px solid var(--border-light);
  color: var(--text-light);
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer-logo img {
  filter: drop-shadow(0 2px 8px rgba(6, 182, 212, 0.2));
  transition: transform 0.3s ease;
}

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

.footer-logo-text {
  font-family: "MomoTrustDisplay", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.footer-hero-title {
  font-family: "MomoTrustDisplay", sans-serif;
  font-size: 16px;
  font-weight: 50;
  color: var(--text-light);
  margin: 0;
  line-height: 1.4;
}

.footer-hero-title .gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.footer-contact {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--accent-cyan);
  opacity: 0.9;
}

.footer-contact-item span {
  color: var(--text-light);
  opacity: 0.85;
}

.footer-contact-item a {
  color: var(--text-light);
  text-decoration: none;
  opacity: 0.85;
  transition: all 0.3s ease;
}

.footer-contact-item a:hover {
  color: var(--accent-cyan);
  opacity: 1;
  transform: translateX(2px);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.footer-menu {
  text-align: right;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  position: relative;
  padding: 0.125rem 0;
  font-weight: 500;
  display: inline-block;
  line-height: 1.3;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(-3px);
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-social-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.footer-social-title,
.footer-menu-title {
  font-family: "MomoTrustDisplay", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 0;
  text-align: right;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-copyright {
  text-align: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(71, 85, 105, 0.2);
}

.footer-copyright p {
  margin: 0;
  color: var(--text-light);
  opacity: 0.8;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Responsive Design - Enhanced with multiple breakpoints */

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
  .nav-container {
    padding: 1.25rem 1.5rem;
  }

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

  .hero-content {
    padding: 1.5rem;
  }
}

/* Medium Desktops and Tablets */
@media (max-width: 1024px) {
  .nav-container {
    padding: 1.25rem 1.25rem;
  }

  .logo {
    font-size: 1.4rem;
  }

  .features {
    padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 2rem);
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .features-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    width: 100%;
    box-sizing: border-box;
  }

  .features-content {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    overflow-x: visible;
    box-sizing: border-box;
    min-width: 0;
  }

  .features-visual {
    height: 350px;
  }

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

  .hero-title {
    font-size: clamp(2rem, 7vw, 3.5rem);
  }

  .section-header h2,
  .features-content h2,
  .about-container h2,
  .cta-content h2,
  .contact-container h2 {
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  }

  .service-card {
    padding: 1.75rem;
  }

  .about-container {
    padding: 0 1rem;
  }
}

/* Medium Tablets */
@media (max-width: 900px) {
  .nav-container {
    padding: 1rem 1.25rem;
  }

  .logo {
    font-size: 1.3rem;
    gap: 0.4rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 0.9rem;
    padding: 0.625rem 1rem;
  }

  .hero {
    margin-top: 4.5rem;
  }

  .hero-content {
    padding: 1.5rem 1rem;
    gap: 1.25rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6.5vw, 3rem);
    margin-bottom: 0;
    margin-top: 0;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 0.5rem;
  }

  .cta-button {
    font-size: 1.125rem;
  }

  .cta-button span:first-child {
    font-size: 1.125rem;
  }

  .cta-button::after {
    font-size: 1.375rem;
  }

  .services {
    padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 2rem);
  }

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

  .service-card {
    padding: 1.625rem;
  }

  .features {
    padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 2rem);
    max-width: 100%;
  }

  .features-container {
    gap: 2.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .features-content {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    overflow-x: visible;
    box-sizing: border-box;
    min-width: 0;
  }

  .features-visual {
    height: 320px;
  }

  .about {
    padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 2rem);
  }

  .cta-section {
    padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 2rem);
  }

  .contact {
    padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 2rem);
  }

  .contact-container {
    padding: 2rem 1.75rem;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    z-index: 1005;
    position: relative;
    flex-shrink: 0;
    margin-top: 0;
    align-self: center;
  }

  .menu-toggle span {
    width: 16px;
    height: 2px;
  }

  .nav-container {
    padding: 1rem 1.25rem;
    padding-top: max(1rem, env(safe-area-inset-top, 0px) + 1rem);
    position: relative;
    z-index: 1005;
    min-height: 60px;
    align-items: center;
  }

  .logo {
    font-size: 1.25rem;
    gap: 0.375rem;
    z-index: 1005;
    position: relative;
  }

  .logo img {
    height: 42px;
    width: 42px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(245, 250, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 4.5rem 1.5rem 2rem;
    gap: 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease,
      visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1003;
    pointer-events: none;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .nav-links.active {
    max-height: 100vh;
    height: 100vh;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow: visible;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .nav-links a {
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .nav-links a:hover,
  .nav-links a:active {
    background: rgba(6, 182, 212, 0.15);
    transform: translateX(4px);
    color: var(--accent-cyan);
  }

  .features {
    padding: clamp(2rem, 7vw, 4rem) clamp(1.25rem, 4vw, 2rem);
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .features-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .features-content {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    overflow-x: visible;
    box-sizing: border-box;
  }

  .features-visual {
    height: 300px;
    order: -1;
  }

  .features-content {
    order: 1;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .feature-box-1 {
    width: 100px;
    height: 100px;
  }

  .feature-box-2 {
    width: 140px;
    height: 140px;
  }

  .feature-box-3 {
    width: 80px;
    height: 80px;
  }

  .hero {
    margin-top: 4rem;
    min-height: 90vh;
  }

  .hero-content {
    padding: 1.5rem 1rem;
    gap: 2rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.75rem);
    line-height: 1.2;
    margin: 0;
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    margin: 0;
    line-height: 1.7;
  }

  .cta-button {
    font-size: 1.05rem;
    gap: 0.625rem;
  }

  .cta-button span:first-child {
    font-size: 1.05rem;
  }

  .cta-button::after {
    font-size: 1.25rem;
  }

  .services {
    margin-left: 0;
    margin-right: 0;
    padding: clamp(2rem, 7vw, 4rem) clamp(1.25rem, 4vw, 2rem);
  }

  .section-header {
    margin-bottom: clamp(2rem, 5vw, 3rem);
  }

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

  .service-card {
    padding: 2rem 1.75rem;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }

  .service-card p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .about {
    padding: clamp(2rem, 7vw, 4rem) clamp(1.25rem, 4vw, 2rem);
  }

  .about-container {
    padding: 0 0.5rem;
  }

  .about-container p {
    font-size: 1.0625rem;
    line-height: 1.8;
  }

  .cta-section {
    padding: clamp(2rem, 7vw, 4rem) clamp(1.25rem, 4vw, 2rem);
  }

  .contact {
    padding: clamp(2rem, 7vw, 4rem) clamp(1.25rem, 4vw, 2rem);
  }

  .contact-container {
    padding: 2rem 1.75rem;
  }

  .form-select,
  .form-textarea,
  .form-input {
    padding: 0.875rem 1rem;
    font-size: 16px;
    min-height: 48px;
  }

  .submit-button {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    min-height: 48px;
  }

  .footer {
    padding: 2rem 1.5rem 1.25rem;
  }

  .footer-container {
    gap: 1.25rem;
  }

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

  .footer-brand {
    gap: 0.625rem;
  }

  .footer-right {
    align-items: flex-start;
    gap: 0.875rem;
  }

  .footer-menu {
    text-align: left;
  }

  .footer-links {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
  }

  .footer-links a:hover {
    transform: translateY(-2px);
  }

  .footer-links a::after {
    right: auto;
    left: 0;
  }

  .footer-social-section {
    align-items: flex-start;
  }

  .footer-social-title,
  .footer-menu-title {
    text-align: left;
    font-size: 0.95rem;
  }

  .footer-social {
    align-self: flex-start;
    gap: 0.625rem;
  }

  .footer-copyright {
    padding-top: 1rem;
  }
}

/* Mobile responsive styles for small screens */
@media (max-width: 480px) {
  .nav-container {
    padding: 0.875rem 1rem;
    padding-top: max(0.875rem, env(safe-area-inset-top, 0px) + 0.875rem);
    min-height: 60px;
    align-items: center;
  }

  .logo {
    font-size: 1.15rem;
    gap: 0.35rem;
  }

  .logo img {
    height: 38px;
    width: 38px;
  }

  .nav-links {
    padding: 4rem 1.25rem 2rem;
    gap: 0.375rem;
    padding-top: 4rem;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.875rem 1rem;
    min-height: 44px;
    border-radius: 0.625rem;
  }

  .hero {
    margin-top: 3.5rem;
    min-height: 85vh;
    padding: 1rem 0;
  }

  .hero-content {
    padding: 1.25rem 0.875rem;
    gap: 1.75rem;
  }

  .hero-title {
    font-size: clamp(1.5rem, 7.5vw, 2.25rem);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
  }

  .hero-subtitle {
    font-size: clamp(0.875rem, 3vw, 1.05rem);
    margin: 0;
    padding: 0 0.5rem;
    line-height: 1.7;
  }

  .cta-button {
    font-size: 1rem;
    gap: 0.5rem;
    width: auto;
  }

  .cta-button span:first-child {
    font-size: 1rem;
  }

  .cta-button::after {
    font-size: 1.125rem;
  }

  .services {
    padding: clamp(1.75rem, 6.5vw, 3rem) clamp(1rem, 3.5vw, 1.5rem);
  }

  .section-header {
    margin-bottom: clamp(1.75rem, 5vw, 2.5rem);
  }

  .section-header h2 {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    line-height: 1.3;
  }

  .section-header p {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  }

  .services-grid {
    gap: 1.25rem;
  }

  .service-card {
    padding: 1.625rem 1.375rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.875rem;
  }

  .service-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
  }

  .card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .features {
    padding: clamp(1.75rem, 6.5vw, 3rem) clamp(1rem, 3.5vw, 1.5rem);
    max-width: 100%;
  }

  .features-container {
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
  }

  .features-content {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    overflow-x: visible;
    box-sizing: border-box;
  }

  .features-content h2 {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    line-height: 1.3;
    margin-bottom: 0.875rem;
  }

  .features-content p {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    line-height: 1.65;
  }

  .features-list li {
    font-size: 0.9375rem;
    padding: 0.625rem 0;
  }

  .features-visual {
    height: 240px;
  }

  .feature-box-1 {
    width: 75px;
    height: 75px;
  }

  .feature-box-2 {
    width: 100px;
    height: 100px;
  }

  .feature-box-3 {
    width: 55px;
    height: 55px;
  }

  .about {
    padding: clamp(1.75rem, 6.5vw, 3rem) clamp(1rem, 3.5vw, 1.5rem);
  }

  .about-container {
    padding: 0 0.25rem;
  }

  .about-container h2 {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    line-height: 1.3;
    margin-bottom: 1.25rem;
  }

  .about-container p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }

  .cta-section {
    padding: clamp(1.75rem, 6.5vw, 3rem) clamp(1rem, 3.5vw, 1.5rem);
  }

  .cta-content h2 {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    line-height: 1.3;
    margin-bottom: 0.875rem;
  }

  .cta-content p {
    font-size: 0.9375rem;
    line-height: 1.65;
  }

  .contact {
    padding: clamp(1.75rem, 6.5vw, 3rem) clamp(1rem, 3.5vw, 1.5rem);
  }

  .contact-container {
    padding: 1.625rem 1.375rem;
    border-radius: 0.875rem;
  }

  .contact-container h2 {
    font-size: clamp(1.375rem, 5vw, 1.875rem);
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }

  .contact-container > p {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }

  .contact-form {
    gap: 1.25rem;
  }

  .form-select,
  .form-textarea,
  .form-input {
    padding: 0.8125rem 0.9375rem;
    font-size: 16px;
    min-height: 48px;
    border-radius: 0.625rem;
  }

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

  .submit-button {
    padding: 0.9375rem 1.75rem;
    font-size: 1rem;
    width: 100%;
    min-height: 48px;
    border-radius: 0.625rem;
  }

  .footer {
    padding: 1.75rem 1rem 1.25rem;
    font-size: 0.875rem;
    line-height: 1.4;
  }

  .footer-container {
    gap: 1.25rem;
  }

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

  .footer-brand {
    gap: 0.625rem;
  }

  .footer-logo {
    gap: 0.5rem;
  }

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

  .footer-logo-text {
    font-size: 1.25rem;
    line-height: 1.2;
  }

  .footer-hero-title {
    font-size: 1rem;
    max-width: 100%;
    line-height: 1.35;
  }

  .footer-contact {
    margin-top: 1rem;
    gap: 0.625rem;
  }

  .footer-contact-item {
    font-size: 0.85rem;
    gap: 0.5rem;
  }

  .footer-contact-item svg {
    width: 14px;
    height: 14px;
  }

  .footer-right {
    align-items: flex-start;
    gap: 0.875rem;
  }

  .footer-menu {
    text-align: left;
  }

  .footer-links {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .footer-links a {
    font-size: 0.95rem;
    line-height: 1.3;
    padding: 0.125rem 0;
  }

  .footer-links a:hover {
    transform: translateY(-2px);
  }

  .footer-links a::after {
    right: auto;
    left: 0;
  }

  .footer-social-section {
    align-items: flex-start;
  }

  .footer-social-title,
  .footer-menu-title {
    text-align: left;
    font-size: 0.9rem;
  }

  .footer-social {
    align-self: flex-start;
    gap: 0.625rem;
  }

  .footer-social a {
    width: 36px;
    height: 36px;
  }

  .footer-social svg {
    width: 18px;
    height: 18px;
  }

  .footer-copyright {
    padding-top: 1rem;
  }

  .footer-copyright p {
    line-height: 1.4;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .nav-container {
    padding: 0.75rem 0.875rem;
    padding-top: max(0.75rem, env(safe-area-inset-top, 0px) + 0.75rem);
    min-height: 60px;
    align-items: center;
  }

  .logo {
    font-size: 1.05rem;
  }

  .logo img {
    height: 34px;
    width: 34px;
  }

  .hero-title {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 0;
    margin-top: 0;
  }

  .hero-subtitle {
    font-size: 0.875rem;
  }

  .section-header h2,
  .features-content h2,
  .about-container h2,
  .cta-content h2,
  .contact-container h2 {
    font-size: 1.375rem;
    line-height: 1.3;
  }

  .service-card {
    padding: 1.375rem 1.125rem;
  }

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

  .service-card p {
    font-size: 0.875rem;
  }

  .contact-container {
    padding: 1.375rem 1.125rem;
  }

  .contact-container h2 {
    font-size: 1.25rem;
  }

  .features-visual {
    height: 220px;
  }

  .form-select,
  .form-textarea,
  .form-input {
    padding: 0.75rem 0.875rem;
    font-size: 16px;
  }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 1.5rem 1rem;
    margin-top: 3.5rem;
  }

  .hero-content {
    padding: 1rem 0.75rem;
    gap: 1.5rem;
  }

  .hero-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin: 0;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: clamp(0.875rem, 2vw, 1rem);
    margin: 0;
    line-height: 1.7;
  }

  .cta-button {
    font-size: 0.95rem;
    gap: 0.5rem;
  }

  .cta-button span:first-child {
    font-size: 0.95rem;
  }

  .cta-button::after {
    font-size: 1rem;
  }

  .features-visual {
    height: 200px;
  }

  .services {
    padding: 1.5rem 1rem;
  }

  .features,
  .about,
  .cta-section,
  .contact {
    padding: 1.5rem 1rem;
  }
}

/* Prevent horizontal scroll on all devices */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
    width: 100%;
  }

  * {
    max-width: 100%;
  }

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