@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&family=Playfair+Display:ital,wght@0,700;0,800;0,900;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ── THE MASTERPIECE DESIGN SYSTEM ── */
:root {
  /* Colors */
  --navy: #1a2744;
  --navy-dark: #0d1f45;
  --navy-black: #050c1b;
  --orange: #e87722;
  --orange-light: #ff8e3c;
  --blue: #3b6fd4;
  --blue-light: #dce8f8;
  --bg-light: #f0f6ff;
  --white: #ffffff;
  --gray: #6b7a99;
  --text: #1a2744;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-card: rgba(255, 255, 255, 0.85);

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(26, 39, 68, 0.05);
  --shadow-md: 0 10px 30px rgba(26, 39, 68, 0.08);
  --shadow-lg: 0 20px 40px rgba(26, 39, 68, 0.12);
  --shadow-xl: 0 30px 60px rgba(26, 39, 68, 0.18);
  --glow-blue: 0 0 30px rgba(59, 111, 212, 0.35);
  --glow-orange: 0 0 30px rgba(232, 119, 34, 0.35);
  --glow-white: 0 0 35px rgba(255, 255, 255, 0.55), 0 0 18px rgba(255, 255, 255, 0.35);

  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'DM Sans', sans-serif;
  --font-tech: 'Plus Jakarta Sans', sans-serif;

  /* Spacing & Transitions */
  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
}

/* Anchor scroll offsets to prevent navbar overlap */
#about-stanora,
#journey,
#why-germany,
#catalog,
#squads,
#individual-talent,
#calculator,
#core-solutions,
#web-ai,
footer {
  scroll-margin-top: 50px;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--navy-dark);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--blue);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2%;
  width: 100%;
}

.section-header {
  text-align: center;
}

.section-padding {
  padding: 30px 0;
  position: relative;
}

/* ── PARALLAX SCROLLING BACKGROUNDS ── */
.parallax-bg {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

/* Overlay for parallax layers */
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 31, 69, 0.95) 0%, rgba(5, 12, 27, 0.98) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Floating Particle Canvas */
.particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* ── NAVBAR (GLASSMORPHISM) ── */
nav {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--navy-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: all var(--transition-normal);
}

nav.scrolled {
  height: 72px;
  background: var(--navy-dark);
  box-shadow: var(--shadow-md);
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo span.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  display: inline-block;
}

.logo span.orange-text {
  color: var(--orange);
}

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

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  position: relative;
  padding-bottom: 6px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2.5px;
  background-color: var(--orange-light);
  border-radius: 2px;
  transition: transform var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange-light);
}

.btn-register {
  background: var(--orange);
  color: #fff !important;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 2px solid var(--orange);
}

.btn-register:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: var(--glow-orange);
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 3px;
  transition: all var(--transition-normal);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background: var(--orange);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background: var(--orange);
}

