.close-btn {
    position: absolute;
    top: 2px;
    right: 7px;
    background: none;
    border: none;
    font-size: 35px;
    line-height: 1;
    cursor: pointer;
    color: #fff;
}

.close-btn:hover {
    text-shadow: 0 0 0.50em #ffdea4, 0 0 0.50em #ffdea4, 0 0 0.50em #ddad5a;
    color: #fff;
}

.relativex {
    position: relative;
}

.contact-modal {
    display: none;  /* Hidden by default */
    position: fixed;
    top: 0; left: 0;
    height: 100%;
    width: 100%;    
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Show modal when active */
.contact-modal.active {
    display: flex !important;
}

/* The actual card – size adapts to content */
.contact-card {
    position: relative;
    background-color: rgba(0,0,0,0.6);
    padding: 25px 40px 25px 40px;
    z-index: 11001;
    border-radius: 0px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    height: 300px;
    width: 475px;
    max-width: 90%;
    animation: fadeInScale 0.3s ease-out;
}

.contact-card {
    box-shadow: 0 0 0.50em #ffdea4, 0 0 0.50em #ffdea4, 0 0 0.50em #ddad5a;
}

.contact-card h2 {
    font-family: 'Orbitron', 'josefin sans';
    font-weight: 300;
    margin: 0 0 12px 0;
    font-size: 2.1rem;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 0.35em #7ae7e7, 0 0 0.35em #7ae7e7, 0 0 0.35em #1b2bae;
}

.egenskaper {
    width: 100%;
    margin: 0 0 24px 0;
    font-family: 'josefin sans', 'poppins';
    font-size: 1.5rem;
    font-weight: 300;
    color: #fff;
    text-shadow: 0 0 0.50em #ffdea4, 0 0 0.50em #ffdea4, 0 0 0.50em #ddad5a;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-link {
    display: inline-block;
    padding: 12px 20px;
    background: transparent;
    font-family: 'josefin sans', 'poppins';
    font-size: 1.4rem;
    color: white;
    text-decoration: none;
    border-radius: 6px;    
    transition: background 0.3s;
    text-shadow: 0 0 0.50em #44e0b7, 0 0 0.50em #44e0b7, 0 0 0.50em #033629;
    box-shadow: 0 0 0.50em #44e0b7, 0 0 0.50em #44e0b7, 0 0 0.50em #033629;
}

.contact-link:hover {
    text-shadow: 0 0 0.50em #ffdea4, 0 0 0.50em #ffdea4, 0 0 0.50em #ddad5a;
    box-shadow: 0 0 0.50em #ffdea4, 0 0 0.50em #ffdea4, 0 0 0.50em #ddad5a;
}

.contact-link:active {
    transform: translateY(5px);
    text-shadow: 0 0 0.50em #44e0b7, 0 0 0.50em #44e0b7, 0 0 0.50em #033629;
    box-shadow: 0 0 0.50em #44e0b7, 0 0 0.50em #44e0b7, 0 0 0.50em #033629;
}

.contact-link.phone {
    background: transparent;
    box-shadow: 0 0 0.50em #44e0b7, 0 0 0.50em #44e0b7, 0 0 0.50em #033629;
}

.contact-link.phone:hover {
    text-shadow: 0 0 0.50em #ffdea4, 0 0 0.50em #ffdea4, 0 0 0.50em #ddad5a;
    box-shadow: 0 0 0.50em #ffdea4, 0 0 0.50em #ffdea4, 0 0 0.50em #ddad5a;
}

.contact-link.phone:active {
    transform: translateY(5px);
    text-shadow: 0 0 0.50em #44e0b7, 0 0 0.50em #44e0b7, 0 0 0.50em #033629;
    box-shadow: 0 0 0.50em #44e0b7, 0 0 0.50em #44e0b7, 0 0 0.50em #033629;
}

/* ============ Sociala Media Ikoner =========== */
.social-icons {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  gap: 30px;
  flex-wrap: wrap;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  font-size: 32px;
  color: #7ae7e7;
  text-decoration: none;
  transition: all 0.4s ease;
  background: transparent; /* Completely transparent background */
}

/* Always-on subtle golden glow */
.social-icons a {
  filter: drop-shadow(0 0 8px #7ae7e7);
}

/* Strong glowing neon gold on hover */
.social-icons a:hover {
  transform: scale(1.2) translateY(-5px);
  color: #fff;   /* Slight brightening for extra shine */
  filter: drop-shadow(0 0 10px #fff)
          drop-shadow(0 0 20px #7ae7e7)
          drop-shadow(0 0 35px #7ae7e7)
          drop-shadow(0 0 55px #7ae7e7);
}

/* Optional: even stronger glow on the icon itself */
.social-icons a:hover i {
  text-shadow: 
    0 0 10px #fff,
    0 0 20px #7ae7e7,
    0 0 30px #7ae7e7,
    0 0 50px #7ae7e7;
}
/* =========== Sociala Media Ikoner END =========== */

/* Small animation when card appears */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}