.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff; /* Adjust to match your design */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optional shadow effect */
  transition: all 0.3s ease;
}


/* body {
  padding-top: 15px; /* Adjust this value based on your header height 
} */

:root {

  /**
   * colors
   */

  --selective-yellow: hsl(42, 94%, 55%);
  --eerie-black-1: hsl(0, 0%, 9%);
  --eerie-black-2: hsl(180, 3%, 7%);
  --quick-silver: hsl(0, 0%, 65%);
  --radical-red: #f31668;
  --light-gray: hsl(0, 0%, 80%);
  --isabelline: hsl(36, 33%, 94%);
  --gray-x-11: hsl(0, 0%, 73%);
  --kappel_15: rgba(8, 189, 183, 0.15);
  --platinum: hsl(0, 0%, 90%);
  --gray-web: hsl(0, 0%, 50%);
  --black_80: hsla(0, 0%, 0%, 0.8);
  --white_50: hsla(0, 0%, 100%, 0.5);
  --black_50: hsla(0, 0%, 0%, 0.5);
  --black_30: hsla(0, 0%, 0%, 0.3);
  --kappel: #08bdb7;
  --brand-teal: #08bdb7;
  --brand-pink: #f31668;
  --brand-navy: #061a44;
  --brand-gradient: linear-gradient(90deg, var(--brand-teal), var(--brand-pink) 58%, var(--brand-navy));
  --white: hsl(0, 0%, 100%);

  /**
   * gradient color
   */

  --gradient: linear-gradient(-90deg, #061a44 0%, #f31668 50%, #08bdb7 100%);

  /**
   * typography
   */

  --ff-league_spartan: 'League Spartan', sans-serif;
  --ff-poppins: 'Poppins', sans-serif; 

  --fs-1: 3.8rem;
  --fs-2: 2.9rem;
  --fs-3: 2.1rem;
  --fs-4: 1.65rem;
  --fs-5: 1.5rem;
  --fs-6: 1.4rem;
  --fs-7: 1.3rem;

  --fw-500: 500;
  --fw-600: 600;

  /**
   * spacing
   */

  --section-padding: 60px;

  /**
   * shadow
   */

  --shadow-1: 0 6px 15px 0 hsla(0, 0%, 0%, 0.05);
  --shadow-2: 0 10px 30px hsla(0, 0%, 0%, 0.06);
  --shadow-3: 0 10px 50px 0 hsla(220, 53%, 22%, 0.1);

  /**
   * radius
   */

  --radius-pill: 500px;
  --radius-circle: 50%;
  --radius-3: 3px;
  --radius-5: 5px;
  --radius-10: 10px;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);

}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  width: 48px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-text,
.logo-text {
  color: var(--brand-navy);
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--ff-league_spartan);
  font-size: clamp(2rem, 2.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a,
img,
span,
data,
input,
button,
ion-icon { display: block; }

a {
  color: inherit;
  text-decoration: none;
}

img { height: auto; }

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input { width: 100%; }

button { cursor: pointer; }

ion-icon { pointer-events: none; }

address { font-style: normal; }

html {
  font-family: var(--ff-poppins);
  font-size: 10px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--white);
  color: var(--gray-web);
  font-size: 1.6rem;
  line-height: 1.75;
  overflow-x: hidden;
}

:focus-visible { outline-offset: 4px; }

::-webkit-scrollbar { width: 10px; }

::-webkit-scrollbar-track { background-color: hsl(0, 0%, 98%); }

::-webkit-scrollbar-thumb { background-color: hsl(0, 0%, 80%); }

::-webkit-scrollbar-thumb:hover { background-color: hsl(0, 0%, 70%); }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/


h1,.img-holder.one,.img-holder.two {
  opacity: 0;
  transform: translateX(-50px);
  animation: slidein 3s ease-out forwards;
}

