@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');
:root{
  --base-clr: #F5F5F7;
  --line-clr: #5154db;
  --hover-clr: #ffffff;
  --text-clr: #1D1D1F;
  --accent-clr: #ffffff;
  --secondary-text-clr: #1D1D1F;
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}

html{
  font-family: Poppins, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5rem;
  scroll-behavior: smooth;
}





/* Active link base - 3 sided square rotation around active link
.nav-links a.active {
  position: relative;
  color: #4CAF50;
  font-weight: 600;
  padding: 6px 2px;
}


.nav-links a.active::before {
  content: "";
  position: absolute;
  inset: -6px; 
  border-radius: 8px;
  padding: 2px;

  background:
    conic-gradient(
      from 0deg,
      transparent 0deg,
      #4CAF50 90deg,
      transparent 180deg,
      transparent 360deg
    );


  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  animation: spinBorder 2.8s linear infinite;

 
  box-shadow:
    0 0 8px rgba(76, 175, 80, 0.7),
    0 0 16px rgba(76, 175, 80, 0.5);
}


@keyframes spinBorder {
  to {
    transform: rotate(360deg);
  }
}*/





body{
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--base-clr);
    color: var(--text-clr);
  }




main section{
  padding: 0;
}

main p{
  color: var(--secondary-text-clr);
  margin-top: 5px;
  margin-bottom: 15px;
}


/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 24px;

  background-image: url(/photos/left_side_of_image_space_with_stars_transitioning_to_right_side_of_image_man_climbing_a_cliff_face_i_2682979167.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark overlay for readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.2)
  );
  z-index: 1;
}

/* Content container */
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  color: #ffffff;
}

/* Headline */
.hero-container h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 720px;
  color: #ffffff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6), 1px 1px 3px rgba(0,0,0,0.4);
}

/* Subtext */
.hero-container p {
  margin-top: 20px;
  font-size: 1.1rem;
  font-weight: 500;
  max-width: 560px;
  opacity: 0.95;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Actions */
.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.primary-btn {
  position: relative;
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 14px;
  color: #fff;
  background: rgba(47, 202, 52, 0.829); /* semi-transparent green */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3), 0 0 15px rgba(76,175,80,0.4) inset;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

.primary-btn {
  text-decoration: none; /* removes underline */
}

.primary-btn span {
  text-decoration: none; /* extra safeguard for the span */
}


.primary-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35), 0 0 30px rgba(76,175,80,0.5) inset;
}

.primary-btn:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3), 0 0 15px rgba(76,175,80,0.4) inset;
}

/* Sparkle effect */
.primary-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.6) 2%, transparent 2%);
  background-size: 15% 15%;
  animation: sparkleMove 2s linear infinite;
  border-radius: 14px;
}

/* Keep text above sparkles */
.primary-btn span {
  position: relative;
  z-index: 2;
  text-shadow: 0 0 5px rgba(255,255,255,0.3), 0 0 10px rgba(0,0,0,0.2);
}

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


/* Secondary CTA */
.secondary-btn {
  color: #ffffff;
  opacity: 0.85;
  font-weight: 500;
  text-decoration: underline;
  align-self: center;
}

.secondary-btn:hover {
  opacity: 1;
}

/* Trust line */
.hero-trust {
  margin-top: 22px;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Entrance animation */
.hero-container > * {
  animation: heroFade 0.9s ease forwards;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile refinement */
@media (max-width: 768px) {
  .hero-section {
    padding: 120px 20px 80px;
    min-height: auto;
    text-align: center;
  }

  .hero-container p,
  .hero-container h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

.calltoaction {
  background: #ff6f61;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255,111,97,0.5);
  transition: all 0.3s ease;
}

.calltoaction:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255,111,97,0.7);
}
/* ============================
   LIGHT PREMIUM OPTIONS */
/* ========================
   OPTIONS SECTION
======================== */

.options {
  background: linear-gradient(135deg, #f7f9fb 0%, #e6f7ff 100%);
  padding: 140px 20px 120px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.options-header h1 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  color: #111827;
}

.options-header p {
  font-size: 1.25rem;
  line-height: 1.9;
  max-width: 720px;
  margin: 0 auto 60px;
  color: #4b5563;
  letter-spacing: 0.3px;
}

/* ========================
   CARDS GRID
======================== */
.cards-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}



/* ========================
   PREMIUM CARD DESIGN
======================== */
/* ========================
   PREMIUM CARD DESIGN - CRYSTAL STYLE
======================== */
.premium-card {
  position: relative;
  padding: 36px 28px;
  border-radius: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  overflow: hidden;
  color: #fff;

  /* Base crystal glass */
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15), inset 0 0 12px rgba(255,255,255,0.05);

  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Jewel color variants */
.card-blue {
  background: linear-gradient(145deg, rgba(47, 59, 137, 0.73), rgba(75, 89, 193, 0.4));
  box-shadow: 0 12px 40px rgba(46, 58, 140, 0.3), inset 0 0 18px rgba(255,255,255,0.08);
}

.card-purple {
  background: linear-gradient(145deg, rgba(91, 62, 158, 0.71), rgba(123, 95, 193, 0.4));
  box-shadow: 0 12px 40px rgba(90, 62, 158, 0.3), inset 0 0 18px rgba(255,255,255,0.08);
}

.card-green {
  background: linear-gradient(145deg, rgba(34, 224, 141, 0.87), rgba(45, 163, 107, 0.4));
  box-shadow: 0 12px 40px rgba(18, 116, 73, 0.3), inset 0 0 18px rgba(255,255,255,0.08);
}

/* Faceted overlay */
.premium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255,255,255,0.05) 0deg 20deg,
    rgba(255,255,255,0) 20deg 40deg
  );
  mix-blend-mode: overlay;
  pointer-events: none;
  opacity: 0.7;
  transition: all 0.3s ease;
  z-index: 1;
}

