@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css");
@import "./style.css";
@import "./font/font.css";
@import url("https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css");
@import "./responsive.css";

/* CSS Variables Declaration Here */
:root {
  --primary-color: #4361ee;
  --secondary-color: #eceffd;
  --primary-light-shade: rgba(67, 97, 238, 0.2);
  --regular-text-color: rgba(0, 0, 0, 0.8);
  --regular-text-color-white: rgba(255, 255, 255, 0.8);
  --font-bold: "Aeonik Bold", sans-serif;
  --font-regular: "Aeonik Regular", sans-serif;
  --font-light: "Aeonik Light", sans-serif;
  --border-radius: 15rem;
  --black-color: #000000;
  --white-color: #ffffff;
  --section-spacing: 5rem 0;
  --heading-highlighter: url("images/text-highlight.svg");
  --corner-roundness: 0.9375rem;
}

/*lenis styling code here for smooth scrolling on webpage*/
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* Global CSS Code Here */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-bold);
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

p {
  font-family: var(--font-regular);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--regular-text-color);
}

p.subheading-text {
  color: var(--regular-text-color-white);
}

p.regular-text {
  font-size: 1rem;
  color: var(--regular-text-color);
}

p.regular-white-text {
  color: var(--regular-text-color-white);
}

a {
  font-family: var(--font-bold);
  line-height: 1;
  font-size: 1rem;
}

.highlight-text {
  position: relative;
  z-index: 0;
}

.highlight-text::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 5%;
  top: 90%;
  background-image: var(--heading-highlighter);
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
}

.ml-button {
  display: inline-block;
  background-color: var(--primary-color);
  border-radius: 30px;
  color: var(--white-color);
  text-decoration: none;
  padding: 0.6rem 1.8rem;
  transition: 0.6s ease;
}

.ml-button-white {
  background-color: var(--white-color);
  color: var(--black-color);
}

.ml-button-white svg path {
  fill: var(--black-color);
}

.ml-button span {
  margin-left: 1rem;
}

.ml-button span svg {
  width: 1.2rem;
  transition: 0.6s ease;
}

.ml-button:hover span svg {
  transform: rotate(-45deg);
}

.ml-button:active {
  transform: scale(1.05);
}

#learn-button {
  display: inline-block;
  font-size: 1.1rem;
  font-family: var(--font-regular);
  color: #fff;
  text-decoration: none;
  position: relative;
}

#learn-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20%;
  width: 100%;
  height: 2px;
  background-color: white;
  transition: all ease 0.6s;
}

#learn-button:hover::after {
  width: 0%;
}

#learn-button.black {
  color: #000;
}

#learn-button.black::after {
  background-color: #000;
}

#toast-container {
  position: fixed;
  bottom: 40px;
  left: 40px;
  z-index: 1000;
  overflow: hidden;
}

.toast {
  background-color: #92d050;
  color: var(--white-color);
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 10px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(20px);
  font-family: var(--font-regular);
  font-size: 1.05rem;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.hide {
  opacity: 0;
  transform: translateY(20px);
}

@media screen and (max-width: 991px) {
  /* Declear variable again for mobile responsiveness */
  :root {
    --border-radius: 6.875rem;
    --section-spacing: 3.75rem 0;
    --corner-roundness: 0.9375rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.8rem;
  }

  p {
    font-size: 1rem;
  }
}