@keyframes slidein {
  from {
      opacity: 0;
      transform: translateX(-50px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}


.container {
  width: min(100% - 30px, 1185px);
  padding-inline: 0;
}

.section { padding-block: var(--section-padding); }

@supports (-moz-appearance: none) {
  @media (min-width: 992px) {
    html {
      font-size: 10.6px;
    }
  }

  @media (min-width: 1200px) {
    :root {
      --fs-1: 5.6rem;
      --fs-2: 4.35rem;
      --section-padding: 96px;
    }
  }
}

.shape {
  position: absolute;
  display: none;
}

.has-bg-image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.h1,
.h2,
.h3 {
  color: var(--eerie-black-1);
  font-family: var(--ff-league_spartan);
  line-height: 1;
}

.h1,
.h2 { font-weight: var(--fw-600); }

.h1 { font-size: var(--fs-1); }

.h2 { font-size: var(--fs-2); }

.h3 {
  font-size: var(--fs-3);
  font-weight: var(--fw-500);
}

.section-title {
  --color: var(--radical-red);
  text-align: center;
}

.section-title .span {
  display: inline-block;
  color: var(--color);
}

.btn {
  background-color: var(--kappel);
  color: var(--white);
  font-family: var(--ff-league_spartan);
  font-size: var(--fs-4);
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: max-content;
  padding: 10px 20px;
  border-radius: var(--radius-5);
  overflow: hidden;
}

.has-before,
.has-after {
  position:relative;
  z-index: 1;
}

.has-before::before,
.has-after::after {
  position: absolute;
  content: "";
}

.btn::before {
  inset: 0;
  background-image: var(--gradient);
  z-index: -1;
  border-radius: inherit;
  transform: translateX(-100%);
  transition: var(--transition-2);
}

.btn:is(:hover, :focus)::before { transform: translateX(0); }

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
  overflow: hidden;
}

/*-----------------------------------*\
  #SUBSCRIPTION
\*-----------------------------------*/

.subscription {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(8, 189, 183, 0.14), transparent 32%),
    radial-gradient(circle at 88% 20%, rgba(243, 22, 104, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.subscription .section-subtitle {
  color: var(--kappel);
}

.subscription .section-title {
  max-width: 760px;
  margin-inline: auto;
  margin-block-end: 18px;
}

.subscription-text {
  max-width: 780px;
  margin-inline: auto;
  margin-block-end: 42px;
  color: var(--gray-web);
  text-align: center;
  font-size: 1.7rem;
}

.subscription-grid {
  display: grid;
  gap: 24px;
}

.subscription-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
  border: 1px solid rgba(6, 26, 68, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(6, 26, 68, 0.1);
  transition: transform var(--transition-1), box-shadow var(--transition-1), border-color var(--transition-1);
}

.subscription-card:hover {
  transform: translateY(-8px);
  border-color: rgba(8, 189, 183, 0.36);
  box-shadow: 0 26px 64px rgba(6, 26, 68, 0.15);
}

.subscription-card.featured {
  border: 2px solid rgba(243, 22, 104, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 251, 0.92));
}

.popular-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  width: max-content;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--brand-gradient);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
}

.subscription-card-head {
  padding-block-end: 22px;
  border-block-end: 1px solid rgba(6, 26, 68, 0.1);
}

.plan-kicker {
  color: var(--kappel);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.2rem;
}

.plan-title {
  margin-block: 10px 16px;
  color: var(--brand-navy);
  line-height: 1.12;
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  color: var(--brand-pink);
  font-family: var(--ff-league_spartan);
  font-size: 4.6rem;
  font-weight: 800;
  line-height: 0.9;
}

.plan-price span {
  display: inline;
  font-size: 2rem;
  line-height: 1;
}

.plan-price small {
  color: var(--gray-web);
  font-family: var(--ff-poppins);
  font-size: 1.4rem;
  font-weight: 600;
}

.plan-features {
  display: grid;
  gap: 12px;
  margin-block: 24px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--brand-navy);
  font-weight: 600;
}

.plan-features ion-icon {
  display: block;
  flex: 0 0 auto;
  margin-block-start: 3px;
  color: var(--kappel);
  font-size: 2rem;
}

.plan-btn {
  margin-block-start: auto;
  justify-content: center;
  max-width: 100%;
}

