* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
  font-family: 'Inter', sans-serif;
  color: #fff;
  background-image: url(/Assets/IMG/blackrender2.jpg);
  line-height: 1.6;
  overflow-x: hidden;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}


body::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.535);
  z-index: 1;
  pointer-events: none; 
}

.main-content {
  position: relative;
  z-index: 2; 
}


a {
  color: inherit;
  text-decoration: none;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 85px;
  height: 85px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #3d3d3d8c;
  color: #000000;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border-bottom-right-radius: 20px;
  z-index: 1000;
}

.navbar2 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  position: fixed;
  top: 0;
  right: 0;
  color: #000000;
  padding: 1rem 2rem;
  border-top-left-radius: 20px;
  z-index: 1000;
}

.reviews-link-fixed {
  position: fixed;
  top: 22px;
  right: 90px;      /* 80px för navbar2 + 10px mellanrum */
  z-index: 1001;    /* över hamburgaren */
}

.reviews-link-fixed a {
  color: #ffffff;
  box-shadow: 0 0 3px rgb(182, 182, 182);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  font-size: 0.8rem;
  background: rgba(43, 43, 43, 0.727);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  transition: transform 0.3s, background 0.3s;
}

.reviews-link-fixed a:hover,
.reviews-link-fixed a:focus {
  background: rgba(77, 77, 77, 0.727);
  outline: none;
  cursor: pointer;
}


.logo {
  font-size: 1.5rem;
  font-weight: 800;
}

.logo img {
  display: block;
}

.logo2 img {
  height: 60px;
  width: 60px;
  display: block;
}








.hero {
  position: relative;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.coverOne {
  position: relative;
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding-top: 60px;
}

@media (max-width: 767px) {
  .coverOne {
    min-height: calc(100vh - 60px);
    padding-top: calc(30vh + 60px);
  }
}

@media (min-width: 1200px) {
  .cards {
    width: 700px;
  }
}




.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 0 2rem;
}

h3.neon-text {
  font-size: 1.2rem;
}

h1.neon-text {
  font-size: 2rem;
  margin-bottom: 40px;
  margin-top: 40px;
}

h1.neon-text span {
  display: inline-block;
  opacity: 0;
  animation: neonPianoGlow 1s ease-out forwards;
  animation-delay: calc(var(--char-index) * 0.1s);
}

@keyframes neonPianoGlow {
  0% {
    text-shadow: none;
    opacity: 0;
  }
  30% {
    text-shadow:
      0 0 5px #00eaff,
      0 0 10px #00eaff,
      0 0 20px #00eaff,
      0 0 40px #0040ff,
      0 0 80px #0077ff;
    opacity: 1;
  }
  100% {
    text-shadow: none;
    opacity: 1;
  }
}

p.neon-text {
  font-size: 1.4rem;
}


.hero-content h1 {
  font-size: 2.39rem;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease forwards;
}

.hero-content p {
  font-size: 21px;
  margin-bottom: 2rem;
  animation: fadeInUp 1.2s ease forwards;
}


.btn {
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 10px;
  background-color: #4187ff;
  transition: background-color 0.5s ease;
}

.btn:hover {
  background-color: #1e417d;
}

.btn span {
  display: inline-block;
  transition: text-shadow 0.3s ease;
}

.btn:hover span {
  animation: neonWaveStep 1.5s ease-in-out forwards;
  animation-delay: calc(var(--char-index) * 0.05s);
}

.btn+.btn {
  margin-left: 1rem;
}

.btn2 {
  background: #4187ff;
  font-size: 15px;
  color: #ffffff;
  margin-top: 15px;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  border-radius: 5px;
  transition: transform 0.3s, background 0.3s;
  display: inline-block;
}

.btn2:hover {
  background-color: #1e417d;
  transform: scale(1.05);
}

.btn3 {
  background: #4187ff;
  font-size: 15px;
  color: #ffffff;
  margin-top: 15px;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  border-radius: 5px;
  transition: transform 0.3s, background 0.3s;
  display: inline-block;
  text-align: left;
  width: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.btn3:hover {
  background: #2156b1;
  transform: scale(1.05);
}

.btn3-container {
  white-space: normal;
  text-align: left;
}



.section-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

.section .section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}



