/*
Theme Name: Next
Author: ModinaTheme
Author URI: https://themeforest.net/user/modinatheme/
Description: Multipurpose HTML5 Template
Version: 1.0.0
*/
/*CSS Table Of Content Ends Here*/
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
:root {
  --body: #fff;
  --black: #000;
  --white: #fff;
  --theme: #5C30FD;
  --theme-2: #8760FD;
  --theme-3: #2B2B6B;
  --theme-4: #ECE6FF;
  --base: #5C30FD;
  --text: #696969;
  --border: #E6E6E6;
  --border2: #373737;
  --ratting: #F8BC26;
  --bg: #101828;
  --bg2: #0D0D0D;
  --bg3: #121416;
  ---box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.06);
}

.theme-btn {
  display: inline-block;
  vertical-align: middle;
  border: none;
  outline: none !important;
  background: var(--theme);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  padding: 22px 40px;
  transition: all 0.4s ease-in-out;
  letter-spacing: 0;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  text-align: center;
  line-height: 1;
  z-index: 9;
}
.theme-btn i {
  margin-left: 10px;
}
.theme-btn::before, .theme-btn::after {
  position: absolute;
  top: 50%;
  content: "";
  width: 20px;
  height: 20px;
  background-color: var(--header);
  border-radius: 50%;
  z-index: -1;
}
.theme-btn::before {
  left: -20px;
  transform: translate(-50%, -50%);
}
.theme-btn::after {
  right: -20px;
  transform: translate(50%, -50%);
}
.theme-btn:hover {
  color: var(--white);
}
.theme-btn:hover::before {
  animation: criss-cross-left 0.8s both;
  animation-direction: alternate;
}
.theme-btn:hover::after {
  animation: criss-cross-right 0.8s both;
  animation-direction: alternate;
}
.theme-btn.bg-white {
  background: var(--white);
  color: var(--header);
}
.theme-btn.bg-white:hover {
  color: var(--white);
}
.theme-btn.hover-white {
  transition: all 0.4s ease-in-out;
}
.theme-btn.hover-white::before, .theme-btn.hover-white::after {
  background-color: var(--white);
}
.theme-btn.hover-white:hover {
  color: var(--header);
}
.theme-btn.bg-2 {
  background: var(--theme-2);
}
.theme-btn.bg-2::before, .theme-btn.bg-2::after {
  background: var(--header);
}
.theme-btn.bg-2:hover {
  color: var(--white);
}
@media (max-width: 767px) {
  .theme-btn {
    padding: 20px 32px;
  }
}
@media (max-width: 575px) {
  .theme-btn {
    padding: 18px 30px;
    font-size: 14px;
  }
}
.theme-btn.white-border {
  background-color: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}
.theme-btn.white-border::before, .theme-btn.white-border::after {
  background-color: var(--white);
}
.theme-btn.white-border:hover {
  color: var(--header);
}

.link-btn {
  text-transform: capitalize;
  color: var(--header);
  font-weight: 600;
  display: inline-block;
  font-size: 16px;
}
.link-btn i {
  margin-left: 8px;
}
.link-btn:hover {
  color: var(--theme);
}

.arrow-btn {
  font-size: 16px;
  position: relative;
  transform: translateX(0);
  transition: 0.7s;
  display: inline-block;
  text-align: center;
  border-radius: 100%;
  color: var(--theme);
  text-decoration: underline;
}
.arrow-btn i {
  font-size: 18px;
  transform: rotate(-40deg);
}
.arrow-btn::before {
  position: absolute;
  content: "Read More";
  font-weight: 700;
  color: var(--theme);
  font-size: 16px;
  left: -95px;
  top: -2px;
  transition: all 0.4s ease-in-out;
  opacity: 0;
}
.arrow-btn:hover {
  transform: translateX(95px);
  color: var(--theme);
}
.arrow-btn:hover i {
  transform: rotate(0);
}
.arrow-btn:hover::before {
  opacity: 1;
}

/* --------------------------------------------
    Template Default Fonts & Fonts Styles
 ---------------------------------------------- */
body {
  font-family: "Rubik", sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 28px;
  color: var(--text);
  background-color: var(--white);
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

button {
  border: none;
  background-color: transparent;
  padding: 0;
}

input:focus {
  color: var(--white);
  outline: none;
}

input {
  color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Rubik", sans-serif;
  margin: 0px;
  padding: 0;
  color: var(--header);
  text-transform: capitalize;
  transition: all 0.4s ease-in-out;
}

h1 {
  font-size: 65px;
  font-weight: 500;
  line-height: 112%;
}

h2 {
  font-size: 45px;
  line-height: 120%;
  font-weight: 500;
}
@media (max-width: 1199px) {
  h2 {
    font-size: 42px;
  }
}
@media (max-width: 767px) {
  h2 {
    font-size: 36px;
  }
}
@media (max-width: 575px) {
  h2 {
    font-size: 32px;
  }
}

h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 150%;
}
@media (max-width: 575px) {
  h3 {
    font-size: 20px;
  }
}