.subscription-note {
  max-width: 760px;
  margin: 28px auto 0;
  padding: 16px 20px;
  border: 1px solid rgba(8, 189, 183, 0.18);
  border-radius: 10px;
  background: rgba(8, 189, 183, 0.08);
  color: var(--brand-navy);
  text-align: center;
  font-weight: 600;
}

.chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background-color: var(--white);
  border-radius: var(--radius-10);
  box-shadow: var(--shadow-3);
  z-index: 1000;
  display: none; /* Ensure it's hidden by default */
}

.chatbot-container[hidden] {
  display: none; /* Ensure it's hidden when the hidden attribute is present */
}
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Search Container */
.search-container {
position: relative;
}

/* Search Box */
.search-box {
position: absolute;
top: 100%;
right: 0;
background-color: var(--white);
border: 1px solid var(--platinum);
border-radius: var(--radius-5);
box-shadow: var(--shadow-1);
padding: 10px;
opacity: 0;
visibility: hidden;
transform: translateY(-10px);
transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
z-index: 1000;
}

/* Show Search Box */
.search-box.active {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

/* Search Input */
.search-input {
width: 200px;
padding: 8px;
border: 1px solid var(--platinum);
border-radius: var(--radius-5);
font-size: var(--fs-5);
}
.section-subtitle {
  font-size: var(--fs-5);
  text-transform: uppercase;
  font-weight: var(--fw-500);
  letter-spacing: 1px;
  text-align: center;
  margin-block-end: 15px;
}

.section-text {
  font-size: var(--fs-5);
  text-align: center;
  margin-block: 15px 25px;
}

.grid-list {
  display: grid;
  gap: 30px;
}

.category-card,
.stats-card { 
  background-color: hsla(var(--color), 0.1); 

}

:is(.course, .blog) .section-title { margin-block-end: 40px; }

.category-card {
  padding: 50px 30px;
  text-align: center;
  border-radius: var(--radius-5);
  background-color: hsla(var(--color), 0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  transform: translateY(0);
  box-shadow: var(--shadow-1);
}

.category-card:hover {
  transform: translateY(-10px); /* Move the card up slightly */
  box-shadow: var(--shadow-3); /* Add a deeper shadow for a lifted effect */
}

.category-card .card-icon {
  background-color: hsla(var(--color), 0.1);
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-circle);
  margin-inline: auto;
  margin-block-end: 30px;
  transition: transform 0.5s ease;
}

.category-card:hover .card-icon {
  transform: scale(1.1); /* Slightly enlarge the icon */
}

.category-card .card-text {
  color: var(--eerie-black-1);
  font-size: var(--fs-5);
  margin-block: 15px 25px;
  transition: color 0.5s ease;
}

.category-card:hover .card-text {
  color: var(--kappel); /* Change text color on hover */
}

.category-card .card-badge {
  background-color: hsla(var(--color), 0.1);
  color: hsl(var(--color));
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
  padding: 2px 18px;
  max-width: max-content;
  margin-inline: auto;
  border-radius: var(--radius-5);
  transition: background-color 0.5s ease, color 0.5s ease;
}

.category-card:hover .card-badge {
  background-color: var(--kappel); /* Change badge background color on hover */
  color: var(--white); /* Change badge text color on hover */
}



/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header .btn { display: none; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  height: 68px;
  padding-block: 0;
  box-shadow: var(--shadow-1);
  z-index: 4;
}

.header.active { position: fixed; }

.header .container,
.header-actions,
.navbar .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.header .container {
  height: 100%;
  min-height: 0;
}

.header-action-btn,
.nav-close-btn {
  position: relative;
  color: var(--eerie-black-1);
  font-size: 24px;
  transition: var(--transition-1);
}
/* Modal Styles */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1000; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
transition: opacity 0.3s ease; /* Smooth fade-in and fade-out */
}

