.jl-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 156.7px);
  min-height: calc(100vh - 156.7px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.jl-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.jl-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: linear-gradient(
    135deg,
    #1b4f5f 0%,
    #256d85 25%,
    #2c819c 50%,
    #1e5c71 75%,
    #143f4c 100%
  );

  background-size: 400% 400%;
  animation: gradientShift 18s ease infinite;

  /* gør teksten mere læsbar */
  opacity: 0.95;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.jl-particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.jl-particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

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

.jl-shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.jl-shape-1 {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  top: 20%;
  left: 10%;
  animation: floatShape 8s ease-in-out infinite;
}

.jl-shape-2 {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 15%;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation: floatShape 10s ease-in-out infinite reverse;
}

.jl-shape-3 {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  top: 30%;
  right: 20%;
  animation: floatShape 12s ease-in-out infinite;
}

.jl-shape-4 {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  bottom: 30%;
  left: 20%;
  animation: floatShape 7s ease-in-out infinite;
}

.jl-shape-5 {
  width: 70px;
  height: 70px;
  bottom: 20%;
  right: 30%;
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  animation: floatShape 9s ease-in-out infinite reverse;
}

.jl-shape-6 {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  top: 70%;
  left: 70%;
  animation: floatShape 11s ease-in-out infinite;
}

@keyframes floatShape {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-30px) rotate(180deg) scale(1.1);
    opacity: 1;
  }
}

/* Hero Content */
.jl-hero-content {
  position: relative;
  z-index: 10;
  display: block;
  max-width: 1400px;
  width: 100%;
  padding: 0 2rem;
  align-items: center;
}

.jl-hero-text {
  color: white;
  max-width: 980px;
  width: 100%;
}

.jl-hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.jl-title-line {
  display: block;
  color: #fff;
  transform: translateY(100%);
  animation: slideUp 1s ease-out forwards;
}

.jl-title-line:nth-child(2) {
  animation-delay: 0.2s;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}

.jl-hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.5s forwards;
  color: rgba(255, 255, 255, 0.8);
}

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

.jl-hero-buttons {
  display: flex;
  gap: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.8s forwards;
}

.jl-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.jl-btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.jl-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.jl-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.jl-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Hero Visual */
.jl-hero-visual {
  display: none;
  justify-content: center;
  align-items: center;
  position: relative;
}

.jl-central-orb {
  position: relative;
  width: 300px;
  height: 300px;
  transition: transform 0.3s ease;
}

.jl-central-orb:hover {
  transform: scale(1.05);
}

.jl-orb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #fff, #667eea);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.5);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.5);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 80px rgba(255, 255, 255, 0.8);
  }
}

.jl-orb-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.jl-ring-1 {
  width: 150px;
  height: 150px;
  animation: rotate 10s linear infinite;
}

.jl-ring-2 {
  width: 200px;
  height: 200px;
  animation: rotate 15s linear infinite reverse;
}

.jl-ring-3 {
  width: 250px;
  height: 250px;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Scroll Indicator */
.jl-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  z-index: 10;
  animation: bounce 2s infinite;
}

.jl-scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
  margin-bottom: 0.5rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {

  .jl-hero {
    height: auto;
    min-height: calc(100vh - 156px);
    padding: 60px 0;
  }

  .jl-hero-content {
    text-align: center;
    padding: 0 1.5rem;
  }

  .jl-hero-text {
    max-width: 100%;
    margin: 0 auto;
  }

  .jl-hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    text-wrap: balance;
  }

  .jl-title-line {
    transform: none;
    animation: none;
  }

  .jl-hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .jl-central-orb {
    width: 200px;
    height: 200px;
  }

  .jl-orb-core {
    width: 70px;
    height: 70px;
  }

  .jl-ring-1 {
    width: 100px;
    height: 100px;
  }

  .jl-ring-2 {
    width: 130px;
    height: 130px;
  }

  .jl-ring-3 {
    width: 160px;
    height: 160px;
  }

  .jl-hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .jl-btn {
    width: 220px;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

}

/* Small phones */
@media (max-width: 480px) {

  .jl-hero {
    padding: 50px 0;
  }

  .jl-hero-title {
    font-size: 1.9rem;
    line-height: 1.25;
  }

  .jl-hero-description {
    font-size: 0.95rem;
  }

  .jl-hero-content {
    padding: 0 1rem;
  }

  .jl-btn {
    width: 100%;
    max-width: 260px;
  }

}

/* Force full width hero container */
#jl-hero-container {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Remove Avada width limit */
#jl-hero-container .fusion-row {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Remove Avada column spacing */
#jl-hero-container .fusion-layout-column {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Ensure hero stretches full width */
#jl-hero-container .jl-hero {
  width: 100%;
}