/*----------- Google Fonts ----------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*----------- Variables CSS ----------*/
:root {
  --primary: #9b87f5;
  --primary-hover: #927bfc;
  --light-primary: #e0d8ff;
  --text-gray-200: #e8ebea;
  --text-gray-500: #575e5c;
  --text-gray-800: #101828;
  --dark-primary: #380c57;
  --yellow: #ffee83;
  --pink: #f6d1ff;
  --bg-color: #f0ecff;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  background-color: var(--bg-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: "Poppins", sans-serif;
}

button {
  border: 0;
  outline: none;
  background: transparent;
  cursor: pointer;
}

::selection {
  color: var(--white);
  background: var(--primary) !important;
}

::-webkit-scrollbar {
  width: 7px;
  background: var(--light-primary) !important;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: var(--primary) !important;
}
/*================================================
PRELOADER
=================================================*/
#corely-preloader {
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: linear-gradient(135deg, #000000, #28003b);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.corely-loader .corely-text {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ff6ec4, #7873f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulseText 1.2s infinite ease-in-out;
    animation-delay: .25s;
    margin-bottom: 20px;
}

.corely-loader .corely-bar {
    width: 100%;
    height: 4px;
    background: linear-gradient(to left, #ff6ec4, #7873f5);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.corely-loader .corely-bar::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 30%;
    left: -30%;
    background-color: rgb(220, 253, 255);
    animation: slideBar 1.2s infinite ease-in-out;
    border-radius: 2px;
}

@keyframes pulseText {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

@keyframes slideBar {
    0% {
        left: -30%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/*================================================
HEADER
=================================================*/
.corely-logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ff6ec4, #7873f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation-delay: .25s;
    margin-bottom: 20px;
}
.corely-bar {
    width: 100%;
    height: 3px;
    background: linear-gradient(to left, #ff6ec4, #7873f5);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}
.corely-bar::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 30%;
    left: -30%;
    background-color: rgb(220, 253, 255);
    border-radius: 2px;
}
header nav #nav_wrapper{
  box-shadow: 0px 4px 6px -2px rgba(16, 24, 40, 0.03),
    0px 12px 16px -4px rgba(16, 24, 40, 0.08);
    margin-top: 1.5rem;
}
header nav .nav-link {
  font-size: 16px;
  font-weight: 500;
}
header nav .nav-link.active {
  color: var(--primary) !important;
}
header nav .nav-link:hover {
  color: var(--primary) !important;
}
header nav .nav-icon{
  transition: all 0.3s ease-in-out;
}
header nav .nav-icon:hover{
  rotate: -45deg;
}
header nav .nav-icon:hover i{
  color: var(--primary) !important;
}

/*================================================
HERO
=================================================*/
#heroSection{
  /* background-image: url('../images/hero.jpg'); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 10rem 0;
}

/*================================================
BRANDS
=================================================*/
#brands .brand_logo {
  width: 120px;
  object-fit: contain;
  opacity: 0.5;
  transition: opacity 0.5s ease-in-out;
}
.separator-horizontal {
  width: 2px;
  height: 30px;
  background-color: var(--text-gray-500);
  opacity: 0.5;
}
#brands .brand_logo:hover {
  opacity: 1;
}
/*================================================
FEATURES
=================================================*/
#features{
  background-image: url('https://framerusercontent.com/images/b1Ii8SZYMY3jlbB6ErJiRXT94C8.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 10rem 0;
}
/*================================================
Pricing
=================================================*/
.popular{
  border: 2px solid var(--primary) !important;
  padding: 3rem 1.5rem !important;
  position: relative;
  z-index: 1;
}
.popular::before{
  content: 'Popular';
  font-size: 16px;
  font-weight: 500;
  padding: .6rem 1.5rem;
  color: var(--light-primary) !important;
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
  background-color: var(--primary) !important;
}

/*================================================
TESTIMONIALS
=================================================*/
#testimonials .swiper-slide .card .head{
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--text-gray-800);
}
#testimonials .swiper-slide .review-text {
  font-size: 28px;
  line-height: 36px;
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--text-gray-800);

}
/*================================================
FAQS
=================================================*/
#faqs{
  background-image: url('https://framerusercontent.com/images/b1Ii8SZYMY3jlbB6ErJiRXT94C8.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 10rem 0;
}

#faqs .accordion-item {
  background-color: var(--light-primary) !important;
  border-radius: 20px;
  margin-bottom: 10px;
  border: none;
}

#faqs .accordion-item:has(.accordion-collapse.show) {
  background-color: var(--light-primary) !important;
}

#faqs .accordion-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1.8rem;
  color: var(--dark-primary);
  background-color: transparent;
}

#faqs .accordion-button::after {
  display: none; /* Remove Bootstrap’s default arrow */
}

#faqs .accordion-button:focus {
  box-shadow: none;
}

#faqs .accordion-button:not(.collapsed) {
  color: var(--dark-primary);
  box-shadow: none;
}
#faqs .title{
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--dark-primary);
}
#faqs .icon {
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 28px;
  font-weight: 500;
  color: var(--dark-primary);
}