h4 {
  font-size: 22px;
  font-weight: 500;
  line-height: 137%;
}

h5 {
  font-size: 18px;
  font-weight: 600;
  line-height: 150%;
}

h6 {
  font-size: 16px;
  font-weight: 500;
  line-height: 145%;
}

a {
  text-decoration: none;
  outline: none !important;
  cursor: pointer;
  color: var(--header);
  transition: all 0.4s ease-in-out;
}

p {
  margin: 0px;
  transition: all 0.4s ease-in-out;
}

.scroll-up {
  cursor: pointer;
  display: block;
  border-radius: 50px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  position: fixed;
  right: 25px;
  bottom: 35px;
  height: 50px;
  width: 50px;
  transition: all 0.4s ease-in-out;
}

.scroll-up::after {
  position: absolute;
  font-family: "Font Awesome 5 Pro";
  content: "\f176";
  text-align: center;
  line-height: 50px;
  font-weight: 700;
  font-size: 18px;
  color: var(--theme);
  left: 0;
  top: 0;
  height: 50px;
  width: 50px;
  cursor: pointer;
  display: block;
  z-index: 1;
  transition: all 0.4s ease-in-out;
}

.scroll-up svg path {
  fill: none;
}

.scroll-up svg.scroll-circle path {
  stroke: var(--theme);
  stroke-width: 4px;
  box-sizing: border-box;
  transition: all 0.4s ease-in-out;
}