.section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

#services {
  background-image: url('/Assets/IMG/.jpg');
}

#foretaget {
  background-image: url('/Assets/IMG/.jpg');
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section>* {
  position: relative;
  z-index: 2;
}

.section h2 {
  font-size: 1.4rem;
}



.profile-container {
  display: flex;
  justify-content: left;
  margin-bottom: 1rem;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 10%;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.403);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.card {
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  flex: 1 1 250px;
  max-width: 300px;
  color: white;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00eaff, 0 0 40px #0040ff, 0 0 60px #0077ff;
}

.card.hover-simulated {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00eaff, 0 0 40px #0040ff, 0 0 60px #0077ff;
}


.neon-wrapper {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.neon-wrapper::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  z-index: -1;
  border-radius: 18px;
  background: linear-gradient(270deg, #00eaff, #0077ff, #0040ff, #00eaff);
  background-size: 300% 300%;
  animation: borderGlow 8s ease-in-out infinite;
  filter: blur(5px) brightness(1.2);
  opacity: 0.45;
  pointer-events: none;
}


@keyframes borderGlow {
  0% {
    background-position: 0% 50%;
  }

  25% {
    background-position: 50% 60%;
  }

  50% {
    background-position: 100% 50%;
  }

  75% {
    background-position: 50% 40%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.link-card {
  background: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  border: none;
  cursor: pointer;
  background-color: transparent !important;
}

.link-card p {
  color: #007BFF;
  text-decoration: underline;
  font-weight: normal;
  background-color: transparent;
}

.link-card:hover {
  box-shadow: none !important;
  background-color: transparent !important;
}

.spacer100 {
  height: 100px;
  width: 100%;
}

.spacer30 {
  height: 30px;
  width: 100%;
}

.spacer10 {
  height: 10px;
  width: 100%;
}

.spacer1 {
  height: 1px;
  width: 100%;
}

.footer {
  text-align: center;
  padding: 2rem;
  background-color: #1f1f1f;
  border-top: 0.5px;
  border-top-style: solid;
  border-color: rgb(98, 98, 98);
  font-size: 0.9rem;
  color: #9d9d9d;
}

.footer a {
  color: #9d9d9d;
  text-decoration: underline;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px #00ffff;
  }

  to {
    text-shadow: 0 0 20px #00ffff, 0 0 30px #00ffff;
  }
}

.animate-fade p {
  margin-top: 0px;
}

.animate-fade h1 {
  margin-bottom: 0px;
}

.animate-fade {
  animation: fadeInDown 1s ease forwards;
}

.animate-up {
  animation: fadeInUp 1s ease-in-out forwards;
}

.animate-pop {
  animation: popIn 0.8s ease forwards;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}




.hidden {
  display: none;
  visibility: hidden;
}


.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transition: opacity 0.3s ease;
}

.custom-modal:not(.hidden) .popup-content {
  position: absolute;
  top: 80px;
  right: 30px;
  background: rgba(43, 43, 43, 0.727);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 3px rgb(182, 182, 182);
  padding: 2rem;
  border-radius: 12px;
  max-width: 300px;
  width: auto;
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
  max-height: 60vh;
  transform-origin: top right;
}





.custom-modal .popup-content a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0;
  transition: color 0.3s ease;
  color: inherit;
  text-decoration: none;
  position: relative;
  width: fit-content;
}

.custom-modal .popup-content a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.custom-modal .popup-content a:hover::after,
.custom-modal .popup-content a:focus::after {
  transform: scaleX(1);
}






.custom-modal {
  font-size: 17px;
  margin-bottom: 10px;
  margin-top: 10px;
  text-align: left;
}

.custom-modal .vit-linje {
  width: 70%;
}

.custom-modal h3 {
  font-size: 25px;
  margin-bottom: 10px;
  margin-top: 10px;
  text-align: center;
}

#call-modal-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