.modal-content {
background-color: var(--white);
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
border: 1px solid var(--platinum);
border-radius: var(--radius-10);
width: 80%; /* Could be more or less, depending on screen size */
max-width: 400px; /* Maximum width */
text-align: center;
box-shadow: var(--shadow-3);
position: relative;
transform: translateY(-20px); /* Start slightly above */
opacity: 0; /* Start invisible */
transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth slide-in and fade-in */
}

.modal.active .modal-content {
transform: translateY(0); /* Move to original position */
opacity: 1; /* Fully visible */
}

.close-modal {
color: var(--gray-web);
position: absolute;
top: 10px;
right: 15px;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
color: var(--eerie-black-1);
text-decoration: none;
}
.header-action-btn:is(:hover, :focus) { color: var(--kappel); }

.header-action-btn .btn-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: var(--kappel);
  color: var(--white);
  font-family: var(--ff-league_spartan);
  font-size: var(--fs-6);
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-circle);
}

.navbar {
  position: fixed;
  top: 0;
  left: -320px;
  background-color: var(--white);
  width: 100%;
  max-width: 320px;
  height: 100%;
  z-index: 2;
  transition: 0.25s var(--cubic-in);
}

.navbar.active {
  transform: translateX(320px);
  transition: 0.5s var(--cubic-out);
}

.navbar .wrapper {
  padding: 15px 20px;
  border-block-end: 1px solid var(--platinum);
}

.nav-close-btn {
  background-color: var(--white);
  box-shadow: var(--shadow-2);
  padding: 8px;
  border-radius: var(--radius-circle);
}

.nav-close-btn:is(:hover, :focus) {
  background-color: var(--kappel);
  color: var(--white);
}

.navbar-list { padding: 15px 20px; }

.navbar-item:not(:last-child) { border-block-end: 1px solid var(--platinum); }

.navbar-link {
  padding-block: 8px;
  font-weight: var(--fw-500);
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus) { color: var(--kappel); }

.overlay {
  position: fixed;
  inset: 0;
  background-color: var(--black_80);
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  transition: var(--transition-1);
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero { padding-block-start: calc(var(--section-padding) + 56px); }

.hero .container {
  display: grid;
  gap: 40px;
}

.hero-text {
  color: var(--eerie-black-1);
  font-size: var(--fs-4);
  text-align: center;
  margin-block: 18px 20px;
}

.hero .section-title {
  margin-block-end: 16px;
}

.hero .btn { margin-inline: auto; }

.hero-banner {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: flex-start;
  gap: 30px;
}

.hero-banner img,
.about-banner img,
.video-banner img,
.video-banner video,
.blog-card img {
  max-width: 100%;
}

.hero-banner .img-holder.one {
  max-width: 270px;
  border-top-right-radius: 70px;
  border-bottom-left-radius: 110px;
}

.hero-banner .img-holder.two {
  max-width: 240px;
  border-top-left-radius: 50px;
  border-bottom-right-radius: 90px;
}





/*-----------------------------------*\
  #CATEGORY
\*-----------------------------------*/

.category .section-subtitle { color: var(--radical-red); }

.category .section-title { --color: var(--kappel); }

.category .section-text { margin-block-end: 40px; }

.category-card {
  padding: 50px 30px;
  text-align: center;
  border-radius: var(--radius-5);
}

.category-card .card-icon {
  background-color: hsla(var(--color), 0.1);
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-circle);
  margin-inline: auto;
  margin-block-end: 30px;
}

.category-card .card-text {
  color: var(--eerie-black-1);
  font-size: var(--fs-5);
  margin-block: 15px 25px;
}

.category-card .card-badge {
  background-color: hsla(var(--color), 0.1);
  color: hsl(var(--color));
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
  padding: 2px 18px;
  max-width: max-content;
  margin-inline: auto;
  border-radius: var(--radius-5);
}





/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about {
  padding-block-start: 0;
  overflow: hidden;
}

.about .container {
  display: grid;
  gap: 30px;
}

.about-banner {
  position: relative;
  z-index: 1;
}

.about-banner .img-holder { border-radius: var(--radius-10); }

