/* Custom scroll behavior */
html {
  scroll-behavior: smooth;
}
body {
  position: relative;
  background-color: #e5e5f7; /* base background color */
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  /* background-image: radial-gradient(
    ellipse farthest-corner at 7px 7px,
    #444cf7,
    #444cf7 50%,
    #e5e5f7 50%
  );
  background-size: 7px 7px; */
  background: radial-gradient(
      circle,
      transparent 20%,
      #e5e5f7 20%,
      #e5e5f7 80%,
      transparent 80%,
      transparent
    ),
    radial-gradient(
        circle,
        transparent 20%,
        #e5e5f7 20%,
        #e5e5f7 80%,
        transparent 80%,
        transparent
      )
      15px 15px,
    linear-gradient(
        #444cf7 1.2000000000000002px,
        transparent 1.2000000000000002px
      )
      0 -0.6000000000000001px,
    linear-gradient(
        90deg,
        #444cf7 1.2000000000000002px,
        #e5e5f7 1.2000000000000002px
      ) -0.6000000000000001px 0;
  background-size: 30px 30px, 30px 30px, 15px 15px, 15px 15px;
  opacity: 0.3;
  z-index: -1; /* behind everything */
}

button:focus {
  outline: none;
}
/*.swiper-pagination-bullet {*/
/*  background: #3155f1;*/
/*  opacity: 0.8;*/
/*}*/
/*.swiper-button-next,*/
/*.swiper-button-prev {*/
/*  color: #f49cbb;*/
/*}*/

/* Navbar transitions and dropdowns */
#mobileMenu {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
nav .group:hover .group-hover\\:opacity-100 {
  opacity: 1 !important;
}
nav .group:hover .group-hover\\:pointer-events-auto {
  pointer-events: auto !important;
}
/* Optional: Remove outline on button click/focus */
a:focus,
button:focus {
  outline: none;
}
/* Add smooth box-shadow for cards */
.feature-card {
  box-shadow: 0 4px 24px rgba(49, 85, 241, 0.07);
}

.rotate-180 {
  transform: rotate(180deg);
  transition: transform 0.3s;
}
.faq-card button:focus {
  outline: none;
}
.faq-content {
  transition: max-height 0.3s, opacity 0.3s;
}

#scrollTopBtn {
  transition: opacity 0.4s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 4px 36px rgba(24, 67, 80, 0.1);
}
#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}
#scrollTopBtn:hover {
  background: #fa3c7d;
  color: #fff;
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 10px 32px rgba(244, 156, 187, 0.22);
}
#scrollTopBtn:hover .fa-arrow-up,
#scrollTopBtn:hover span {
  color: #fff !important;
}

@media (max-width: 768px) {
  #about img {
    float: none !important;
    display: block;
    margin: 0 auto 1rem !important;
  }
}

/* clearfix for float wrap effect */
.clearfix::after { content: ""; display: table; clear: both; }
/* custom shape for the image using clip-path for top-right & bottom-left round corners */

@media (max-width: 900px) {
  .float-right {
    float: none !important;
    display: block;
    margin: 0 auto 1.25rem auto !important;
    width: 100% !important;
    max-width: 340px;
  }
  .absolute.left-\[-46px\] { 
    position: static !important; 
    margin-bottom: 1.2rem !important;
    flex-direction: row !important; gap: 0.9rem !important; 
    justify-content: flex-start;
  }
}


.triangle-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
/* Each triangle */
.triangle {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0.7;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 35px solid rgba(255, 255, 255, 0.3);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.65));
  animation: floatBounce 8s ease-in-out infinite;
}
/* Positions of different triangles */
.t1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  border-bottom-color: rgba(250, 60, 125, 0.6);
}
.t2 {
  top: 8%;
  left: 50%;
  animation-delay: 2s;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}
.t3 {
  top: 70%;
  left: 20%;
  animation-delay: 4s;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}
.t4 {
  top: 80%;
  left: 65%;
  animation-delay: 1s;
  border-bottom-color: rgba(250, 60, 125, 0.5);
}
.t5 {
  top: 30%;
  left: 25%;
  animation-delay: 1s;
  border-bottom-color: rgba(255, 223, 186, 0.7);
}
.t6 {
  top: 55%;
  left: 70%;
  animation-delay: 3s;
  border-bottom-color: rgba(186, 230, 255, 0.7);
}
.t7 {
  top: 15%;
  left: 85%;
  animation-delay: 5s;
  border-bottom-color: rgba(173, 255, 186, 0.7);
}
.t8 {
  top: 50%;
  left: 45%;
  animation-delay: 2s;
  border-bottom-color: rgba(255, 182, 193, 0.7);
}

/* Bouncing floating animation */
@keyframes floatBounce {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(10deg);
  }
  50% {
    transform: translateY(0) rotate(0deg);
  }
  75% {
    transform: translateY(15px) rotate(-8deg);
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slide-in {
  animation: slideIn 0.4s ease forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}


/*.swiper-button-prev, .swiper-button-next {*/
/*  top: auto;*/
/*  bottom: 40px;*/
/*  width: 40px;*/
/*  height: 40px;*/
/*  margin: 0;*/
/*  background-size: 20px 20px;*/
/*}*/

/*.swiper-button-prev {*/
/*  left: -8px;*/
/*  top: 55%;*/
/*}*/

/*.swiper-button-next {*/
/*  right: -8px;*/
/*  top: 55%;*/
/*}*/