/* Mouse shimmer overlay */
.premium-card::after {
  content: "";
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: 250%;
  height: 250%;
  background: radial-gradient(circle, rgba(255,255,255,0.35) 2%, rgba(255,255,255,0) 50%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 24px;
  mix-blend-mode: overlay;
  opacity: 0.8;
  z-index: 2;
}

/* Card Icon/Image */
.card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  z-index: 3;
  position: relative;
}

/* Hover pop/scale for icon */
.premium-card:hover .card-icon {
  transform: scale(1.25) rotate(12deg);
}

/* Hover Effects */
.premium-card:hover {
  transform: translateY(-10px) scale(1.04) rotateX(2deg) rotateY(3deg);
  box-shadow: 0 25px 60px rgba(0,0,0,0.25), inset 0 0 25px rgba(255,255,255,0.15);
}

/* Hover reflection */
.premium-card:hover::before {
  transform: rotate(45deg) translateX(100%);
  opacity: 0.6;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .card-icon { font-size: 2.2rem; }
  .premium-card h3 { font-size: 1.3rem; }
  .premium-card p { font-size: 0.9rem; }
}



/* ============================
   MODULE EXAMPLES SECTION
============================ */
.module-examples {
  padding: 100px 20px 80px;
  background: linear-gradient(135deg, #f7f9fb 0%, #e6f7ff 100%);
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.module-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #111827;
}

.module-header p {
  font-size: 1.15rem;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto 60px;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.example-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 24px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.example-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2), inset 0 0 25px rgba(255,255,255,0.1);
}

.example-img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 20px;
  transition: transform 0.5s ease;
}

.example-card:hover .example-img {
  transform: scale(1.05) rotate(-2deg);
}

.example-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111827;
}

.example-card p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.5;
}


  /*  .row{
      margin-top: 5%;
      display: flex;
      justify-content: space-between;
    }

    .offer-column{
      flex-basis: 31%;
      background: #fff3f3;
      border-radius: 10px;
      margin-bottom: 5%;
      padding: 20px 12px;
      box-sizing: border-box;
      transition: 0.5s;
      box-shadow: 0 0 5px 0px rgba(0,0,0,0.2);
    

      a{
        text-decoration: none;
        color: #000;
      }

      h3{
        text-align: center;
        font-weight: 600;
        margin: 10px 0;

      }
    }
    .offer-column:hover{
      box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.465);
      
    } 
      */

.popularmodules{
  width:80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;

  h1{
    font-size: 36px;
    font-weight: 600;
  }


}

.row2{
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}

.popularelearning{
  flex-basis: 32%;
  border-radius:15px;
  margin-bottom: 30px;
  position:relative;
  overflow: hidden;


}


.popularelearning img{
  width:100%;
  display: block;
}

.layer{
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;

}

.layer:hover{
  background: rgba(255, 127, 80, 0.703);

}

.layer  h3{
  text-decoration: none;
  color: #ffffff;
  width: 100%;
  font-weight: 500;
  font-size: 26px;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  transition: 0.5s;
}

.layer:hover h3{
  bottom: 49%;
  opacity: 1;

}



#progress {
  position: fixed;
  bottom: 50px;
  right: 20px;
  height: 70px;
  width: 70px;
  display: grid;
  place-items: center;
  border-radius: 30%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.95);
  cursor: pointer;
  z-index: 9999; /* add this */
}

#progress img {
  height: 58px;
  width: 58px;
}

#progress-value {
  display: block;
  height: calc(100% - 100px);
  width: calc(100% - 100px);
  background-color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 35px;
  color: #001a2e;
}

#progress:hover {
  filter: invert(100%);
}