/* ── HERO SECTION (MASTERPIECE DARK THEME) ── */
.hero {
  padding: 40px 0;
  background-color: var(--navy-black);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-bg-circle {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 111, 212, 0.22) 0%, transparent 70%);
  animation: pulse-bg 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes pulse-bg {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* Diagonal background lines */
.dashed-line {
  position: absolute;
  width: 2px;
  height: 100%;
  border-left: 2.5px dashed rgba(100, 130, 200, 0.2);
  top: 0;
  pointer-events: none;
}

.dashed-line-1 { left: 20%; transform: rotate(15deg); }
.dashed-line-2 { left: 40%; transform: rotate(15deg); }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-title {
  font-family: var(--font-tech);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-title .orange-text {
  color: var(--orange);
  background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 35px;
  max-width: 540px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.btn-primary {
  background: var(--orange);
  color: #ffffff;
  border: 2px solid var(--orange);
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: var(--glow-orange);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.btn-outline:hover {
  background: #ffffff;
  color: var(--navy-dark);
  transform: translateY(-2px);
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.feat-item svg {
  width: 22px;
  height: 22px;
  color: var(--orange);
  flex-shrink: 0;
}

/* Hero Right: Tech Globe & Floating Cards */
.hero-right {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bannerrightimag {
  width: 460px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 15px 35px rgba(59, 111, 212, 0.25));
  animation: float-illustration 6s ease-in-out infinite;
}

@keyframes float-illustration {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Stat Cards (Floating over Hero) */
.stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  min-width: 190px;
  z-index: 10;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-xl);
  border-color: rgba(59, 111, 212, 0.4);
  background: rgba(255, 255, 255, 0.97);
}

.stat-card .stat-label {
  font-size: 0.72rem;
  color: #3e4e6c;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card .stat-label svg {
  width: 14px;
  height: 14px;
  color: var(--blue);
}

.stat-card .stat-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.stat-card .stat-sub {
  font-size: 0.75rem;
  color: #4b5a75;
  margin-top: 4px;
  line-height: 1.35;
  font-weight: 600;
}

.card-1 {
  top: 10px;
  right: 25px;
  animation: float-1 4.5s ease-in-out infinite;
}

.card-2 {
  top: 180px;
  right: -15px;
  animation: float-2 5.5s ease-in-out infinite;
}

.card-3 {
  bottom: 60px;
  right: 20px;
  animation: float-3 5s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes float-2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes float-3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── INTERACTIVE SPOTLIGHT GLASS CARDS ── */
.spotlight-grid {
  display: grid;
  padding-top: 20px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.spotlight-card {
  background: var(--glass-card);
  border: 1.5px solid rgba(59, 111, 212, 0.12);
  border-radius: 30px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

/* Hover Spotlight Gradient element */
.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(59, 111, 212, 0.12), transparent 40%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.spotlight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 111, 212, 0.3);
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-icon-box {
  width: 64px;
  height: 64px;
  background-color: var(--bg-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--blue);
  transition: all var(--transition-fast);
}

.spotlight-card:hover .spotlight-icon-box {
  background-color: var(--blue);
  color: var(--white);
  transform: scale(1.05) rotate(5deg);
  box-shadow: var(--glow-blue);
}

.spotlight-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--navy);
}

.spotlight-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 24px;
}

.spotlight-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.spotlight-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.spotlight-features li svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
}

.spotlight-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
}

.spotlight-learn-more svg {
  transition: transform var(--transition-fast);
}

.spotlight-card:hover .spotlight-learn-more svg {
  transform: translateX(4px);
}

/* ── STICKY TIMELINE (JOURNEY STORY) ── */
.journey-section {
  background: var(--white);
  position: relative;
  padding: 20px 0;
}

.journey-scroll-story {
  position: relative;
  height: 320vh;
  padding: 10px;
}

.journey-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
}

.tree-layout {
  position: relative;
  width: 100%;
  height: 85vh;
  max-height: 800px;
  margin: 0 auto;
}

.tree-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.tree-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  /* SVG Tree details */
}

#tree-svg {
  width: 320px;
  overflow: visible;
}

#tree-svg path,
#tree-svg ellipse,
#tree-svg circle {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 0.05s linear;
}

/* Timeline Cards positions */
#step-1 { top: 76%; right: 0; left: auto; }
#step-3 { top: 40%; right: 0; left: auto; }
#step-5 { top: 4%; right: 0; left: auto; }
#step-2 { top: 58%; left: 0; right: auto; }
#step-4 { top: 22%; left: 0; right: auto; }

.journey-step {
  position: absolute;
  width: 35%;
  z-index: 5;
  opacity: 0;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

#step-1, #step-3, #step-5 { transform: translateX(50px); }
#step-2, #step-4 { transform: translateX(-50px); }

.journey-step.visible {
  opacity: 1;
  transform: translateX(0);
}

.step-card {
  background: var(--white);
  border: 1.5px solid rgba(59, 111, 212, 0.12);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

#step-2 .step-card,
#step-4 .step-card {
  border-radius: 24px 24px 0px 24px; /* points toward center */
}
#step-1 .step-card,
#step-3 .step-card,
#step-5 .step-card {
  border-radius: 24px 24px 24px 0px; /* points toward center */
}