.about-shape-2 {
  display: block;
  bottom: -100px;
  left: -60px;
  animation: bounce 2.5s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% { transform: translateY(0); }

  40% { transform: translateY(-30px); }

  60% { transform: translateY(-15px); }
}

.about :is(.section-subtitle, .section-title, .section-text) {
  text-align: left;
}

.about-item {
  margin-block: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.about-item ion-icon {
  color: var(--selective-yellow);
  font-size: 20px;
  --ionicon-stroke-width: 50px;
}

.about-item .span {
  color: var(--eerie-black-1);
  font-family: var(--ff-league_spartan);
}





/*-----------------------------------*\
  #COURSE
\*-----------------------------------*/

.course { background-color: var(--isabelline); }

.course-card {
  position: relative;
  background-color: var(--white);
  border-radius: var(--radius-5);
  overflow: hidden;
}

.course-card .img-cover { transition: var(--transition-2); }

.course-card:is(:hover, :focus-within) .img-cover { transform: scale(1.1); }

.course-card :is(.abs-badge, .badge) {
  font-family: var(--ff-league_spartan);
  border-radius: var(--radius-3);
}

.course-card .abs-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--selective-yellow);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
  padding: 6px 8px;
  padding-block-end: 3px;
}

.course-card .abs-badge ion-icon {
  font-size: 18px;
  margin-block-end: 5px;
  --ionicon-stroke-width: 50px;
}

.course-card .card-content { padding: 25px; }

.course-card .badge {
  background-color: var(--kappel_15);
  max-width: max-content;
  color: var(--kappel);
  line-height: 25px;
  padding-inline: 10px;
}

.course-card .card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  --webkit-line-clamp: 2;
  overflow: hidden;
  margin-block: 15px 8px;
  transition: var(--transition-1);
}

.course-card .card-title:is(:hover, :focus) { color: var(--kappel); }

.course-card :is(.wrapper, .rating-wrapper, .card-meta-list, .card-meta-item) {
  display: flex;
  align-items: center;
}

.course-card .wrapper { gap: 10px; }

.course-card .rating-wrapper { gap: 3px; }

.course-card .rating-wrapper ion-icon { color: var(--selective-yellow); }

.course-card .rating-text {
  color: var(--eerie-black-1);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
}

.course-card .price {
  color: var(--radical-red);
  font-family: var(--ff-league_spartan);
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
  margin-block: 8px 15px;
}

.course-card .card-meta-list { flex-wrap: wrap; }

.course-card .card-meta-item {
  position: relative;
  gap: 5px;
}

.course-card .card-meta-item:not(:last-child)::after {
  content: "|";
  display: inline-block;
  color: var(--platinum);
  padding-inline: 10px;
}

.course-card .card-meta-item ion-icon {
  color: var(--quick-silver);
  --ionicon-stroke-width: 50px;
}

.course-card .card-meta-item .span {
  color: var(--eerie-black-1);
  font-size: var(--fs-7);
}

.course .btn {
  margin-inline: auto;
  margin-block-start: 60px;
}





/*-----------------------------------*\
  #VIDEO
\*-----------------------------------*/

.video {
  background-size: contain;
  background-position: center top;
}

.video-banner {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 5px solid var(--black_30);
  border-top-right-radius: 60px;
  border-bottom-left-radius: 120px;
  box-shadow: 0 28px 70px rgba(6, 26, 68, 0.18);
}

.video-banner video {
  display: block;
  background: var(--black);
}

.video .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--radical-red);
  font-size: 30px;
  padding: 16px;
  color: var(--white);
  border-radius: var(--radius-circle);
  box-shadow: 0 0 0 0 var(--white_50);
  z-index: 1;
  animation: pulse 3s ease infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--white_50); }
  100% { box-shadow: 0 0 0 20px transparent; }
}

.video-banner::after {
  inset: 0;
  background-color: var(--black_30);
}





/*-----------------------------------*\
  #STATS
\*-----------------------------------*/

.stats-card {
  text-align: center;
  padding: 25px;
  border-radius: var(--radius-10);
  box-shadow: 0px 6px 6px 0px rgba(169, 93, 78, 0.3);
}

