.social-dropdown-1 {
  position: relative;
  display: inline-block;
  z-index: 1001;
}

.icon-1 img {
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.dropdown-content-1 {
  display: none;
  position: absolute;
  top: 40px;
  right: 0;
  background-color: #fff;
  min-width: 120px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 10px;
  z-index: 1002;
}

.dropdown-content-1 a {
  display: inline-block;
  margin: 5px;
  transition: transform 0.3s ease;
}

.dropdown-content-1 a img {
  width: 32px;
  height: 32px;
}

.dropdown-content-1 a:hover {
  transform: scale(1.1);
}


/* overlay */

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: none;
}


/* dynamic popup */

.dynamic-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  padding: 50px 60px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 122, 255, 0.5);
  z-index: 2000;
  max-width: 500px;
  text-align: center;
  font-family: 'SF Pro Display', 'Roboto', sans-serif;
  backdrop-filter: blur(20px);
  animation: popInGlow 1s ease-out forwards;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dynamic-popup h2 {
  margin-bottom: 20px;
  color: #000;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
  animation: slideDown 1s ease-out forwards;
  animation-delay: 0.2s;
}

.dynamic-popup p {
  margin-bottom: 30px;
  color: #333;
  font-size: 18px;
  line-height: 1.7;
  animation: slideUp 1.2s ease-out forwards;
  animation-delay: 0.4s;
}

.dynamic-popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #000;
  transition: color 0.3s ease;
  animation: fadeInRotate 1.5s ease-out forwards;
  animation-delay: 0.6s;
}

.contact-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 25px;
  animation: fadeInBounce 2s ease-out forwards;
  animation-delay: 0.8s;
}

.contact-option {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  color: #fff;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
  margin: 15px;
  transition: background-color 0.4s ease, color 0.4s ease, transform 0.3s ease;
  width: 70px;
  height: 70px;
  animation: pulseIcon 2s infinite alternate;
}

.contact-option img {
  width: 50px;
  height: auto;
}

.contact-option:hover {
  background-color: #007aff;
  color: #fff;
  transform: scale(1.2) rotate(10deg);
}

.request-button {
  background: linear-gradient(135deg, #007aff, #00e6e6);
  color: #fff;
  padding: 15px 40px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 0.4s ease, transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 122, 255, 0.5), 0 0 30px rgba(0, 122, 255, 0.7);
  animation: fadeInSlideUp 1.5s ease-out forwards, pulseButton 1.5s infinite alternate;
  animation-delay: 1s;
}

.request-button:hover {
  background: linear-gradient(135deg, #005bb5, #0097a7);
  transform: scale(1.1) translateY(-5px);
}


/* Media query */

@media (max-width: 600px) {
  .dynamic-popup {
    width: 90%;
    padding: 30px;
  }

  .contact-options {
    justify-content: space-around;
  }

  .contact-option {
    margin: 10px 5px;
    width: 60px;
    height: 60px;
  }

  .contact-option img {
    width: 40px;
  }
}


/* Animations */

@keyframes popInGlow {
  0% {
    transform: scale(0.5) translate(-50%, -50%);
    opacity: 0;
    box-shadow: 0 0 0 rgba(0, 122, 255, 0);
  }
  60% {
    transform: scale(1.05) translate(-50%, -50%);
    opacity: 1;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 122, 255, 0.7);
  }
  100% {
    transform: scale(1) translate(-50%, -50%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 122, 255, 0.5);
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

@keyframes fadeInRotate {
  from {
    opacity: 0;
    transform: rotate(-90deg);
  }
  to {
    opacity: 1;
    transform: rotate(0deg);
  }
}

@keyframes fadeInBounce {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  60% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

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

@keyframes pulseIcon {
  0% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(0, 122, 255, 0.5);
  }
  100% {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 122, 255, 1);
  }
}

@keyframes pulseButton {
  0% {
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.5), 0 0 30px rgba(0, 122, 255, 0.7);
  }
  100% {
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.9), 0 0 60px rgba(0, 122, 255, 1);
    transform: scale(1.05);
  }
}



.scroll-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 19;
  align-items: center;
  width: 100%;
  padding: 10px 0;
  visibility: hidden;
  overflow: hidden;
  background: linear-gradient(to top, #5ebaf8, #0187e0);
  transition: visibility ease-in-out .2s, transform ease-in-out .2s;
  transform: translateY(-100%);
}

.scroll-menu--active {
  visibility: visible;
  transform: translateY(0);
}

.scroll-menu .phone {
  display: flex;
  align-items: center;
  color: #fff;
}

.scroll-menu .phone img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.scroll-menu .box__phone .phone-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.scroll-menu .box__phone .messenger-icons {
  display: flex;
  align-items: center;
}

.scroll-menu .phone img,
.scroll-menu .messenger-icons a img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.scroll-menu .messenger-icons a:last-child img {
  margin-right: 0;
}

.scroll-menu .box__phone .messenger-icons {
  margin-left: 20px;
}



.scroll-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 30px;
  background: linear-gradient(90deg, #4e54c8, #8f94fb);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  transition: visibility 0.5s ease-in-out, transform 0.5s ease-in-out;
  transform: translateY(-100%);
  visibility: hidden;
  backdrop-filter: blur(15px);
}

.scroll-menu--active {
  visibility: visible;
  transform: translateY(0);
}

.scroll-menu .phone {
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.7px;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.scroll-menu .phone img {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.scroll-menu .phone img:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 6px 12px rgba(78, 84, 200, 0.6));
}

.scroll-menu .box__phone .messenger-icons {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.scroll-menu .messenger-icons a img {
  width: 40px;
  height: 40px;
  margin-right: 15px;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.scroll-menu .messenger-icons a img:hover {
  transform: scale(1.25) rotate(10deg);
  filter: drop-shadow(0 10px 20px rgba(143, 148, 251, 0.8));
}

.scroll-menu .messenger-icons a:last-child img {
  margin-right: 0;
}

.scroll-menu .phone-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.scroll-menu .messenger-icons a {
  animation: fadeInIcons 1s ease forwards;
  opacity: 0;
  transform: translateY(10px);
}

.scroll-menu .messenger-icons a:nth-child(1) {
  animation-delay: 0.2s;
}

.scroll-menu .messenger-icons a:nth-child(2) {
  animation-delay: 0.4s;
}

.scroll-menu .messenger-icons a:nth-child(3) {
  animation-delay: 0.6s;
}

.scroll-menu .messenger-icons a:nth-child(4) {
  animation-delay: 0.8s;
}

@keyframes fadeInIcons {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .scroll-menu {
    padding: 10px 15px;
    font-size: 14px;
  }

  .scroll-menu .phone img,
  .scroll-menu .messenger-icons a img {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .scroll-menu {
    padding: 8px 10px;
    font-size: 12px;
  }

  .scroll-menu .phone img,
  .scroll-menu .messenger-icons a img {
    width: 25px;
    height: 25px;
  }
}
