
@charset "utf-8";
/* CSS Document */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui,
    sans-serif;
  background: #000;
  color: #4da6ff;
  overflow-x: hidden;
  min-height: 100vh;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
}

.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid #4da6ff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  box-shadow: 0 0 20px rgba(77, 166, 255, 0.5);
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.custom-cursor.active {
  opacity: 1;
}

.custom-cursor-follower {
  position: fixed;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #4da6ff, #0080ff);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0;
  box-shadow: 0 0 15px rgba(77, 166, 255, 0.8);
  transition: opacity 0.3s ease;
}

.custom-cursor-follower.active {
  opacity: 1;
}

.custom-cursor.hover {
  width: 40px;
  height: 40px;
  background: rgba(77, 166, 255, 0.1);
  border-color: #0080ff;
}

/* Enhanced background - Dark Blue/Black palette */
.neural-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: radial-gradient(
      circle at 15% 85%,
      rgba(0, 40, 85, 0.7) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 85% 15%,
      rgba(10, 25, 50, 0.8) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 45% 60%,
      rgba(0, 60, 120, 0.6) 0%,
      transparent 50%
    ),
    radial-gradient(circle at 70% 40%, rgba(0, 30, 60, 0.5) 0%, transparent 50%),
    linear-gradient(135deg, #000000 0%, #001a33 50%, #000000 100%);
  animation: backgroundPulse 14s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%,
  100% {
    filter: brightness(0.9) saturate(1.4);
  }
  33% {
    filter: brightness(1.1) saturate(1.7);
  }
  66% {
    filter: brightness(1) saturate(1.5);
  }
}