.stats-card :is(.card-title, .card-text) { font-family: var(--ff-league_spartan); }

.stats-card .card-title {
  color: hsl(var(--color));
  font-size: var(--fs-2);
  line-height: 1.1;
}

.stats-card .card-text {
  color: var(--eerie-black-1);
  text-transform: uppercase;
}





/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(8, 189, 183, 0.18), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(243, 22, 104, 0.14), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.blog .section-subtitle {
  color: var(--brand-pink);
}

.blog .section-title {
  max-width: 720px;
  margin-inline: auto;
}

.blog-card {
  position: relative;
  height: 100%;
  padding: 8px;
  border: 1px solid rgba(6, 26, 68, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(6, 26, 68, 0.1);
  backdrop-filter: blur(18px);
  transition: transform var(--transition-1), box-shadow var(--transition-1), border-color var(--transition-1);
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(8, 189, 183, 0.34);
  box-shadow: 0 26px 64px rgba(6, 26, 68, 0.16);
}

.blog-card .card-banner {
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  aspect-ratio: 370 / 250;
}

.blog-card .card-banner .img-cover { transition: var(--transition-2); }

.blog-card .card-banner::after {
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6, 26, 68, 0.48));
  opacity: 1;
  transition: var(--transition-1);
}

.blog-card:is(:hover, :focus-within) .card-banner .img-cover { transform: scale(1.1); }

.blog-card .card-content {
  position: relative;
  min-height: 235px;
  margin-inline: 12px;
  margin-block-start: -58px;
  padding: 42px 20px 20px;
  border: 1px solid rgba(6, 26, 68, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 100% 0%, rgba(8, 189, 183, 0.12), transparent 36%);
  box-shadow: 0 18px 44px rgba(6, 26, 68, 0.12);
  z-index: 1;
}

.blog-card .card-content::before {
  content: "\201C";
  position: absolute;
  top: -22px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--brand-gradient);
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 4.8rem;
  line-height: 1;
  box-shadow: 0 16px 34px rgba(243, 22, 104, 0.24);
}

.blog-card :is(.card-meta-item, .card-text, .card-subtitle) {
  font-size: var(--fs-5);
}

.blog-card .card-subtitle {
  display: inline-flex;
  width: max-content;
  margin-block-end: 8px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(8, 189, 183, 0.1);
  color: var(--brand-navy);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-card .card-title {
  color: var(--brand-navy);
  font-weight: 700;
  line-height: 1.08;
  margin-block: 0 12px;
}

.blog-card :is(.card-meta-list, .card-meta-item) { display: flex; }

.blog-card .card-meta-list {
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-block-end: 12px;
}

.blog-card .card-meta-item {
  width: max-content;
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  background: rgba(6, 26, 68, 0.05);
  gap: 10px;
  align-items: center;
  color: var(--brand-navy);
  font-weight: 700;
}

.blog-card .card-meta-item ion-icon {
  color: var(--kappel);
  font-size: 18px;
  --ionicon-stroke-width: 40px;
}

.blog-card .card-text {
  color: var(--gray-web);
  line-height: 1.55;
}





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background-repeat: no-repeat;
  background-color: var(--eerie-black-2);
  color: var(--gray-x-11);
  font-size: var(--fs-5);
}

.footer-top {
  display: grid;
  gap: 30px;
}

.footer-brand-text { margin-block: 20px; }

.footer-brand .wrapper {
  display: flex;
  gap: 5px;
}

.footer-brand .wrapper .span { font-weight: var(--fw-500); }

.footer-link { transition: var(--transition-1); }

.footer-link:is(:hover, :focus) { color: var(--kappel); }

.footer-list-title {
  color: var(--white);
  font-family: var(--ff-league_spartan);
  font-size: var(--fs-3);
  font-weight: var(--fw-600);
  margin-block-end: 10px;
}

.footer-list .footer-link { padding-block: 5px; }

.newsletter-form { margin-block: 20px 35px; }