/* Floating step cards when visible */
.journey-step.visible#step-1 .step-card { animation: float-1 5s ease-in-out infinite; }
.journey-step.visible#step-2 .step-card { animation: float-2 5s ease-in-out 0.5s infinite; }
.journey-step.visible#step-3 .step-card { animation: float-3 5s ease-in-out 1s infinite; }
.journey-step.visible#step-4 .step-card { animation: float-1 5s ease-in-out 1.5s infinite; }
.journey-step.visible#step-5 .step-card { animation: float-2 5s ease-in-out 2s infinite; }

.journey-step .step-card:hover {
  animation-play-state: paused !important;
  box-shadow: var(--shadow-xl);
  border-color: rgba(59, 111, 212, 0.3);
}

.step-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-bottom: 8px;
  background: var(--bg-light);
  color: var(--blue);
}

.step-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.45;
}

/* ── SOLUTIONS & DEVOPS CAPABILITY SECTIONS ── */
.window-section-wrapper {
  background: linear-gradient(135deg, rgba(59, 111, 212, 0.94) 0%, rgba(12, 35, 84, 0.98) 100%);
  width: 100%;
  position: relative;
  z-index: 2;
}

.window-section {
  padding: 30px 3%;
  max-width: 1200px;
  margin: 0 auto;
}

.window-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.window-text h2 {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}

.window-text p.window-subtitle {
  color: #edf5ff;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 30px;
}

.window-info-box {
  background: rgba(13, 31, 69, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 5;
}

.window-info-box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.window-info-box p.info-box-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.window-features-new {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.feature-item-new {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon-new {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #ffffff;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-icon-new svg {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
  fill: none;
}

.feature-content-new {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.feature-title-new {
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
}

.feature-desc-new {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
}

.window-right {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
}

.window-main-img {
  width: 100%;
  max-width: 480px;
  z-index: 2;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.3));
}

.window-watermark {
  position: absolute;
  top: 10%;
  right: 0;
  font-family: var(--font-tech);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  text-align: right;
  letter-spacing: 4px;
  z-index: 1;
  pointer-events: none;
  text-transform: uppercase;
}

/* ── WHY CHOOSE US (WHY GERMANY ADAPTATION) ── */
.why-section {
  background: var(--bg-light);
  padding: 100px 0;
}

.germany-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.germany-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 30px;
  border: 1.5px solid rgba(59, 111, 212, 0.08);
  text-align: center;
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.germany-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.germany-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 111, 212, 0.2);
}

.g-icon {
  font-size: 2.5rem;
  margin-bottom: 24px;
  display: block;
}

.g-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.g-desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.g-divider {
  height: 1.5px;
  background: linear-gradient(to right, transparent, rgba(59, 111, 212, 0.2), transparent);
  margin-bottom: 16px;
}

.g-tag {
  font-size: 0.88rem;
  color: var(--blue);
  font-weight: 700;
}

/* ── PRODUCTS GRID & FILTER TABS ── */
.products-filter-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--white);
  border: 1.5px solid rgba(59, 111, 212, 0.15);
  color: var(--navy);
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  background: var(--bg-light);
  color: var(--blue);
  border-color: var(--blue);
}

.filter-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: var(--glow-blue);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1.5px solid rgba(59, 111, 212, 0.12);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 111, 212, 0.25);
}

.product-header-illustration {
  height: 220px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-black) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.product-header-illustration::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(59, 111, 212, 0.25) 0%, transparent 70%);
  z-index: 1;
}

.product-header-illustration img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  transition: transform var(--transition-normal);
}

.product-card:hover .product-header-illustration img {
  transform: scale(1.05);
}

.product-badge-type {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(232, 119, 34, 0.95);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.product-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-body h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--navy);
}

.product-body p {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 24px;
  line-height: 1.6;
}

