/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,h2, h4 {
  color: #9C244D
}

.text-slc{
  color: #9C244D !important;
}

body, html {
  scroll-behavior: smooth;
  height: 100%;
  width: 100%;

  display:flex;
  flex-direction: column;
  background-color: #f5f5f7;
}

main {
  flex: 1;
  padding-top: 5rem;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 998;
}

/* Modal for Image */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

#caption {
  margin: auto;
  display: block;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  font-size: 20px;
}

.menu-btn {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  display:none;
}

img {
  width: 100%;
  height: 100%;
}

.slc-btn {
  text-decoration: none;
  background-color: #D6336C; /* Deep Rose */
  color: #FFFFFF; /* White text */
  padding: 6px 18px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.slc-btn:hover {
  background-color: #B82C5A; /* Slightly darker rose on hover */
  transform: translateY(-2px); /* Small lift on hover */
}

.slc-btn:active {
  background-color: #9C244D; /* Even darker when clicked */
  transform: translateY(0);
}

.text-area {
  white-space: pre-line;
  margin-top: -0.8rem;
}

.float-container {
  position: fixed;
  width: 70px;
  height: 70px;
  bottom: 40px;  /* further from bottom */
  right: 40px;   /* further from right */
  background-color: #25d366;
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  font-size: 32px; /* larger icon */
  box-shadow: 2px 2px 8px #999;
  z-index: 100;
  cursor: pointer;
}

.float-container::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(37, 211, 102, 0.5);
  border-radius: 50%;
  top: 0;
  left: 0;
  animation: sonar 1.8s infinite;
  z-index: -1;
}

.wa-float {
  margin-top: 18px; /* centers icon vertically */
}

@keyframes sonar {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}




/* Responsive */
@media screen and (max-width: 768px) {
    .float-container {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
  }

  .wa-float {
    margin-top: 12px;
  }

  .float-container::after {
    animation: sonar 1.5s infinite;
  }
  
  .sidebar {
    width: 200px;
    right: -200px;
  }

  .sidebar a {
    font-size: 16px;
    padding: 8px 16px;
  }

  .modal-content {
    max-width: 95%;
    max-height: 70%;
  }

  .modal-close {
    font-size: 30px;
  }

  span,b{
    line-height: 1.0 !important;
  }

  img {
    max-height: 40vh;
  }
}
