/* Base Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.section_home {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffffe7;
  min-height: 100vh;
  overflow: hidden;
}

.custom-options {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  min-width: 600px;
  max-width: 900px;
  width: calc(100% - 100px);
  height: 520px;
}

.custom-option {
  position: relative;
  overflow: hidden;
  min-width: 60px;
  margin: 10px;
  background: var(--custom-optionBackground, var(--custom-defaultBackground, #E6E9ED));
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.custom-option.custom-active {
  width: 500px;
  max-width: 600px;
  margin: 0;
  border-radius: 40px;
}

.custom-option:not(.custom-active) {
  flex-grow: 1;
}

.custom-option:hover:not(.custom-active) {
  transform: scale(1.05);
}

.custom-shadow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  transition: all 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

.custom-label {
  display: flex;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  margin: 10px;
  z-index: 2;
}

.custom-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: var(--custom-defaultBackground);
  border-radius: 50%;
  font-size: 16px;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.13);
  margin-left: 1rem;
}

.custom-info {
  display: none;
  padding-left: 10px;
  color: white;
}

.custom-option.custom-active .custom-info {
  display: block;
}

.custom-info1 {
  display: none;
  flex-grow: 1;
  padding: 20px;
  overflow: auto;
}

.custom-heading {
  display: block; 
  color: black;
  padding-left: 10px; 
}



.custom-option.custom-active .custom-info1 {
  display: block;
  animation: reveal 0.8s ease forwards;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  .custom-options {
    flex-direction: column;
    align-items: center;
    height: auto;
    width: 100%;
    min-width: unset;
    max-width: unset;
    padding: 10px;
  }

  .custom-option {
    width: 100%;
    min-width: unset;
    margin: 10px 0;
    flex-grow: 0;
    height: auto;
  }

  .custom-option.custom-active {
    width: 100%;
    max-width: unset;
    margin: 20px 0;
    min-height: 510px;
    padding: 5px 15px;
  }

  .custom-label {
    margin: 5px;
    padding: 5px;
  }

  .custom-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
    
  }

  .custom-info1 {
    padding: 10px;
  }

  .custom-heading-1 {
    display: block !important; 
    color: black;
    transform: rotate(0deg) !important; /* Reset rotation */
    position: static !important; /* Reset position */
    white-space: normal !important; /* Allow text wrapping */
    text-align: left; /* Align heading to the left */
    padding-left: 10px; /* Add padding */
  }
}

@media (max-width: 480px) {
  .custom-option {
    width: 100%;
    margin: 5px 0;
  }

  

  .custom-label {
    margin: 10px;
    padding: 5px;
  }

  .custom-icon {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }

  .custom-info1 {
    padding: 5px;
  }

  .custom-heading-1 {
    display: block !important; 
    color: black;
    transform: rotate(0deg) !important; 
    position: static !important; 
    white-space: normal !important; 
    text-align: left; 
    padding-left: 10px; 
  }
}

/* ANIMATED BACKGROUND */

.circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.circles li {
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  background-color: #ff3cac;
  background-image: linear-gradient(
    225deg,
    #2b86c5 0%,
    #0D3A49 50%,
    #78C8CC 100%
   
  );
  z-index: 0;
  animation: animate 25s linear infinite;
  bottom: -150px;
}

.circles li:nth-child(1) {
  left: 25%;
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

.circles li:nth-child(2) {
  left: 10%;
  width: 20px;
  height: 20px;
  animation-delay: 2s;
  animation-duration: 12s;
}

.circles li:nth-child(3) {
  left: 70%;
  width: 20px;
  height: 20px;
  animation-delay: 4s;
}

.circles li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 18s;
}

.circles li:nth-child(5) {
  left: 65%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
}

.circles li:nth-child(6) {
  left: 75%;
  width: 110px;
  height: 110px;
  animation-delay: 3s;
}

.circles li:nth-child(7) {
  left: 35%;
  width: 150px;
  height: 150px;
  animation-delay: 7s;
}

.circles li:nth-child(8) {
  left: 50%;
  width: 25px;
  height: 25px;
  animation-delay: 15s;
  animation-duration: 45s;
}

.circles li:nth-child(9) {
  left: 20%;
  width: 15px;
  height: 15px;
  animation-delay: 2s;
  animation-duration: 35s;
}

.circles li:nth-child(10) {
  left: 85%;
  width: 150px;
  height: 150px;
  animation-delay: 0s;
  animation-duration: 11s;
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 0;
  }

  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
    border-radius: 50%;
  }
}

.text-color {
  color: white !important;
}

.text-color1 {
  color: rgb(236, 236, 236) !important;
}

.custom-heading{
  color: black;
}
.custom-heading.custom-active{
  color: black;
  font-weight: bold;
}