.newsletter-form .input-field {
  background-color: var(--white);
  padding: 12px;
  border-radius: var(--radius-5);
  margin-block-end: 20px;
}

.newsletter-form .btn {
  min-width: 100%;
  justify-content: center;
}

.social-list {
  display: flex;
  gap: 25px;
}

.social-link { font-size: 20px; }

.footer-bottom {
  border-block-start: 1px solid var(--eerie-black-1);
  padding-block: 30px;
}

.copyright { text-align: center; }

.copyright-link {
  color: var(--kappel);
  display: inline-block;
}





/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  background-color: var(--kappel);
  color: var(--white);
  font-size: 20px;
  padding: 15px;
  border-radius: var(--radius-circle);
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-1);
}

.back-top-btn.active {
  transform: translateY(10px);
  opacity: 1;
  pointer-events: all;
}





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 575px screen
 */
/* Add this to your CSS file (PROJJ.CSS) */

@media (min-width: 575px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

  .grid-list { grid-template-columns: 1fr 1fr; }

  :is(.course, .blog) .grid-list { grid-template-columns: 1fr; }



  /**
   * HEADER
   */

  .header .container { max-width: unset; }

  .header-actions { gap: 30px; }



  /**
   * HERO
   */

  .hero-banner { grid-template-columns: 1fr 0.9fr; }



  /**
   * VIDEO
   */

  .video .play-btn { padding: 25px; }



  /**
   * STATS
   */

  .stats-card { padding: 40px 30px; }



  /**
   * FOOTER
   */

  .footer-brand,
  .footer-list:last-child { grid-column: 1 / 3; }

  .newsletter-form {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .newsletter-form .input-field { margin-block-end: 0; }

  .newsletter-form .btn { min-width: max-content; }

}





/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 4rem;
    --fs-2: 3.2rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }

  .btn { padding: 15px 30px; }

  :is(.course, .blog) .grid-list { grid-template-columns: 1fr 1fr; }



  /**
   * HEADER
   */

  .header .container { padding-inline: 30px; }

  .header .btn {
    display: flex;
    padding: 8px 24px;
    margin-inline: 16px;
  }



  /**
   * HERO
   */

  .hero { padding-block-start: calc(var(--section-padding) + 58px); }

  .hero .container { gap: 50px; }

  .hero-text { margin-block-end: 30px; }

  .hero-banner {
    position: relative;
    z-index: 1;
  }

  .hero-banner .img-holder { max-width: max-content; }

  .hero-banner .img-holder.one { justify-self: flex-end; }

  .hero-banner .img-holder.two { margin-block-start: 70px; }

  .hero-shape-1 {
    display: block;
    position: absolute;
    bottom: -40px;
    left: -10px;
  }



  /**
   * ABOUT
   */

  .about { padding-block-start: 50px; }

  .about-banner {
    padding: 60px;
    padding-inline-end: 0;
  }

  .about-banner .img-holder {
    max-width: max-content;
    margin-inline: auto;
  }

  .about-shape-1 {
    display: block;
    top: -40px;
    right: -70px;
  }



  /**
   * FOOTER
   */

  .footer-brand,
  .footer-list:last-child { grid-column: auto; }

  .newsletter-form .btn { padding-block: 10px; }

  .subscription-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

}





/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 4.4rem;
    --fs-2: 3.6rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 940px; }

  .grid-list { grid-template-columns: repeat(4, 1fr); }

  :is(.course, .blog) .grid-list { grid-template-columns: repeat(3, 1fr); }



  /**
   * HERO
   */

  .hero .container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero .section-title,
  .hero-text { text-align: left; }

  .hero .btn { margin-inline: 0; }



  /**
   * ABOUT
   */

  .about .container {
    grid-template-columns: 1fr 0.6fr;
    align-items: center;
    gap: 60px;
  }



  /**
   * VIDEO
   */

  .video-banner {
    max-width: 88%;
    margin-inline: auto;
  }



  /**
   * FOOTER
   */

  .footer .grid-list { grid-template-columns: 1fr 0.6fr 0.6fr 1.2fr; }

}