.product-tech-stack {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.tech-badge {
  background: var(--bg-light);
  color: var(--blue);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
}

.product-footer {
  border-top: 1.5px solid var(--bg-light);
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price-tag {
  display: flex;
  flex-direction: column;
}

.product-price-label {
  font-size: 0.72rem;
  color: var(--gray);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.product-price span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray);
}

/* ── TEAM SQUADS & TALENT POOLS ── */
.squads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.squad-card {
  background: var(--white);
  border: 1.5px solid rgba(59, 111, 212, 0.12);
  border-radius: 28px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.squad-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 111, 212, 0.25);
}

.squad-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.squad-title h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--navy);
}

.squad-title p {
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.squad-availability {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
  background: #ecfdf5;
  padding: 6px 12px;
  border-radius: 20px;
}

.availability-dot {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulse-status 1.5s infinite;
}

@keyframes pulse-status {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.5; }
}

.squad-members-teaser {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-light);
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 28px;
}

.member-teaser-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.member-teaser-icon {
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.member-teaser-info {
  font-size: 0.88rem;
  color: var(--gray);
}

.member-teaser-info strong {
  color: var(--navy-dark);
}

.squad-skills-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.squad-skills-tags span {
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--white);
  color: var(--gray);
  border: 1.5px solid rgba(13, 31, 69, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
}

.squad-cta {
  margin-top: auto;
  width: 100%;
}

/* Talent Cards */
.talent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 30px;
  padding-top: 20px;
}

.talent-card {
  background: var(--white);
  border: 1.5px solid rgba(59, 111, 212, 0.1);
  border-radius: 20px;
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.talent-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 111, 212, 0.2);
}

.talent-avatar-box {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  position: relative;
}

.talent-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-light, #162d5e) 0%, var(--blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-tech);
}

.talent-badge-status {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  border: 3.5px solid var(--white);
}

.talent-card h4 {
  font-size: 1.25rem;
  margin-bottom: 4px;
  color: var(--navy);
}

.talent-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.talent-meta-info {
  display: flex;
  justify-content: space-around;
  font-size: 0.8rem;
  border-top: 1.5px solid var(--bg-light);
  border-bottom: 1.5px solid var(--bg-light);
  padding: 12px 0;
  margin-bottom: 18px;
}

.talent-meta-info span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.talent-meta-info span strong {
  color: var(--navy-dark);
}

.talent-skills-list {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}

.talent-skills-list span {
  font-size: 0.75rem;
  background: var(--bg-light);
  color: var(--blue);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
}

/* Dynamic Estimator Widget */
.estimator-box {
  background: var(--navy-black);
  color: var(--white);
  border-radius: 32px;
  padding: 60px;
  box-shadow: var(--shadow-xl);
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
}

.estimator-box h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 12px;
}

.estimator-box p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  position: relative;
  z-index: 3;
}

.estimator-controls {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.control-group label {
  font-weight: 700;
  font-size: 1rem;
}

.slider-container {
  position: relative;
}

.estimator-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.estimator-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  box-shadow: var(--glow-orange);
  transition: transform var(--transition-fast);
}

.estimator-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-value-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.estimator-results {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  backdrop-filter: blur(8px);
}

.est-cost-title {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.est-cost-val {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
}

.est-cost-val span {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

/* ── CONTACT & MULTI-STEP FORMS ── */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-card-item {
  display: flex;
  gap: 20px;
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  border: 1.5px solid rgba(59, 111, 212, 0.08);
  box-shadow: var(--shadow-sm);
}

.contact-item-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-item-details h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
}

.contact-item-details p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--gray);
}

.contact-socials h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--navy);
}

.contact-socials-list {
  display: flex;
  gap: 14px;
}