.scroll-up.active-scroll {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mouse-cursor {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  border-radius: 50%;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  visibility: hidden;
}
@media (max-width: 767px) {
  .mouse-cursor {
    display: none;
  }
}

.cursor-inner {
  width: 6px;
  height: 6px;
  z-index: 10000001;
  background-color: var(--theme);
  -webkit-transition: width 0.3s ease-in-out, height 0.3s ease-in-out, margin 0.3s ease-in-out, opacity 0.3s ease-in-out;
  -o-transition: width 0.3s ease-in-out, height 0.3s ease-in-out, margin 0.3s ease-in-out, opacity 0.3s ease-in-out;
  transition: width 0.3s ease-in-out, height 0.3s ease-in-out, margin 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.cursor-inner.cursor-hover {
  margin-left: -35px;
  margin-top: -35px;
  width: 70px;
  height: 70px;
  background-color: var(--theme);
  opacity: 0.3;
}

.cursor-outer {
  margin-left: -12px;
  margin-top: -12px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--theme);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 10000000;
  opacity: 0.5;
  -webkit-transition: all 0.08s ease-out;
  -o-transition: all 0.08s ease-out;
  transition: all 0.08s ease-out;
}

.cursor-outer.cursor-hover {
  opacity: 0;
}


@-webkit-keyframes rippleOne {
  70% {
    -webkit-box-shadow: 0 0 0 40px rgba(244, 68, 56, 0);
    box-shadow: 0 0 0 40px rgba(244, 68, 56, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(244, 68, 56, 0);
    box-shadow: 0 0 0 0 rgba(244, 68, 56, 0);
  }
}
@keyframes rippleOne {
  70% {
    -webkit-box-shadow: 0 0 0 40px rgba(244, 68, 56, 0);
    box-shadow: 0 0 0 40px rgba(244, 68, 56, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(244, 68, 56, 0);
    box-shadow: 0 0 0 0 rgba(244, 68, 56, 0);
  }
}
@keyframes cir36 {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes rounded {
  50% {
    transform: rotate(15deg);
  }
}
@keyframes rounded-2 {
  50% {
    transform: rotate(5deg);
  }
}
@keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.animation__rotate {
  -webkit-animation: rotate 40s linear infinite;
  animation: rotate 40s linear infinite;
}

@-webkit-keyframes spinner {
  to {
    -webkit-transform: rotateZ(360deg);
    transform: rotateZ(360deg);
  }
}
@keyframes spinner {
  to {
    -webkit-transform: rotateZ(360deg);
    transform: rotateZ(360deg);
  }
}
@-webkit-keyframes letters-loading {
  0%, 75%, 100% {
    opacity: 0;
    transform: rotateY(-90deg);
  }
  25%, 50% {
    opacity: 1;
    transform: rotateY(0deg);
  }
}
@keyframes letters-loading {
  0%, 75%, 100% {
    opacity: 0;
    transform: rotateY(-90deg);
  }
  25%, 50% {
    opacity: 1;
    transform: rotateY(0deg);
  }
}
@keyframes loaderspin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes tpswing {
  0% {
    -webkit-transform: rotate(20deg);
    -ms-transform: rotate(20deg);
    transform: rotate(20deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}
@keyframes width {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@-webkit-keyframes width {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@-webkit-keyframes loaderspin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes loaderpulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}
.float-bob-y {
  -webkit-animation-name: float-bob-y;
  animation-name: float-bob-y;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}

@-webkit-keyframes float-bob-y {
  0% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  50% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  100% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
}
@keyframes float-bob-y {
  0% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  50% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  100% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
}
@keyframes top-image-bounce {
  0% {
    transform: translateX(-8px);
  }
  50% {
    transform: translateX(12px);
  }
  100% {
    transform: translateX(-8px);
  }
}
@keyframes top-image-bounce-2 {
  0% {
    transform: translatey(-8px);
  }
  50% {
    transform: translatey(12px);
  }
  100% {
    transform: translatey(-8px);
  }
}
@keyframes toggle {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes moveCursor1 {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  to {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
}
@keyframes moveCursor1 {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  to {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
}
@-webkit-keyframes moveCursor2 {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}
@keyframes moveCursor2 {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}
@keyframes criss-cross-left {
  0% {
    left: -20px;
  }
  50% {
    left: 50%;
    width: 20px;
    height: 20px;
  }
  100% {
    left: 50%;
    width: 375px;
    height: 375px;
  }
}
@keyframes criss-cross-right {
  0% {
    right: -20px;
  }
  50% {
    right: 50%;
    width: 20px;
    height: 20px;
  }
  100% {
    right: 50%;
    width: 375px;
    height: 375px;
  }
}
@keyframes tpswing {
  0% {
    -webkit-transform: rotate(20deg);
    -ms-transform: rotate(20deg);
    transform: rotate(20deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}
@keyframes width {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@-webkit-keyframes width {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@keyframes icon-animation {
  from {
    transform: rotate3d(0, 0, 1, 0deg);
  }
  20%, 32%, 44%, 56%, 68% {
    transform: rotate3d(0, 0, 1, 0deg);
  }
  23%, 35%, 47%, 59%, 71% {
    transform: rotate3d(0, 0, 1, 15deg);
  }
  26%, 38%, 50%, 62%, 74% {
    transform: rotate3d(0, 0, 1, 0deg);
  }
  29%, 41%, 53%, 65%, 77% {
    transform: rotate3d(0, 0, 1, -15deg);
  }
  80% {
    transform: rotate3d(0, 0, 1, 0deg);
  }
}
.float-bob-y {
  -webkit-animation-name: float-bob-y;
  animation-name: float-bob-y;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}

@-webkit-keyframes float-bob-y {
  0% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  50% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  100% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
}
@keyframes float-bob-y {
  0% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  50% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  100% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
}
.float-bob-x {
  -webkit-animation-name: float-bob-x;
  animation-name: float-bob-x;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}

@-webkit-keyframes float-bob-x {
  0% {
    -webkit-transform: translateX(0px);
    transform: translateX(30px);
  }
  50% {
    -webkit-transform: translateX(10px);
    transform: translateX(10px);
  }
  100% {
    -webkit-transform: translateX(30px);
    transform: translateX(30px);
  }
}
@keyframes float-bob-x {
  0% {
    -webkit-transform: translateX(30px);
    transform: translateX(30px);
  }
  50% {
    -webkit-transform: translateX(10px);
    transform: translateX(10px);
  }
  100% {
    -webkit-transform: translateX(30px);
    transform: translateX(30px);
  }
}
@keyframes bounce-x {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  50% {
    -webkit-transform: translateX(30px);
    transform: translateX(30px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
.bounce-x {
  -webkit-animation: bounce-x 7s infinite linear;
  animation: bounce-x 7s infinite linear;
}

.hero-3 {
  height: 100vh; /* Cover the entire viewport height */
  padding: 150px 0; /* Adjust padding as necessary */
  position: relative;
}
@media (max-width: 991px) {
  .hero-3 br {
    display: none;
  }
}
.hero-3 .bottom-shape {
  position: absolute;
  bottom: -70%;
  left: 0;
}
@media (max-width: 1899px) {
  .hero-3 .bottom-shape {
    display: none;
  }
}
.hero-3 .bottom-shape img {
  width: 100%;
  height: 100%;
}
@media (max-width: 575px) {
  .hero-3 .hero-content {
    text-align: center;
  }
}
.hero-3 .hero-content .sub-content {
  color: var(--theme);
  margin-bottom: 30px;
  display: inline-block;
  font-weight: 500;
  text-transform: capitalize;
  font-size: 18px;
  position: relative;
  background-color: var(--white);
  box-shadow: 0px 10px 60px rgba(92, 48, 253, 0.2);
  padding: 6px 12px;
  border-radius: 10px;
}
.hero-3 .hero-content .sub-content img {
  margin-right: 10px;
  animation: icon-animation 1.5s ease-in-out infinite;
}
.hero-3 .hero-content h1 {
  letter-spacing: -2.6px;
  margin-bottom: 20px;
}
@media (max-width: 1399px) {
  .hero-3 .hero-content h1 {
    font-size: 54px;
  }
}
@media (max-width: 1199px) {
  .hero-3 .hero-content h1 {
    font-size: 48px;
  }
}
@media (max-width: 991px) {
  .hero-3 .hero-content h1 {
    font-size: 46px;
  }
}
@media (max-width: 767px) {
  .hero-3 .hero-content h1 {
    font-size: 38px;
  }
}
@media (max-width: 575px) {
  .hero-3 .hero-content h1 {
    font-size: 30px;
    font-weight: 500;
  }
}
.hero-3 .hero-content h1 span {
  color: var(--theme);
  font-style: italic;
}
.hero-3 .hero-content .hero-button {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 45px;
}
@media (max-width: 767px) {
  .hero-3 .hero-content .hero-button {
    margin-top: 35px;
  }
}
@media (max-width: 575px) {
  .hero-3 .hero-content .hero-button {
    margin-top: 25px;
    justify-content: center;
  }
}
@media (max-width: 470px) {
  .hero-3 .hero-content .hero-button {
    flex-wrap: wrap;
    gap: 20px;
  }
}
.hero-3 .hero-content .hero-button .btn-link {
  color: var(--header);
  font-weight: 600;
  text-transform: capitalize;
  text-decoration-line: underline;
  transition: all 0.4s ease-in-out;
}
.hero-3 .hero-content .hero-button .btn-link i {
  margin-left: 8px;
}
.hero-3 .hero-content .hero-button .btn-link:hover {
  color: var(--theme);
}
.hero-3 .hero-image {
  text-align: center;
  position: relative;
}
.hero-3 .hero-image img {
  width: 100%;
  height: 100%;
}
.hero-3 .hero-image .frame-shape {
  position: absolute;
  top: 6%;
  left: 8%;
  animation: rounded 5s linear infinite;
}
.hero-3 .hero-image .bcleft-shape {
  position: absolute;
  bottom: 30px;
  left: -26%;
}
@media (max-width: 1199px) {
  .hero-3 .hero-image .bcleft-shape {
    width: 75%;
  }
  .hero-3 .hero-image .bcleft-shape img {
    width: 100%;
    height: 100%;
  }
}
@media (max-width: 991px) {
  .hero-3 .hero-image .bcleft-shape {
    left: 0%;
    width: 70%;
  }
}
@media (max-width: 767px) {
  .hero-3 .hero-image .bcleft-shape {
    width: 60%;
  }
}
.hero-3 .hero-image .bcright-shape {
  position: absolute;
  top: 0;
  right: -35%;
}
@media (max-width: 1600px) {
  .hero-3 .hero-image .bcright-shape {
    width: 80%;
    top: 60px;
    right: -20%;
  }
  .hero-3 .hero-image .bcright-shape img {
    width: 100%;
    height: 100%;
  }
}
@media (max-width: 991px) {
  .hero-3 .hero-image .bcright-shape {
    right: -15%;
    width: 70%;
    top: 20%;
  }
}
@media (max-width: 767px) {
  .hero-3 .hero-image .bcright-shape {
    right: 0%;
    width: 60%;
    top: 20%;
  }
}
.hero-3 .hero-image .message-shape {
  position: absolute;
  bottom: 8%;
  right: 30px;
  animation: rounded 5s linear infinite;
}

/* Reset the margin and padding of the body and html */
body, html {
  margin: 0;
  padding: 0;
  height: 100%; /* Ensure the body and html take up the full height of the viewport */
}

/* Set the hero container to use Flexbox for centering */
.hero-container {
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  height: 100%; /* Ensure it takes the full height */
  width: 100%; /* Ensure it takes the full width */
}

/* Ensure the hero section starts at the top */
.hero-3 {
  margin: 0; /* Remove any margin */
  padding: 0; /* Adjust padding if necessary */
  width: 100%; /* Ensure it takes the full width */
}

/* Remove margin and padding from header if it exists */
header {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Add this to inspect any extra spacing above hero section */
.inspect-space {
  border: 1px solid red; /* This will help to see where extra space is coming from */
}