/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 5rem;
    --fs-2: 4rem;

    /**
     * spacing
     */

    --section-padding: 82px;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 1120px; }

  .shape { display: block; }

  .about-content,
  .video-card,
  .blog { position: relative; }



  /**
   * HEADER
   */

  .header-action-btn:last-child,
  .navbar .wrapper,
  .overlay { display: none; }

  .header.active {
    transform: translateY(-100%);
    animation: slideIn 0.5s ease forwards;
  }

  @keyframes slideIn {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(0); }
  }

  .navbar,
  .navbar.active { all: unset; }

  .navbar-list {
    display: flex;
    gap: 28px;
    padding: 0;
  }

  .navbar-item:not(:last-child) { border-block-end: none; }

  .navbar-link {
    color: var(--eerie-black-1);
    padding-block: 8px;
  }

  .header .btn { margin-inline-end: 0; }



  /**
   * HERO
   */

  .hero { padding-block-start: calc(var(--section-padding) + 58px); }

  .hero .container { gap: 56px; }

  .hero-shape-2 {
    top: -80px;
    z-index: -1;
  }



  /**
   * ABOUT
   */

  .about .container { gap: 72px; }

  .about-banner .img-holder { margin-inline: 0; }

  .about-shape-3 {
    top: -20px;
    left: -100px;
    z-index: -1;
  }

  .about-content { z-index: 1; }

  .about-shape-4 {
    top: 30px;
    right: -60px;
    z-index: -1;
  }



  /**
   * VIDEO
   */

  .video-shape-1 {
    top: -50px;
    left: 0;
  }

  .video-shape-2 {
    top: -80px;
    right: 120px;
    z-index: 1;
  }



  /**
   * BLOG
   */

  .blog-shape {
    top: 0;
    left: 0;
  }

}

#d33{
  /* color:hsl(170, 75%, 41%); */
  color: deeppink;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .header {
    height: 62px;
    padding: 0;
  }
  
  .header .container {
    padding: 0 15px;
  }
  
  .navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    transition: 0.3s ease;
    overflow-y: auto;
  }
  
  .navbar.active {
    left: 0;
  }
  
  .navbar-list {
    flex-direction: column;
    padding: 20px;
  }
  
  .navbar-item {
    margin: 10px 0;
  }
  
  .header-actions {
    margin-left: auto;
  }
  
  .header-action-btn[data-nav-toggler] {
    display: block;
    z-index: 1001;
  }
  
  .overlay[data-overlay] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
  }
  
  .overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  /* Adjust other header elements for mobile */
  .logo img {
    width: 40px;
    height: 38px;
  }

  .logo-text {
    font-size: 1.8rem;
    max-width: 150px;
    white-space: normal;
    line-height: 0.95;
  }
  
  .header-actions .btn {
    padding: 7px 14px;
    font-size: 14px;
  }
  
  /* Hide some elements on mobile */
  .form-group {
    display: none;
  }
  
  /* Adjust hero section for mobile */
  .hero-content {
    text-align: center;
  }
  
  .hero-banner {
    margin-top: 30px;
  }
  
  /* Make sure the 3D book is visible */
  #magic-book {
    right: 20px;
    top: 120px;
    width: 80px;
    height: 80px;
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .header-actions .btn .span {
    display: none;
  }
  
  .header-actions .btn i {
    margin-right: 0;
  }
  
  #magic-book {
    right: 10px;
    top: 100px;
    width: 60px;
    height: 60px;
  }
}

body.nav-active {
  overflow: hidden;
}

/* Mobile nav wrapper styles */
@media (max-width: 768px) {
  .navbar .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  
  .nav-close-btn {
    font-size: 24px;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  .mobile-logo {
    width: 120px;
    height: auto;
  }
}


@media (max-width: 768px) {
  .navbar-list {
    padding: 20px;
    margin-top: 0;
  }
  
  .navbar-item {
    margin: 15px 0;
  }
  
  .navbar-link {
    font-size: 18px;
    padding: 10px 0;
    display: block;
  }
}