.mxd-project-item,
.feature-row,
.timeline-item,
.hexagon,
.section-title,
.contact-info,
.contact-form {
  opacity: 0;
  transform: translateY(80px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.mxd-project-item.visible,
.feature-row.visible,
.timeline-item.visible,
.hexagon.visible,
.section-title.visible,
.contact-info.visible,
.contact-form.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Floating geometric shapes */
.geometric-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border: 1px solid rgba(77, 166, 255, 0.3);
  animation: floatShape 20s linear infinite;
}

.shape:nth-child(1) {
  width: 100px;
  height: 100px;
  left: 10%;
  animation-delay: 0s;
  border-color: rgba(0, 150, 255, 0.4);
}

.shape:nth-child(2) {
  width: 60px;
  height: 60px;
  left: 70%;
  animation-delay: -5s;
  border-radius: 50%;
  border-color: rgba(51, 153, 255, 0.4);
}

.shape:nth-child(3) {
  width: 80px;
  height: 80px;
  left: 30%;
  animation-delay: -10s;
  transform: rotate(45deg);
  border-color: rgba(102, 178, 255, 0.4);
}

.shape:nth-child(4) {
  width: 120px;
  height: 120px;
  left: 50%;
  animation-delay: -15s;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: linear-gradient(45deg, rgba(0, 150, 255, 0.1), transparent);
}

@keyframes floatShape {
  from {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10%,
  90% {
    opacity: 1;
  }
  to {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Neural network lines */
.neural-lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.neural-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, #0099ff, transparent);
  height: 1px;
  animation: neuralPulse 3s ease-in-out infinite;
}

.neural-line:nth-child(1) {
  top: 20%;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, transparent, #4da6ff, transparent);
  animation-delay: 0s;
}

.neural-line:nth-child(2) {
  top: 60%;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, transparent, #0080ff, transparent);
  animation-delay: -1s;
}

.neural-line:nth-child(3) {
  top: 40%;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, transparent, #3399ff, transparent);
  animation-delay: -2s;
}

@keyframes neuralPulse {
  0%,
  100% {
    opacity: 0.2;
    transform: scaleX(0.5);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Glassmorphism styles */
.glass {
  background: rgba(0, 40, 80, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(77, 166, 255, 0.2);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  margin:20px 40px;
  padding: 18px 35px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(0, 40, 80, 0.95);
  backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(77, 166, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

header.hidden {
  transform: translateY(-100%);
}

header.scrolled {
  background: rgba(0, 20, 40, 0.98);
  backdrop-filter: blur(30px);
  padding: 22px 35px;
  border-bottom: 1px solid rgba(77, 166, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
    margin:0px;
    border-radius: 0px;
    border: none;
      border-bottom: 1px solid rgba(77, 166, 255, 0.2);


}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.compact-menu-btn {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(77, 166, 255, 0.2), rgba(0, 128, 255, 0.15));
  border: 1px solid rgba(77, 166, 255, 0.4);
  border-radius: 5px;
  color: #4da6ff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.compact-menu-btn:hover {
  background: linear-gradient(135deg, rgba(77, 166, 255, 0.3), rgba(0, 128, 255, 0.25));
  box-shadow: 0 0 20px rgba(77, 166, 255, 0.4);
  transform: translateY(-2px);
}

.compact-menu-btn .menu-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}

.compact-menu-btn .menu-icon span {
  display: block;
  height: 2px;
  background: linear-gradient(45deg, #4da6ff, #0080ff);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.compact-menu-btn.active .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.compact-menu-btn.active .menu-icon span:nth-child(2) {
  opacity: 0;
}

.compact-menu-btn.active .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

header.scrolled .nav-links {
  display: none;
}

header.scrolled .compact-menu-btn {
  display: flex;
}

/* Compact dropdown menu */
.compact-dropdown {
  position: fixed;
  top: 90px;
  right: 35px;
  min-width: 220px;
  background: rgba(0, 20, 40, 0.98);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(77, 166, 255, 0.3);
  border-radius: 10px;
  padding: 15px;
  display: none;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 101;
}

.compact-dropdown.active {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  animation: slideDownFade 0.3s ease-out;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.compact-dropdown a {
  color: #ffffff;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(0, 40, 80, 0.3);
  border: 1px solid rgba(77, 166, 255, 0.2);
  text-align: left;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.compact-dropdown a:hover,
.compact-dropdown a.active {
  background: rgba(77, 166, 255, 0.2);
  color: #4da6ff;
  box-shadow: 0 0 15px rgba(77, 166, 255, 0.3);
  transform: translateX(5px);
  border-color: rgba(77, 166, 255, 0.4);
}

/* Overlay for dropdown */
.dropdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  display: none;
  z-index: 98;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dropdown-overlay.active {
  display: block;
  opacity: 1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: xx-large;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 60px;
  height: 60px;
  /* filter: drop-shadow(0 0 10px #4da6ff); */
}

.logo-text {
  display: flex;
  gap: 0;
}

.logo-mersey {
  color:  #1E4280;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(45, 95, 141, 0.5);
}

.logo-webdesign {
  color: #36A6B8;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(92, 184, 208, 0.5);
}

/* Logo adjustments for compact mode */
header.scrolled .logo {
  font-size: xx-large;
}

header.scrolled .logo-icon {
  width: 60px;
  height: 60px;
}

h2 {
  text-transform: uppercase;
}


/* .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: bold;
  background: linear-gradient(45deg, #4da6ff, #0080ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  animation: logoGlow 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 10px #4da6ff);
} */

/* @keyframes logoGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px #4da6ff);
  }
  50% {
    filter: drop-shadow(0 0 20px #0080ff);
  }
} */

.nav-links {
  display: flex;
  list-style: none;
  gap: 12px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 12px 20px;
  border-radius: 15px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links a.active {
  color: #4da6ff;
  background: linear-gradient(
    135deg,
    rgba(77, 166, 255, 0.2),
    rgba(0, 128, 255, 0.15)
  );
  box-shadow: 0 0 20px rgba(77, 166, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(77, 166, 255, 0.4);
  text-shadow: 0 0 10px rgba(77, 166, 255, 0.8);
  transform: translateY(-1px);
}

.nav-links a.external-link::after {
  content: " ↗";
  font-size: 0.8em;
  vertical-align: super;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: rgba(0, 40, 80, 0.3);
  border: 1px solid rgba(77, 166, 255, 0.3);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(77, 166, 255, 0.2);
  box-shadow: 0 0 15px rgba(77, 166, 255, 0.3);
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: linear-gradient(45deg, #4da6ff, #0080ff);
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(9px, 9px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background: rgba(0, 20, 40, 0.95);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(77, 166, 255, 0.3);
  border-radius: 20px;
  padding: 30px;
  display: none;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.mobile-nav.active {
  display: flex;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.mobile-nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 12px;
  background: rgba(0, 40, 80, 0.3);
  border: 1px solid rgba(77, 166, 255, 0.2);
  text-align: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: rgba(77, 166, 255, 0.2);
  color: #4da6ff;
  box-shadow: 0 0 20px rgba(77, 166, 255, 0.3);
  transform: translateY(-2px);
  border-color: rgba(77, 166, 255, 0.4);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 50%;
  width: 60%;
  height: 60%;
  background: radial-gradient(
    circle,
    rgba(77, 166, 255, 0.06) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  animation: heroGlow 10s ease-in-out infinite;
  z-index: -1;
}

@keyframes heroGlow {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 1;
  }
}

.hero-content {
  max-width: 1200px;
  padding: 80px 40px;
  margin-top: 120px;
  animation: heroAppear 2.5s ease-out;
}

@keyframes heroAppear {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-subtitle {
  font-size: 0.9rem;
  color: #4da6ff;
  margin-bottom: 25px;
  opacity: 0;
  animation: slideInFromLeft 1.2s ease 0.3s forwards;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  position: relative;
  display: inline-block;
  font-weight: 300;
}

.hero-subtitle::before,
.hero-subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #4da6ff, transparent);
  animation: linePulse 3s ease infinite;
}

.hero-subtitle::before {
  left: -60px;
}
.hero-subtitle::after {
  right: -60px;
}

@keyframes linePulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleX(0.8);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.2);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin-bottom: 30px;
  background: linear-gradient(
    135deg,
    #4da6ff 0%,
    #0080ff 30%,
    #3399ff 60%,
    #4da6ff 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: modernGradient 8s ease infinite,
    slideInFromRight 1.2s ease 0.6s forwards;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  opacity: 0;
}

@keyframes modernGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-description {
  max-width: 700px;
  margin: 30px auto 50px;
  opacity: 0;
  animation: fadeInScale 1.2s ease 0.9s forwards;
}

.hero-description p {
  font-size: 1.2rem;
  color: #b3d9ff;
  line-height: 1.7;
  font-weight: 100;
}

h1 {
  text-transform: uppercase;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 40px;
  margin: 60px auto 50px;
  max-width: 840px;
  opacity: 0;
  animation: slideUpStagger 1.2s ease 1.2s forwards;
}

.hero-stat {
  text-align: center;
  padding: 20px;
  background: linear-gradient(
    135deg,
    rgba(77, 166, 255, 0.1),
    rgba(0, 128, 255, 0.08)
  );
  border: 1px solid rgba(77, 166, 255, 0.25);
  border-radius: 12px;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.hero-stat:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: rgba(77, 166, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 128, 255, 0.2);
}

.hero-stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4da6ff;
  display: block;
  text-shadow: 0 0 15px rgba(77, 166, 255, 0.5);
  margin-bottom: 8px;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: #80c1ff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 400;
}

@keyframes slideUpStagger {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-buttons {
  display: flex;
  gap: 20px;
  padding-top: 40px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: buttonSlideUp 1.2s ease 1.5s forwards;
}

@keyframes buttonSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-button {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, #4da6ff, #0080ff);
  color: #000;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 15px rgba(77, 166, 255, 0.3);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid #4da6ff;
  color: #4da6ff;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(77, 166, 255, 0.4);
}

/* Features Section */
.features {
  padding: 150px 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 80px;
  color: #4da6ff;
}

.features-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.diagonal-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 80px;
}

.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
  padding: 50px;
  transform: skew(-5deg);
  transition: all 0.4s ease;
}

.feature-content:hover {
  transform: skew(-5deg) translateY(-10px);
  box-shadow: 0 30px 60px rgba(77, 166, 255, 0.2);
}

.feature-visual {
  flex: 1;
  height: 300px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(0, 80, 160, 0.3),
    rgba(0, 40, 80, 0.3)
  );
  transition: all 0.4s ease;
}

.feature-visual:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(77, 166, 255, 0.3);
}

.feature-icon {
  font-size: 4rem;
  margin-bottom: 25px;
}

.feature-content h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.feature-content p {
  font-size: 1.1rem;
  color: #b3d9ff;
  line-height: 1.8;
}


.feature-row:nth-child(1) .feature-visual {
  background: 
    url('https://images.unsplash.com/photo-1467232004584-a241de8bcf5d?w=800&q=80') center/cover;
  position: relative;
  overflow: hidden;
}

.feature-row:nth-child(1) .feature-visual::after {
  content: '🎨';
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 3rem;
  opacity: 0.6;
  filter: drop-shadow(0 0 10px rgba(77, 166, 255, 0.8));
}

/* eCommerce Solutions */
.feature-row:nth-child(2) .feature-visual {
  background: 
    url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?w=800&q=80') center/cover;
  position: relative;
  overflow: hidden;
}

.feature-row:nth-child(2) .feature-visual::after {
  content: '🛒';
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 3rem;
  opacity: 0.6;
  filter: drop-shadow(0 0 10px rgba(77, 166, 255, 0.8));
}

/* SEO & Optimization */
.feature-row:nth-child(3) .feature-visual {
  background: 
    url('https://images.unsplash.com/photo-1432888498266-38ffec3eaf0a?w=800&q=80') center/cover;
  position: relative;
  overflow: hidden;
}

.feature-row:nth-child(3) .feature-visual::after {
  content: '🚀';
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 3rem;
  opacity: 0.6;
  filter: drop-shadow(0 0 10px rgba(77, 166, 255, 0.8));
}

/* Website Maintenance */
.feature-row:nth-child(4) .feature-visual {
  background: 
    url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=800&q=80') center/cover;
  position: relative;
  overflow: hidden;
}

.feature-row:nth-child(4) .feature-visual::after {
  content: '⚙️';
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 3rem;
  opacity: 0.6;
  filter: drop-shadow(0 0 10px rgba(77, 166, 255, 0.8));
}

.feature-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(77, 166, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-visual:hover::before {
  opacity: 1;
}

.feature-visual::after {
  transition: all 0.4s ease;
}

.feature-visual:hover::after {
  transform: scale(1.2) rotate(10deg);
  opacity: 0.9;
}



/* Showcase Section */
.showcase {
  padding: 100px 0;
}

.showcase {
  position: relative;
}

.showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 20, 40, 0.92), rgba(0, 40, 80, 0.88)),
    url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1600&q=80') center/cover;
  background-attachment: fixed;
  z-index: -1;
  opacity: 0.6;
}

/* Keep hexagons clean with glass effect */
.hexagon-inner {
  background: linear-gradient(135deg, rgba(0, 80, 160, 0.2), rgba(0, 40, 80, 0.2));
  backdrop-filter: blur(15px);
}

.hexagon-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(77, 166, 255, 0.15), rgba(0, 128, 255, 0.1)),
    url('https://images.unsplash.com/photo-1551434678-e076c223a692?w=800&q=80') center/cover;
  background-blend-mode: overlay;
  border-radius: 10%;
  z-index: 0;
  opacity: 0.3;
  filter: blur(2px);
  animation: floatRotate 20s ease-in-out infinite;
}

@keyframes floatRotate {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1) rotate(10deg);
  }
}

.hexagon-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.hexagon {
  width: 220px;
  height: 290px;
  margin: 20px;
  transition: all 0.4s ease;
}

.hexagon:hover {
  transform: scale(1.1);
}

.hexagon-inner {
  width: 100%;
  height: 100%;
  transform: rotate(0deg);
  border-radius: 15px;
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.4s ease;
  background: linear-gradient(
    135deg,
    rgba(0, 80, 160, 0.2),
    rgba(0, 40, 80, 0.2)
  );
  border: 1px solid rgba(77, 166, 255, 0.3);
}

.hexagon:hover .hexagon-inner {
  transform: rotate(20deg);
  border-radius: 15px;
}

.hexagon-icon {
  font-size: 2.8rem;
  transform: rotate(0deg);
  filter: drop-shadow(0 0 10px #4da6ff);
  transition: all 0.4s ease;
}

.hexagon:hover .hexagon-icon {
  transform: rotate(-20deg);
}

.hexagon h4 {
  font-size: 1.3rem;
  color: #ffffff;
  transform: rotate(0deg);
  margin-bottom: 15px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(77, 166, 255, 0.5);
  transition: all 0.4s ease;
}

.hexagon:hover h4 {
  transform: rotate(-20deg);
}

.hexagon p {
  font-size: 0.95rem;
  color: #b3d9ff;
  transform: rotate(0deg);
  line-height: 1.5;
  max-width: 150px;
  transition: all 0.4s ease;
}

.hexagon:hover p {
  transform: rotate(-20deg);
}




/* Timeline Section */
.timeline {
  padding: 150px 0;
  position: relative;
}

.timeline-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, #4da6ff 10%, #0080ff 50%, #3399ff 90%, transparent);
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 30px rgba(77, 166, 255, 0.6);
  animation: linePulseVertical 3s ease-in-out infinite;
}

@keyframes linePulseVertical {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 40px rgba(77, 166, 255, 0.8);
  }
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  position: relative;
  margin-bottom: 80px;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  /* padding-left: 60px; */
  padding-right: 0;
}

.timeline-content {
  max-width: 480px;
  padding: 45px 40px;
  background: rgba(0, 40, 80, 0.15);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(77, 166, 255, 0.25);
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4da6ff, #0080ff, #3399ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.timeline-content:hover::before {
  transform: scaleX(1);
}

.timeline-content:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 70px rgba(77, 166, 255, 0.4);
  border-color: rgba(77, 166, 255, 0.5);
  background: rgba(0, 40, 80, 0.25);
}

.timeline-dot {
  position: absolute;
  left: 49%;
  top:48%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #4da6ff, #0080ff);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(77, 166, 255, 0.8);
  z-index: 2;
  border: 4px solid rgba(0, 0, 0, 0.8);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(77, 166, 255, 0.8);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 50px rgba(77, 166, 255, 1);
  }
}

.timeline-dot::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(77, 166, 255, 0.3);
  border-radius: 50%;
  animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.timeline-year {
  font-size: 1.6rem;
  color: #4da6ff;
  margin-bottom: 18px;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(77, 166, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-content h4 {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.timeline-content p {
  color: #b3d9ff;
  line-height: 1.8;
  font-size: 1.05rem;
}

.timeline-floating-images {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.floating-img {
  position: absolute;
  width: 420px;
  height: 340px;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(77, 166, 255, 0.3);
  animation: floatingBlink 4s ease-in-out infinite;
  pointer-events: auto;
  transition: transform 0.3s ease;
}

.floating-img:hover {
  transform: scale(1.1) rotate(0deg) !important;
  box-shadow: 0 25px 60px rgba(77, 166, 255, 0.5);
  z-index: 10;
}

@keyframes floatingBlink {
  0%, 100% {
    opacity: 0.7;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  }
  50% {
    opacity: 1;
    box-shadow: 0 20px 50px rgba(77, 166, 255, 0.4);
  }
}

.floating-img-1 {
  top: 18%;
  right: 8%;
  background: linear-gradient(135deg, rgba(77, 166, 255, 0.2), rgba(0, 80, 160, 0.2)),
    url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=600&q=80') center/cover;
  animation-delay: 0s;
  transform: rotate(-6deg);
}

.floating-img-2 {
  top: 45%;
  left: 1%;
  background: linear-gradient(135deg, rgba(0, 128, 255, 0.2), rgba(0, 60, 120, 0.2)),
    url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=600&q=80') center/cover;
  animation-delay: 1.5s;
  transform: rotate(6deg);
}

.floating-img-3 {
  bottom: 12%;
  right: 8%;
  background: linear-gradient(135deg, rgba(51, 153, 255, 0.2), rgba(0, 40, 80, 0.2)),
    url('https://images.unsplash.com/photo-1553877522-43269d4ea984?w=600&q=80') center/cover;
  animation-delay: 3s;
  transform: rotate(-5deg);
}

/* Contact Section */
.contact {
  padding: 150px 0;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-info {
  padding: 60px 40px;
}

.contact-form {
  padding: 50px 40px;
}

.form-group {
  margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background: rgba(0, 40, 80, 0.3);
  border: 1px solid rgba(77, 166, 255, 0.3);
  border-radius: 10px;
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4da6ff;
  box-shadow: 0 0 20px rgba(77, 166, 255, 0.4);
  background: rgba(0, 40, 80, 0.4);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #6699cc;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(45deg, #4da6ff, #0080ff);
  border: none;
  border-radius: 10px;
  color: #000;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(77, 166, 255, 0.5);
}

.contact-info h3 {
  font-size: 2.5rem;
  color: #4da6ff;
  margin-bottom: 30px;
}

.contact-info p {
  font-size: 1.2rem;
  color: #b3d9ff;
  line-height: 1.7;
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 15px;
  color: #4da6ff;
  text-decoration: none;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(77, 166, 255, 0.5);
}

/* Footer */
footer {
  padding: 40px 20px 30px;
  border-top: 1px solid rgba(77, 166, 255, 0.2);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(77, 166, 255, 0.15);
}

.footer-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.footer-section h3 {
  color: #4da6ff;
  font-size: 1.3rem;
  margin-bottom: 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: #b3d9ff;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 12px;
  border-radius: 8px;
  background: rgba(0, 40, 80, 0.2);
  border: 1px solid transparent;
}

.footer-contact-item:hover {
  color: #4da6ff;
  background: rgba(77, 166, 255, 0.1);
  border-color: rgba(77, 166, 255, 0.3);
  transform: translateX(5px);
}

.footer-contact-icon {
  font-size: 1.3rem;
  color: #4da6ff;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-text {
  flex: 1;
}

.footer-contact-label {
  display: block;
  font-size: 0.75rem;
  color: #6699cc;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.footer-contact-value {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #b3d9ff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border-radius: 6px;
  display: inline-block;
}

.footer-links a:hover {
  color: #4da6ff;
  transform: translateX(5px);
}

.footer-company-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-company-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #b3d9ff;
  font-size: 0.9rem;
  background: rgba(0, 40, 80, 0.2);
  border-radius: 6px;
  border: 1px solid rgba(77, 166, 255, 0.15);
}

.footer-company-item strong {
  color: #4da6ff;
  font-weight: 600;
}

.footer-bottom {
  text-align: center;
}

.footer-copyright {
  color: #6699cc;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.footer-design {
  color: #4d7399;
  font-size: 0.85rem;
  margin-top: 5px;
}

.footer-design a {
  color: #4da6ff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-design a:hover {
  color: #0080ff;
  text-shadow: 0 0 8px rgba(77, 166, 255, 0.5);
}

.mxd-pinned-projects {
  position: relative;
  overflow: visible; 
}

.mxd-pinned-projects .row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.mxd-pinned-projects__static {
  position: -webkit-sticky;
  position: sticky;
  top: 120px;
  height: fit-content;
  flex: 0 0 35%;
  max-width: 35%;
  align-self: flex-start;
  z-index: 10;
}

.mxd-pinned-projects__static-inner {
  padding: 40px;
}
.mxd-section-title__descr p br {
  display: block;
}

.mxd-pinned-projects__scroll {
  padding-bottom: 100px;
}


.mxd-section-title__title h2 {
  font-size: clamp(3rem, 8vw, 5rem);
  background: linear-gradient(135deg, #4da6ff 0%, #0080ff 50%, #3399ff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGradient 4s ease infinite;
  margin-bottom: 10px;
  font-weight: 800;
  line-height: 1.1;
}

@keyframes titleGradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.mxd-section-title__descr {
  margin: 10px 0;
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}

.mxd-section-title__descr p {
  font-size: 1.2rem;
  color: #b3d9ff;
  line-height: 1.8;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mxd-section-title__controls {
  margin-top: 40px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
}

.btn-default {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 35px;
  background: linear-gradient(
    135deg,
    rgba(77, 166, 255, 0.2),
    rgba(0, 128, 255, 0.15)
  );
  border: 2px solid rgba(77, 166, 255, 0.4);
  border-radius: 30px;
  color: #4da6ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.btn-default::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(77, 166, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-default:hover::before {
  width: 300px;
  height: 300px;
}

.btn-default:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(77, 166, 255, 0.4);
  border-color: #4da6ff;
}

.btn-caption {
  position: relative;
  z-index: 1;
}

.mxd-pinned-projects__scroll {
  flex: 0 0 60%;
  max-width: 60%;
}

.mxd-pinned-projects__scroll-inner {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 40px 0;
}

.mxd-project-item {
  opacity: 0;
  transform: translateY(80px) scale(0.95);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.mxd-project-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}


.mxd-project-item__media {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  margin-bottom: 25px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.mxd-project-item__preview {
  height: 450px;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.mxd-project-item__preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(77, 166, 255, 0.1),
    rgba(0, 128, 255, 0.1)
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.mxd-section-title .row {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mxd-section-title .col-12 {
  width: 100%;
}

.mxd-section-title__title {
  margin-bottom: 0;
}

.mxd-section-title__descr {
  margin: 0;
}

.mxd-section-title__controls {
  margin-top: 0;
}

.mxd-project-item__media:hover .mxd-project-item__preview::before {
  opacity: 1;
}

.mxd-project-item__media:hover .mxd-project-item__preview {
  transform: scale(1.08);
}

.mxd-project-item__media:hover {
  box-shadow: 0 25px 60px rgba(77, 166, 255, 0.3);
}

.reveal-type {
  font-size: 3rem;
  text-transform: uppercase;
}

/* Project preview images */
.preview-image-2 {
  background: linear-gradient(
      135deg,
      rgba(77, 166, 255, 0.2),
      rgba(0, 80, 160, 0.2)
    ),
    url('./images//qs.png') center/cover;
}

.preview-image-1 {
  background: linear-gradient(
      135deg,
      rgba(0, 128, 255, 0.2),
      rgba(0, 60, 120, 0.2)
    ),
    url('./images//infine.png') center/cover;
}

.preview-image-3 {
  background: linear-gradient(
      135deg,
      rgba(51, 153, 255, 0.2),
      rgba(0, 40, 80, 0.2)
    ),
    url('./images/olivera.png') center/cover;
}

.preview-image-4 {
  background: linear-gradient(
      135deg,
      rgba(102, 178, 255, 0.2),
      rgba(0, 50, 100, 0.2)
    ),
    url('./images/lapcoffee.png') center/cover;
}

.mxd-project-item__tags {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  z-index: 2;
}

.tag {
  padding: 8px 18px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(77, 166, 255, 0.4);
  border-radius: 20px;
  color: #4da6ff;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tag:hover {
  background: rgba(77, 166, 255, 0.2);
  border-color: #4da6ff;
  transform: translateY(-2px);
}

.mxd-project-item__promo {
  padding: 0 10px;
}

.mxd-project-item__name a {
  font-size: 1.8rem;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.4;
  display: block;
  transition: all 0.3s ease;
}

.mxd-project-item__name a span {
  background: linear-gradient(135deg, #4da6ff, #0080ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.mxd-project-item__name a:hover {
  transform: translateX(10px);
  color: #4da6ff;
}

/* Responsive
@media (max-width: 1200px) {
  .mxd-pinned-projects__static {
    flex: 0 0 40%;
    max-width: 40%;
  }

  .mxd-pinned-projects__scroll {
    flex: 0 0 55%;
    max-width: 55%;
  }
} */

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .feature-row {
    flex-direction: column;
    gap: 40px;
    min-height: 720px;
  }

  .feature-row:nth-child(even) {
    flex-direction: column;
  }

  .feature-content {
    flex: 0;
  }

  .feature-visual {
    height: 250px;
    width: 100%;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline-line {
    left: 30px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 80px;
    padding-right: 0;
  }

  .timeline-dot {
    left: 2px;
    
  }

  .timeline-content {
    max-width: 100%;
  }
}

@media (max-width: 1000px) {

   .nav-links {
    display: none;
  }

  .compact-menu-btn {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .compact-dropdown {
    display: none !important;
  }

    .mxd-pinned-projects__static {
    position: relative;
    top: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mxd-pinned-projects .row {
    flex-direction: column;
    gap: 40px;
  }

  .mxd-pinned-projects__static,
  .mxd-pinned-projects__scroll {
    position: static;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .mxd-section-title__title h2 {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }

  .mxd-project-item__preview {
    height: 350px;
  }

  .mxd-pinned-projects__scroll-inner {
    gap: 60px;
  }

  .hexagon-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(77, 166, 255, 0.15), rgba(0, 128, 255, 0.1)),
    url('https://images.unsplash.com/photo-1551434678-e076c223a692?w=800&q=80') center/cover;
  background-blend-mode: overlay;
  border-radius: 10%;
  z-index: 0;
  opacity: 0.3;
  filter: blur(2px);
  animation: floatRotate 20s ease-in-out infinite;
}

}

@media (max-width: 768px) {

    header {
    padding: 15px 20px;
  }

  .floating-img-2 {
    width: 200px;

  }

  header.scrolled .logo {
  font-size: large;
}

.logo {
  font-size: small;
}

.logo-icon {
  width: 30px;
  height: 30px;
  /* filter: drop-shadow(0 0 10px #4da6ff); */
}

  .footer-contact-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }


  header.scrolled {
    padding: 12px 20px;
  }
  .hero-content {
    padding: 40px 20px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

  .hero-description p {
    font-size: 1.1rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px auto 35px;
  }

  .hero-stat {
    padding: 15px;
  }

  .hero-stat-number {
    font-size: 1.5rem;
  }

  .hero-subtitle::before,
  .hero-subtitle::after {
    width: 25px;
  }

  .hero-subtitle::before {
    left: -35px;
  }

  .hero-subtitle::after {
    right: -35px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .cta-button {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .hexagon {
    width: 280px;
    height: 320px;
    margin: 30px auto;
  }

  .hexagon-inner {
    padding: 10px 15px;
  }

  .hexagon-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
  }

  .hexagon h4 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .hexagon p {
    font-size: 1.1rem;
    max-width: 200px;
    line-height: 1.6;
  }

  .hexagon-container {
    gap: 20px;
  }

  .section-title {
    margin-bottom: 60px;
  }

  .features,
  .timeline,
  .contact {
    padding: 80px 0;
  }

  .timeline {
    padding: 60px 0;
  }

  .footer-links {
    gap: 20px;
    margin-bottom: 25px;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .mxd-block {
    padding: 40px ;
  }

  .mxd-project-item__preview {
    height: 280px;
  }

  .mxd-project-item__name a {
    font-size: 1.4rem;
  }

  .mxd-pinned-projects__static-inner {
    padding: 20px;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.8);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #4da6ff, #0080ff);
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(77, 166, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #0080ff, #3399ff);
  box-shadow: 0 0 15px rgba(77, 166, 255, 0.7);
}