#faqs .accordion-item .icon::before {
  content: '+';
}

#faqs .accordion-item:has(.accordion-collapse.show) .icon::before {
  content: '-';
}

#faqs .accordion-body {
  color: var(--text-gray-800);
  padding-top: 0;
  font-size: 1.2rem;
}
/*================================================
Subscribe
=================================================*/
#subscribe .subscribe-bottom{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--light-primary) !important;
  z-index: -1;
}
/*================================================
FOOTER
=================================================*/
footer {
  background-color: var(--light-primary) !important;
}
/*================================================
Utilities
=================================================*/
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.heading-1x{
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -1px;
}
.heading-6x{
  font-size: 68px;
  line-height: 68px;
  letter-spacing: -2px;
}
.heading-7x{
  font-size: 78px;
  line-height: 78px;
  letter-spacing: -2px;
}
.rounded-25px{
  border-radius: 25px;
}

/* Begin: Button Hover Effect */
.arrow-wrapper {
  position: relative;
  width: 24px;
  height: 24px;
  display: inline-block;
  overflow: hidden;
}

.arrow-wrapper .arrow {
  position: absolute;
  left: 0;
  top: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.arrow-wrapper .arrow.top {
  transform: translate(0, 0);
  opacity: 1;
}

.arrow-wrapper .arrow.bottom {
  transform: translate(-100%, 100%);
  opacity: 0;
}

/* On hover, animate the swap */
.arrow-btn:hover .arrow.top {
  transform: translate(100%, -100%);
  opacity: 0;
}

.arrow-btn:hover .arrow.bottom {
  transform: translate(0, 0);
  opacity: 1;
}
/* end: Button Hover Effect */

/* Begin: Colors */
.text-white-primary{
  color: var(--light-primary) !important;
}
.text-dark-primary{
  color: var(--dark-primary) !important;
}
.bg-yellow{
  background-color: var(--yellow) !important;
}
.bg-dark-primary{
  background-color: var(--dark-primary) !important;
}
.bg-pink{
  background-color: var(--pink) !important;
}
/* end: Colors */
/*================================================
Animations
=================================================*/
  .fadeInUp {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease-out forwards;
  }

  .fadeInLeft {
    opacity: 0;
    transform: translateX(-40px);
    animation: fadeInLeft 1s ease-out forwards;
  }

  .fadeInRight {
    opacity: 0;
    transform: translateX(40px);
    animation: fadeInRight 1s ease-out forwards;
  }

  /* Keyframes */
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInLeft {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes fadeInRight {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Staggered Delay Classes */
  .delay-100 { animation-delay: 0.1s; }
  .delay-200 { animation-delay: 0.2s; }
  .delay-300 { animation-delay: 0.3s; }
  .delay-400 { animation-delay: 0.4s; }
  .delay-500 { animation-delay: 0.5s; }
  .delay-600 { animation-delay: 0.6s; }
  
/* Animated Text Gradient */
.animated-text-gradient {
  background: linear-gradient(270deg, #9b87f5, #f4a1e6, #f587b7, #8368f9);
  background-size: 800% 800%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientTextFlow 6s ease infinite;
}

@keyframes gradientTextFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


/* Gradient 1 */
.circular-morph {
  background: radial-gradient(circle at 30% 30%, #b09efc, #ffbed6, #d3ffe3);
  background-size: 200% 200%;
  animation: circularShift 5s ease-in-out infinite;
}

@keyframes circularShift {
  0% {
    background-position: 30% 30%;
  }
  50% {
    background-position: 70% 70%;
  }
  100% {
    background-position: 30% 30%;
  }
}
/* Gradient 2 */
.deep-morph {
  background: linear-gradient(120deg, #cbc1f8, #ffd0d1, #b9c2f5, #e3ccff);
  background-size: 600% 600%;
  animation: deepMorphAnim 20s ease infinite;
}

@keyframes deepMorphAnim {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}


/*================================================
Responsive Styles
=================================================*/
@media (max-width: 1200px) {
  #heroSection .big_img {
    width: 100%;
  }
  header nav .nav-link {
    font-size: 14px;
  }
}
/* max 992px */
@media (max-width: 992px) {
  header nav #nav_wrapper{
    margin-top: .5rem;
  }
  header nav .nav-link.active,
  header nav .nav-link.active i {
    color: var(--primary) !important;
  }
  header nav .nav-link:hover,
  header nav .nav-link:hover i  {
    color: var(--primary) !important;
  }

  header nav .nav-link i {
    margin-right: 0.5rem; 
    width: 1.5rem; 
    text-align: center;
  }

  #testimonials .swiper-slide .review-text {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0px;

  }

  /* Utilities */
  .heading-6x{
  font-size: 40px;
  line-height: 42px;
  }
  .heading-7x{
    font-size: 50px;
    line-height: 52px;

  }
}
/* max 480px */
@media (max-width: 480px) {
  /* Utilities */
  .heading-6x{
  font-size: 28px;
  line-height: 32px;
  }
  .heading-7x{
    font-size: 36px;
    line-height: 40px;

  }
}