#call-modal-links a {
  font-size: 3rem;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}


#modal-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

#modal-links a {
  font-size: 3rem;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

#modal-links a:hover {
  transform: scale(1.2);
  color: #4187ff;
}




.hamburger {
  width: 40px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

#menuPopup {
  margin-top: 0;
}




.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  background: rgba(43, 43, 43, 0.727);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 3px rgb(182, 182, 182);
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
  max-height: 50%;
}

ul {
  padding-left: 1.5rem;
}

li {
  position: relative;
}


.expandable-container {
  max-width: 600px;
  margin: 0 auto;
  font-family: sans-serif;
}

.expandable-text {
  line-height: 1.6;
}

.more-text {
  display: none;
}

.expand-toggle {
  background: none;
  border: none;
  color: #4187ff;
  cursor: pointer;
  font-weight: bold;
  padding: 0;
  margin-top: 10px;
  margin-bottom: 10px;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .popup-content {
    max-height: 50%;
    max-width: 90%;

  }
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}





.neon-text {
  display: inline-block;
  font-size: 3rem;
  font-weight: bold;
  position: relative;
  word-break: break-word;
}

.neon-text span {
  display: inline-block;
  transition: text-shadow 0.3s ease;
}

.neon-text span:hover {
  text-shadow: 0 0 5px #00eaff, 0 0 10px #00eaff, 0 0 20px #00eaff, 0 0 40px #0040ff, 0 0 80px #0077ff, 0 0 90px #0077ff, 0 0 100px #0077ff;
}


.second-neon span {
  display: inline-block;
  transition: text-shadow 0.3s ease;
}

.card:hover .second-neon span {
  animation: neonWaveStep 1.5s ease-in-out forwards;
  animation-delay: calc(var(--char-index) * 0.05s);
}

@keyframes neonWaveStep {

  0%,
  100% {
    text-shadow: none;
    opacity: 1;
  }

  40% {
    text-shadow:
      0 0 5px #00eaff,
      0 0 10px #00eaff,
      0 0 20px #00eaff,
      0 0 40px #0040ff,
      0 0 80px #0077ff;
    opacity: 1;
  }

  60% {
    text-shadow: none;
    opacity: 1;
  }
}







.theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background-color: #222;
  color: #fff;
  padding: 0.5rem 0.7rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  z-index: 1500;
  transition: background 0.3s, color 0.3s;
}

body.light .theme-toggle {
  background-color: #eee;
  color: #111;
}



.vit-linje {
  height: 1px;
  background-color: white;
  width: 35%;
  margin: 1rem 0;
}

.link-icon {
  display: inline-flex;
  margin-top: 10px;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  gap: 8px;
}

.link-icon img {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.link-icon:hover img {
  transform: scale(1.1);
}


.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: 2px solid #00eaff;
  color: #00eaff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 234, 255, 0.5);
}

.contact-btn:hover,
.contact-btn:focus {
  background-color: #00eaff;
  color: #111;
  box-shadow: 0 0 15px #00eaff, 0 0 30px #0077ff;
  outline: none;
}

.contact-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}










.profile-image img {
  width: 120px;
  height: 120px;
  top: 1;
  left: 1;
  object-fit: cover;
  border-radius: 15%;
  margin-bottom: 1rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.role {
  color: #ccc;
  font-size: 0.95rem;
  margin: 0.5rem 0 1rem;
}

.coverOne .vit-linje {
  width: 100%;
  margin-top: 5px;
}

.coverOne a {
  font-size: 15px;
}









/* För formuläret */
.contact-form {
  border-radius: 8px;
  max-width: 250px;
}

.contact-form .neon-text {
  font-size: 15px;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  font-size: 16px;
  border-width: 0;
}

.contact-form button {
  width: 100%;
  padding: 10px;
  background-color: #4187ff;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #2156b1;
}

#g-recaptcha {
  margin-bottom: 20px;
  z-index: 0;
}

#responseMessage {
  font-size: 16px;
  color: green; /* Kan vara annan färg beroende på din design */
  margin-top: 10px;
}