.contact-social-btn {
  width: 46px;
  height: 46px;
  background: var(--white);
  border: 1.5px solid rgba(59, 111, 212, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.contact-social-btn:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  transform: translateY(-3px) rotate(360deg);
  box-shadow: var(--glow-orange);
}

/* Glassmorphic Contact Form */
.contact-form-box {
  background: var(--white);
  border: 1.5px solid rgba(59, 111, 212, 0.12);
  border-radius: 28px;
  padding: 50px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 15px 20px;
  border-radius: 12px;
  border: 1.5px solid rgba(13, 31, 69, 0.12);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: var(--text);
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(59, 111, 212, 0.15);
}

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

/* FAQ Accordions */
.faq-accordion {
  margin-top: 100px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: var(--white);
  border: 1.5px solid rgba(59, 111, 212, 0.1);
  border-radius: 16px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.faq-header {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform var(--transition-normal);
  color: var(--blue);
}

.faq-item.active {
  border-color: rgba(59, 111, 212, 0.3);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-content {
  padding: 0 30px 24px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray);
}

/* ── FOOTER (INTENSE GLOW) ── */
footer {
  background-color: var(--navy-dark);
  padding: 40px 5% 10px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 30px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
}

/* Glowing Logo Box */
.footer-logo-box {
  padding: 10px 20px;
  border-radius: 10px;
  width: fit-content;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.footer-logo-box:hover {
  transform: scale(1.02);
}

.footer-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.footer-logo-link span.logo-dot {
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
  display: inline-block;
  margin-left: 3px;
}

.footer-logo-link span.orange-text {
  color: var(--orange);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
  max-width: 320px;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-tag {
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.68rem;
  border-radius: 24px;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-3px) rotate(360deg);
  box-shadow: var(--glow-orange);
}

footer h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-icon {
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--blue);
}

.contact-info {
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-info strong {
  color: #fff;
  font-weight: 700;
  display: block;
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.contact-info span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 20px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
  margin-left: 4px;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ── REVEAL ON SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ── FOOTER TOP CTA SECTION ── */
.hero-wrapper {
  border-radius: 24px;
  padding: 30px 50px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
  background: var(--bg-light);
  border: 1.5px solid rgba(59, 111, 212, 0.1);
}

.start-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 3px;
  margin-bottom: 22px;
}

.hero-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-heading .highlight {
  color: var(--orange);
}

.hero-subtext {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.65;
  max-width: 480px;
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-secondary-cta {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 12px;
  padding: 14px 30px;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-secondary-cta:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

/* ── RESPONSIVE OVERRIDES (TABLET & MOBILE) ── */

/* Journey Timeline sticky-scroll overrides for Tablet and Mobile (<= 1024px) */
@media (max-width: 1024px) {
  nav {
    padding: 0 6%;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-badge, .hero-btns, .hero-features {
    justify-content: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-right {
    min-height: 460px;
  }

  .bannerrightimag {
    width: 380px !important;
  }

  .stat-card {
    padding: 10px 14px !important;
    min-width: 160px !important;
  }
  
  .card-1 { top: 10px; left: 15px; right: auto; }
  .card-2 { top: 130px; left: 15px; right: auto; }
  .card-3 { bottom: 40px; left: 15px; right: auto; }

  /* Sticky Timeline disabled for tablet & mobile */
  .journey-scroll-story {
    height: auto !important;
    position: relative;
  }

  .journey-sticky {
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
    background: transparent !important;
    padding: 0 !important;
  }

  .tree-layout {
    height: auto;
    max-height: none;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    padding: 40px 16px !important;
    gap: 30px !important;
  }

  /* Custom Re-ordering based on reference */
  #step-4 { order: 1; }
  #step-2 { order: 2; }
  .tree-container {
    display: flex !important;
    position: relative !important;
    width: 92% !important;
    max-width: 460px !important;
    height: 347px !important;
    z-index: 1 !important;
    pointer-events: none !important;
    justify-content: center !important;
    align-items: center !important;
    order: 3;
    margin: 0 auto !important;
    background: #ffffff !important;
    box-shadow: var(--shadow-lg) !important;
    border: 1.5px solid rgba(59, 111, 212, 0.18) !important;
    border-radius: 20px !important;
    padding: 8px !important;
  }

  .tree-image {
    position: relative !important;
    display: block !important;
    margin: 0 auto !important;
    width: auto !important;
    max-width: 130% !important;
    height: 110% !important;
    transform: scale(1.1);
  }

  #step-5 { order: 4; }
  #step-3 { order: 5; }
  #step-1 { order: 6; }

  .journey-step {
    position: relative !important;
    width: 92% !important;
    max-width: 460px !important;
    left: auto !important;
    right: auto !important;
    margin: 0 auto !important;
    z-index: 5 !important;
    opacity: 0;
    transform: translateY(30px) scale(0.96) !important;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .journey-step.visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
  }

  .journey-step .step-card {
    animation: none !important;
    background: rgba(255, 255, 255, 0.96) !important;
  }

  #step-1 .step-card,
  #step-3 .step-card,
  #step-5 .step-card {
    border-radius: 20px 20px 20px 0px !important;
    border: 2px solid rgba(232, 119, 34, 0.35) !important; /* Premium orange border */
  }
  #step-2 .step-card,
  #step-4 .step-card {
    border-radius: 20px 20px 0px 20px !important;
    border: 2px solid rgba(59, 111, 212, 0.35) !important; /* Premium blue border */
  }

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

  .window-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .window-main-img {
    max-width: 420px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero-wrapper {
    flex-direction: column;
    padding: 50px 40px;
    gap: 30px;
  }
  
  .btn-row {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile responsive menu & layout adjustments (<= 768px) */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    border-bottom: none;
    z-index: 1050;
    box-shadow: var(--shadow-md);
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  }

  .nav-links.open {
    padding: 16px 0 24px;
    max-height: 420px;
    opacity: 1;
    visibility: visible;
    border-bottom: 1.5px solid rgba(59, 111, 212, 0.08);
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(59, 111, 212, 0.05);
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
    width: 100%;
  }

  .nav-links a::after {
    display: none; /* Hide hover underline animation on mobile */
  }

  .nav-links .btn-register {
    width: 80%;
    margin: 15px auto 5px;
    display: block;
    text-align: center;
  }

  .hero {
    padding: 30px 0 !important;
  }

  .hero-inner {
    padding-top: 10px;
    position: relative;
  }

  .hero-title {
    font-size: 28px !important;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 12px;
  }

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

  .hero-left {
    position: relative;
    z-index: 2;
  }

  .hero-right {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.15 !important;
    pointer-events: none;
    min-height: auto !important;
  }

  .hero-img-wrapper {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 0 !important;
  }

  .bannerrightimag {
    width: 100% !important;
    max-width: 320px !important;
    margin-top: 0 !important;
  }

  .stat-card {
    display: none !important;
  }

  .germany-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .germany-card {
    display: grid !important;
    grid-template-columns: 50px 1fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 16px !important;
    row-gap: 4px !important;
    text-align: left !important;
    padding: 24px 20px !important;
    align-items: center !important;
  }

  .g-icon {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    font-size: 2.2rem;
    margin-bottom: 0 !important;
  }

  .g-title {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    margin-bottom: 0 !important;
  }

  .g-desc {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    font-size: 0.88rem !important;
    margin-bottom: 0 !important;
  }

  .g-divider, .g-tag {
    display: none !important; /* Hide on mobile */
  }

  .estimator-box {
    padding: 30px 24px;
    border-radius: 20px;
  }

  .estimator-grid {
    gap: 30px;
  }

  .est-cost-val {
    font-size: 2.4rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-box {
    padding: 30px 20px;
    border-radius: 20px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section-padding {
    padding: 50px 0 !important;
  }

  .container {
    padding: 0 5% !important;
  }

  .spotlight-card {
    padding: 24px !important;
  }

  .hero-wrapper {
    padding: 30px 20px !important;
  }

  .window-section {
    padding: 40px 5% !important;
  }

  footer {
    padding: 40px 5% 20px !important;
  }
}
