/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem; /*56px*/

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --hue: 152;
  --first-color: hsl(var(--hue), 24%, 32%);
  --first-color-alt: hsl(var(--hue), 24%, 28%);
  --first-color-light: hsl(var(--hue), 24%, 66%);
  --first-color-lighten: hsl(var(--hue), 24%, 92%);
  --title-color: hsl(var(--hue), 4%, 15%);
  --text-color: hsl(var(--hue), 4%, 35%);
  --text-color-light: hsl(var(--hue), 4%, 55%);
  --body-color: hsl(var(--hue), 0%, 100%);
  --container-color: #FFF;

  /*========== Training-specific accent colors ==========*/
  --accent-orange: hsl(25, 85%, 55%);
  --accent-green: hsl(142, 60%, 45%);
  --accent-purple: hsl(270, 60%, 55%);
  --accent-yellow: hsl(45, 90%, 55%);
  --gradient-primary: linear-gradient(135deg, hsl(var(--hue), 24%, 32%), hsl(var(--hue), 24%, 28%));
  --gradient-accent: linear-gradient(135deg, var(--accent-orange), var(--accent-purple));

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Poppins', sans-serif;
  --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margenes Bottom ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html{
  scroll-behavior: smooth;
}

body,
button,
input,
textarea{
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body{
  margin: var(--header-height) 0 0 0;
  background-color: var(--body-color);
  color: var(--text-color);
  transition: .4s; /*For animation dark mode*/
}

button{
  cursor: pointer;
  border: none;
  outline: none;
}

h1,h2,h3{
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul{
  list-style: none;
}

a{
  text-decoration: none;
}

img{
  max-width: 100%;
  height: auto;
}

/*=============== PAYMENT SCROLL (Packages) ===============*/
.payment-scroll{
  margin-top: 1rem;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.payment-scroll__track{
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: marquee-horizontal 14s linear infinite;
}

.payment-scroll__logo{
  height: 28px;
  filter: grayscale(0%);
  opacity: .9;
}

.payment-scroll__logo--mastercard{
  height: 26px;
}

@keyframes marquee-horizontal{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

/*=============== THEME ===============*/
/*========== Variables Dark theme ==========*/
body.dark-theme{
  --first-color-dark: hsl(var(--hue), 8%, 20%);
  --title-color: hsl(var(--hue), 4%, 95%);
  --text-color: hsl(var(--hue), 4%, 75%);
  --body-color: hsl(var(--hue), 8%, 12%);
  --container-color: hsl(var(--hue), 8%, 16%);
}

/*========== Button Dark/Light ==========*/
.change-theme{
  color: var(--title-color);
  font-size: 1.15rem;
  cursor: pointer;
}

.nav__btns{
  display: inline-flex;
  align-items: center;
  column-gap: 1rem;
}

/*========== 
Color changes in some parts of 
the website, in dark theme 
==========*/

.dark-theme .steps__bg,
.dark-theme .questions{
  background-color: var(--first-color-dark);
}

.dark-theme .product__circle,
.dark-theme .footer__subscribe{
  background-color: var(--container-color);
}

.dark-theme .scroll-header{
  box-shadow: 0 1px 4px hsla(var(--hue), 4%, 4%, .3);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section{
  padding: 5.5rem 0 1rem;
}

.section__title,
.section__title-center{
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2);
  line-height: 140%;
}

.section__title-center{
  text-align: center;
}

.container{
  max-width: 968px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid{
  display: grid;
}

.main{
  overflow: hidden; /*For animation*/
}

/*=============== HEADER ===============*/
.header{
  width: 100%;
  background-color: var(--body-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: .4s; /*For animation dark mode*/
}

/*=============== NAV ===============*/
.nav{
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo,
.nav__toggle,
.nav__close{
  color: var(--title-color);
}

.nav__logo{
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -1px;
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  transition: .3s;
}

.nav__logo-icon{
  font-size: 1.15rem;
  color: var(--first-color);
}

.nav__logo:hover{
  color: var(--first-color);
}

.nav__toggle{
  display: inline-flex;
  font-size: 1.25rem;
  cursor: pointer;
}

@media screen and (max-width: 767px){
  .nav__menu{
    position: fixed;
    background-color: var(--container-color);
    width: 80%;
    height: 100%;
    top: 0;
    right: -100%;
    box-shadow: -2px 0 4px hsla(var(--hue), 24%, 15%, .1);
    padding: 4rem 0 0 3rem;
    border-radius: 1rem 0 0 1rem;
    transition: .3s;
    z-index: var(--z-fixed);
  }
}

.nav__close{
  font-size: 1.5rem;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  cursor: pointer;
}

.nav__list{
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
}

.nav__link{
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: .3s;
}

.nav__link:hover{
  color: var(--first-color);
}

/* Show menu */
.show-menu{
  right: 0;
}

/* Change background header */
.scroll-header{
  box-shadow: 0 1px 4px hsla(var(--hue), 4%, 15%, .1);
}

/* Active link */
.active-link{
  position: relative;
  color: var(--first-color);
}

.active-link::after{
  content: '';
  position: absolute;
  bottom: -.5rem;
  left: 0;
  width: 50%;
  height: 2px;
  background-color: var(--first-color);
}

/*=============== HOME ===============*/
.home{
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.home__slider{
  position: relative;
  width: 100%;
  height: 100%;
}

.home__slide{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1.05);
}

.home__slide.active{
  opacity: 1;
  transform: scale(1);
}

.home__slide.active{
  opacity: 1;
}

.home__slide::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.home__slide-content{
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 2rem;
  animation: fadeInUp 1s ease-out;
  /* Ensure visible even if JS libraries set inline styles */
  opacity: 1;
  visibility: visible;
}

/* When a slide becomes active, force its content to be fully visible */
.home__slide.active .home__slide-content{
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Home hero enhanced, modern entrance effects */
.home__slide-title{
  position: relative;
}
.home__slide-title::after{
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  height: 3px;
  width: 0;
  background: var(--gradient-accent);
  border-radius: 2px;
}
.home__slide.active .home__slide-title{
  animation: homeTitleIn .8s ease both;
}
.home__slide.active .home__slide-title::after{
  animation: homeUnderlineIn 1s .2s ease forwards;
}
.home__slide.active .home__slide-description{
  animation: homeDescIn .9s .15s ease both;
}
.home__slide.active .button{
  animation: homeCtaIn .9s .3s ease both;
}

@keyframes homeTitleIn{
  from{ opacity: 0; transform: translateY(20px) scale(.98); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes homeDescIn{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: translateY(0); }
}
@keyframes homeCtaIn{
  from{ opacity: 0; transform: translateY(10px) scale(.95); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes homeUnderlineIn{
  from{ width: 0; }
  to{ width: 120px; }
}

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

.home__slide-title{
  font-size: var(--big-font-size);
  line-height: 140%;
  margin-bottom: var(--mb-1);
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.home__slide-description{
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2-5);
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.home__slider-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
}

.home__slider-btn{
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.home__slider-btn:hover{
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.home__slider-btn i{
  font-size: 1.5rem;
}

.home__slider-indicators{
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 3;
}

.home__slider-indicator{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.home__slider-indicator.active{
  background: #fff;
  transform: scale(1.2);
}

.home__social{
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: grid;
  justify-items: center;
  row-gap: 3.5rem;
  z-index: 3;
}

.home__social-follow{
  font-weight: var(--font-medium);
  font-size: var(--smaller-font-size);
  color: var(--first-color);
  position: relative;
  transform: rotate(90deg);
}

.home__social-follow::after{
  content: '';
  position: absolute;
  width: 1rem;
  height: 2px;
  background-color: var(--first-color);
  right: -45%;
  top: 50%;
}

.home__social-links{
  display: inline-flex;
  flex-direction: column;
  row-gap: .25rem;
}

.home__social-link{
  font-size: 1rem;
  color: var(--first-color);
  transition: .3s;
}

.home__social-link:hover{
  transform: translateX(.25rem);
}

/*=============== STATISTICS ===============*/
.home__statistics{
  position: absolute;
  bottom: 8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 100%;
  max-width: 800px;
  padding: 0 2rem;
}

.statistics__container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.statistics__item{
  text-align: center;
  color: #fff;
  transition: transform 0.3s ease;
}

.statistics__icon{
  width: 56px;
  height: 56px;
  margin: 0 auto .5rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.12));
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  backdrop-filter: blur(6px);
}

.statistics__icon i{
  font-size: 1.4rem;
  color: #fff;
}

.statistics__item:hover .statistics__icon{
  transform: translateY(-3px);
}

.statistics__number{
  font-size: 2.5rem;
  font-weight: var(--font-semi-bold);
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  display: block;
  background: linear-gradient(135deg, #ffffff, rgba(255,255,255,0.85));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 767px){
  .statistics__icon{
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }
  .statistics__icon i{ font-size: 1.2rem; }
}

.statistics__text{
  font-size: var(--normal-font-size);
  color: rgba(255, 255, 255, 0.9);
  font-weight: var(--font-medium);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/*=============== BUTTONS ===============*/
.button{
  display: inline-block;
  background-color: var(--first-color);
  color: #FFF;
  padding: 1rem 1.75rem;
  border-radius: .5rem;
  font-weight: var(--font-medium);
  transition: .3s;
}

.button:hover{
  background-color: var(--first-color-alt);
}

.button__icon{
  transition: .3s;
}

.button:hover .button__icon{
  transform: translateX(.25rem);
}

.button--flex{
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
}

.button--link{
  color: var(--first-color);
  font-weight: var(--font-medium);
}

.button--link:hover .button__icon{
  transform: translateX(.25rem);
}

/*=============== ABOUT ===============*/
.about__container{
  row-gap: 2rem;
}

.about__img{
  width: 280px;
  justify-self: center;
}

.about__title{
  margin-bottom: var(--mb-1);
}

.about__description{
  margin-bottom: var(--mb-2);
}

.about__details{
  display: grid;
  row-gap: 1rem;
  margin-bottom: var(--mb-2-5);
}

.about__details-description{
  display: inline-flex;
  column-gap: .5rem;
  font-size: var(--small-font-size);
}

.about__details-icon{
  font-size: 1rem;
  color: var(--first-color);
  margin-top: .15rem;
}

/* About "See More" button enhancement */
.about__data .button--link{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border: 2px solid var(--first-color);
  border-radius: 999px;
  background: transparent;
  color: var(--first-color);
  transition: all .3s ease;
}

.about__data .button--link .button__icon{
  transition: transform .3s ease;
}

.about__data .button--link:hover{
  background: var(--gradient-accent);
  color: #FFF;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.about__data .button--link:hover .button__icon{
  transform: translateX(.35rem) rotate(-20deg);
}

.about__data .button--link:focus-visible{
  outline: 3px solid var(--first-color-light);
  outline-offset: 2px;
}

/*=============== TIMELINE ===============*/
.timeline__container{
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid var(--first-color-lighten);
  position: relative;
  overflow: hidden;
}

.timeline__title{
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  overflow: hidden;
}

.timeline__title::after{
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--first-color), var(--first-color-alt));
  border-radius: 2px;
  transition: width 0.8s ease-in-out;
}

.timeline__title.aos-animate::after{
  width: 120px;
}

.timeline{
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before{
  content: '';
  position: absolute;
  left: 50%;
  top: 2rem;
  bottom: 2rem;
  width: 4px;
  background: linear-gradient(to bottom, var(--first-color), var(--first-color-alt));
  transform: translateX(-50%);
  border-radius: 2px;
  animation: timelinePulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(0, 128, 0, 0.3);
}

/* Timeline line pulse animation */
@keyframes timelinePulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(0, 128, 0, 0.3);
    transform: translateX(-50%) scaleY(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 128, 0, 0.6);
    transform: translateX(-50%) scaleY(1.1);
  }
}

/* Timeline line glow effect */
.timeline::after{
  content: '';
  position: absolute;
  left: 50%;
  top: 2rem;
  bottom: 2rem;
  width: 8px;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(0, 128, 0, 0.1) 20%, 
    rgba(0, 128, 0, 0.2) 50%, 
    rgba(0, 128, 0, 0.1) 80%, 
    transparent 100%);
  transform: translateX(-50%);
  border-radius: 4px;
  animation: timelineGlow 3s ease-in-out infinite;
}

@keyframes timelineGlow {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}

/* Timeline moving particles effect */
.timeline__container::before{
  content: '';
  position: absolute;
  left: 50%;
  top: 3rem;
  width: 2px;
  height: calc(100% - 3rem);
  background: linear-gradient(to bottom, 
    transparent 0%, 
    var(--first-color) 20%, 
    var(--first-color) 80%, 
    transparent 100%);
  transform: translateX(-50%);
  animation: timelineFlow 4s linear infinite;
  z-index: 1;
}

@keyframes timelineFlow {
  0% {
    transform: translateX(-50%) translateY(-100%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(100%);
    opacity: 0;
  }
}

.timeline__item{
  position: relative;
  margin-bottom: 3rem;
  width: 100%;
  padding: 1rem 0;
}

.timeline__item:nth-child(odd) .timeline__content{
  margin-left: 0;
  margin-right: 55%;
  text-align: right;
}

.timeline__item:nth-child(even) .timeline__content{
  margin-left: 55%;
  margin-right: 0;
  text-align: left;
}

.timeline__content{
  background: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.timeline__content::before{
  content: '';
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border: 12px solid transparent;
  transform: translateY(-50%);
}

.timeline__item:nth-child(odd) .timeline__content::before{
  right: -24px;
  border-left-color: var(--container-color);
}

.timeline__item:nth-child(even) .timeline__content::before{
  left: -24px;
  border-right-color: var(--container-color);
}

.timeline__content:hover{
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--first-color-light);
}

.timeline__icon{
  position: absolute;
  top: 50%;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.timeline__item:nth-child(odd) .timeline__icon{
  right: -30px;
}

.timeline__item:nth-child(even) .timeline__icon{
  left: -30px;
}

.timeline__icon i{
  font-size: 1.5rem;
  color: #FFF;
}

.timeline__content:hover .timeline__icon{
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Timeline line interaction effects */
.timeline__item:hover ~ .timeline::before,
.timeline__item:hover ~ .timeline::after{
  animation-play-state: paused;
}

/* Add ripple effect on timeline line when items are hovered */
.timeline__item:hover::before{
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, rgba(0, 128, 0, 0.4) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: timelineRipple 0.6s ease-out;
  z-index: 5;
}

@keyframes timelineRipple {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    width: 40px;
    height: 40px;
    opacity: 0;
  }
}

/* Timeline item animations */
.timeline__item{
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
  will-change: opacity, transform;
}

/* ScrollReveal will handle the animations */
.timeline__item.sr-reveal{
  opacity: 1;
  transform: translateY(0);
}

/* Fallback for when ScrollReveal is not available */
.timeline__item.aos-animate{
  opacity: 1;
  transform: translateY(0);
}

.timeline__item[data-aos="fade-right"].aos-animate{
  animation: slideInRight 0.8s ease forwards;
}

.timeline__item[data-aos="fade-left"].aos-animate{
  animation: slideInLeft 0.8s ease forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.timeline__title{
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-0-5);
  color: var(--title-color);
}

.timeline__description{
  font-size: var(--small-font-size);
  color: var(--text-color);
  line-height: 1.6;
}

/*=============== STEPS ===============*/
.steps__bg{
  background-color: var(--first-color);
  padding: 3rem 2rem 2rem;
  border-radius: 1rem;
}

.steps__container{
  gap: 2rem;
  padding-top: 1rem;
}

.steps__title{
  color: #FFF;
}

.steps__card{
  background-color: var(--container-color);
  padding: 2.5rem 3rem 2rem 1.5rem;
  border-radius: 1rem;
}

.steps__card-number{
  display: inline-block;
  background-color: var(--first-color-alt);
  color: #FFF;
  padding: .5rem .75rem;
  border-radius: .25rem;
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-1-5);
  transition: .3s;
}

.steps__card-title{
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
}

.steps__card-description{
  font-size: var(--small-font-size);
}

.steps__card:hover .steps__card-number{
  transform: translateY(-.25rem);
}

/*=============== COURSES ===============*/
.courses__title{
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt), #007a00, #008000);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  margin-bottom: 3rem;
}

.courses__title::before{
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--first-color), var(--first-color-alt));
  border-radius: 2px;
  animation: expandWidth 2s ease-in-out infinite;
}

.courses__title::after{
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--first-color), transparent);
  border-radius: 1px;
  animation: fadeInOut 2.5s ease-in-out infinite;
}

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

@keyframes expandWidth {
  0%, 100% {
    width: 80px;
  }
  50% {
    width: 120px;
  }
}

@keyframes fadeInOut {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.product__description{
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: var(--h3-font-size);
  color: var(--text-color-light);
}

.product__container{
  padding: 2rem 0;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product__card{
  background: var(--container-color);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.product__card::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--first-color), var(--first-color-alt));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.product__card:hover::before{
  transform: scaleX(1);
}

.product__card:hover{
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product__img{
  width: 100%;
  height: 200px;
  margin: 0 0 1.5rem 0;
  transition: all 0.3s ease;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* Ethiopia availability badge */
.product__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #009639, #FFCD00, #DA020E);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 150, 57, 0.4);
  z-index: 2;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  white-space: nowrap;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.product__badge--ethiopia {
  background: linear-gradient(135deg, #009639 0%, #FFCD00 50%, #DA020E 100%);
  box-shadow: 0 2px 8px rgba(0, 150, 57, 0.5);
}

.product__card:hover .product__badge {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 150, 57, 0.6);
}

.product__card:hover .product__img{
  transform: scale(1.1) rotate(5deg);
}

.product__title{
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

/* Course card description styling */
.product__card .product__description{
  max-width: none;
  margin: 0 0 1rem 0;
  padding: 0;
  text-align: left;
}

.product__price{
  display: inline-block;
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  color: #FFF;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product__button{
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  color: #FFF;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.product__button:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, var(--first-color-alt), var(--first-color));
}

.product__button i{
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.product__button:hover i{
  transform: translateX(3px);
}

.product__circle{
  display: none;
}

/*=============== QUESTIONS ===============*/
.questions{
  background-color: var(--first-color-lighten);
}

.questions__container{
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.questions__group{
  display: grid;
  row-gap: 1.5rem;
}

.questions__item{
  background-color: var(--container-color);
  border-radius: .25rem;
}

.questions__item-title{
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

.questions__icon{
  font-size: 1.25rem;
  color: var(--title-color);
}

.questions__description{
  font-size: var(--smaller-font-size);
  padding: 0 1.25rem 1.25rem 2.5rem;
}

.questions__header{
  display: flex;
  align-items: center;
  column-gap: .5rem;
  padding: .75rem .5rem;
  cursor: pointer;
}

.questions__content{
  overflow: hidden;
  height: 0;
}

.questions__item,
.questions__header,
.questions__item-title,
.questions__icon,
.questions__description,
.questions__content{
  transition: .3s;
}

.questions__item:hover{
  box-shadow: 0 2px 8px hsla(var(--hue), 4%, 15%, .15);
}

/*Rotate icon, change color of titles and background*/
.accordion-open .questions__header,
.accordion-open .questions__content{
  background-color: var(--first-color);
}

.accordion-open .questions__item-title,
.accordion-open .questions__description,
.accordion-open .questions__icon{
  color: #FFF;
}

.accordion-open .questions__icon{
  transform: rotate(45deg);
}

/*=============== CONTACT ===============*/
.contact__container{
  row-gap: 3.5rem;
}

.contact__data{
  display: grid;
  row-gap: 2rem;
}

.contact__subtitle{
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
  margin-bottom: var(--mb-0-5);
}

.contact__description{
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  color: var(--title-color);
  font-weight: var(--font-medium);
}

.contact__icon{
  font-size: 1.25rem;
}

.contact__inputs{
  display: grid;
  row-gap: 2rem;
  margin-bottom: var(--mb-2-5);
}

.contact__content{
  position: relative;
  height: 3rem;
  border-bottom: 1px solid var(--text-color-light);
}

.contact__input{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1rem 1rem 1rem 0;
  background: none;

  color: var(--text-color);

  
  border: none;
  outline: none;
  z-index: 1;
}

.contact__label{
  position: absolute;
  top: .75rem;
  width: 100%;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  transition: .3s;
}

.contact__area{
  height: 7rem;
}

.contact__area textarea{
  resize: none;
}

/*Input focus move up label*/
.contact__input:focus + .contact__label{
  top: -.75rem;
  left: 0;
  font-size: var(--smaller-font-size);
  z-index: 10;
}

/*Input focus sticky top label*/
.contact__input:not(:placeholder-shown).contact__input:not(:focus) + .contact__label{
  top: -.75rem;
  font-size: var(--smaller-font-size);
  z-index: 10;
}

/*=============== FOOTER ===============*/
.footer{
  background: linear-gradient(135deg, var(--first-color) 0%, var(--first-color-alt) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.footer::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
  z-index: 0;
}

.footer__container{
  row-gap: 2.5rem;
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 1.5rem;
}

.footer__logo{
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  color: white;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: var(--mb-1);
  transition: .3s;
}

.footer__logo-image{
  height: 80px !important;
  width: auto !important;
  vertical-align: middle;
}

.footer__logo-icon{
  font-size: 1.15rem;
  color: var(--first-color);
}

.footer__logo:hover{
  color: rgba(255, 255, 255, 0.8);
  transform: scale(1.05);
}

.footer__title{
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: white;
  font-weight: var(--font-semi-bold);
}

.footer__subscribe{
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.75rem;
  display: flex;
  justify-content: space-between;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.footer__input{
  width: 70%;
  padding: 0 .75rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  outline: none;
  border-radius: 8px;
  font-size: var(--normal-font-size);
}

.footer__input::placeholder{
  color: rgba(255, 255, 255, 0.7);
}

.footer__button{
  padding: 0.75rem 1.5rem;
  background: white;
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.footer__button:hover{
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer__data{
  display: grid;
  row-gap: .75rem;
}

.footer__information{
  font-size: var(--small-font-size);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.footer__telegram-link {
  color: white;
  text-decoration: none;
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  display: inline-block;
}

.footer__telegram-link:hover {
  color: var(--first-color);
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer__social{
  display: inline-flex;
  column-gap: .75rem;
}

.footer__social-link{
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all .3s ease;
  backdrop-filter: blur(10px);
}

.footer__social-link i{ font-size: 1.05rem; }

.footer__social-link:hover{
  transform: translateY(-.25rem);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

/* Brand accents */
.footer__social-link--facebook{ color: #1877F2; border-color: rgba(24,119,242,.25); background: rgba(24,119,242,.08); }
.footer__social-link--instagram{ color: #E4405F; border-color: rgba(228,64,95,.25); background: rgba(228,64,95,.08); }
.footer__social-link--telegram{ color: #229ED9; border-color: rgba(34,158,217,.25); background: rgba(34,158,217,.08); }
.footer__social-link--linkedin{ color: #0A66C2; border-color: rgba(10,102,194,.25); background: rgba(10,102,194,.08); }

.footer__social-link--facebook:hover{ background: #1877F2; color: #fff; }
.footer__social-link--instagram:hover{ background: #E4405F; color: #fff; }
.footer__social-link--telegram:hover{ background: #229ED9; color: #fff; }
.footer__social-link--linkedin:hover{ background: #0A66C2; color: #fff; }

/* Simple tooltips using data-tooltip */
.footer__social-link[data-tooltip]::after{
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--title-color);
  color: #fff;
  font-size: var(--smaller-font-size);
  padding: .25rem .5rem;
  border-radius: .35rem;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity .2s ease, transform .2s ease;
}

.footer__social-link[data-tooltip]:hover::after{
  opacity: 1;
  transform: translate(-50%, -2px);
}

.footer__cards{
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
}
.footer__card{
  width: 35px;
}

.footer__copy{
  text-align: center;
  font-size: var(--smaller-font-size);
  color: rgba(255, 255, 255, 0.7);
  margin: 2rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/*=============== SCROLL UP ===============*/
.scrollup{
  position: fixed;
  background-color: var(--first-color);
  right: 1rem;
  bottom: -30%;
  display: inline-flex;
  padding: .5rem;
  border-radius: .25rem;
  z-index: var(--z-tooltip);
  opacity: .8;
  transition: .4s;
}

.scrollup__icon{
  font-size: 1rem;
  color: #FFF;
}

.scrollup:hover{
  background-color: var(--first-color-alt);
  opacity: 1;
}

/* Show Scroll Up*/
.show-scroll{
  bottom: 3rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar{
  width: .6rem;
  background: hsl(var(--hue), 4%, 53%);
}

::-webkit-scrollbar-thumb{
  background: hsl(var(--hue), 4%, 29%);
  border-radius: .5rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px){
  .container{
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .home__slide-title{
    font-size: var(--h1-font-size);
  }
  .home__slide-description{
    font-size: var(--h3-font-size);
  }
  
  .home__slider-nav{
    padding: 0 1rem;
  }
  
  .home__slider-btn{
    width: 40px;
    height: 40px;
  }
  
  .home__slider-btn i{
    font-size: 1.2rem;
  }
  
  .home__slide-content{
    padding: 0 1rem;
  }

  .steps__bg{
    padding: 2rem 1rem;
  }
  .steps__card{
    padding: 1.5rem;
  }

  .courses__title{
    font-size: 2rem;
  }
  
  .product__container{
    grid-template-columns: .6fr;
    justify-content: center;
  }
  
  .home__statistics{
    bottom: 4rem;
    padding: 0 1rem;
  }
  
  .statistics__container{
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
  
  .statistics__number{
    font-size: 1.8rem;
  }
  
  .statistics__text{
    font-size: var(--small-font-size);
  }
}

@media screen and (max-width: 767px){
  .home__slide-content{
    padding-bottom: 9rem;
  }
  .home__statistics{
    bottom: 2rem;
  }
  .statistics__container{
    grid-template-columns: repeat(2, 1fr);
  }
  .home__slider-nav{
    top: auto;
    bottom: 7rem;
    transform: none;
    padding: 0 1rem;
  }
  .home__slider-btn{
    width: 40px;
    height: 40px;
  }
  .home__slider-btn i{
    font-size: 1.2rem;
  }
}

/* For medium devices */
@media screen and (min-width: 576px){
  .steps__container{
    grid-template-columns: repeat(2, 1fr);
  }

  .courses__title{
    font-size: 2.5rem;
  }
  
  .product__description{
    padding: 0 0.5rem;
  }
  .product__container{
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .footer__subscribe{
    width: 400px;
  }
  
  .home__statistics{
    bottom: 5rem;
  }
  
  .statistics__container{
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .statistics__number{
    font-size: 2.2rem;
  }
}

@media screen and (min-width: 767px){
  body{
    margin: 0;
  }

  .nav{
    height: calc(var(--header-height) + 1.5rem);
    column-gap: 3rem;
  }
  .nav__toggle,
  .nav__close{
    display: none;
  }
  .nav__list{
    flex-direction: row;
    column-gap: 3rem;
  }
  .nav__menu{
    margin-left: auto;
  }

  .home__container,
  .about__container,
  .questions__container,
  .contact__container,
  .footer__container{
    grid-template-columns: repeat(2, 1fr);
  }
  
  .home{
    height: 100vh;
  }
  .home__slide-title{
    font-size: var(--big-font-size);
  }
  .home__slide-description{
    font-size: var(--h2-font-size);
  }
  .home__social{
    top: 30%;
  }
  
  .home__statistics{
    bottom: 6rem;
  }
  
  .statistics__container{
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .statistics__number{
    font-size: 2rem;
  }

  .questions__container{
    align-items: flex-start;
  }

  .footer__container{
    column-gap: 3rem;
  }
  .footer__subscribe{
    width: initial;
  }
}

/* For large devices */
@media screen and (min-width: 992px){
  .container{
    margin-left: auto;
    margin-right: auto;
  }

  .section{
    padding: 8rem 0 1rem;
  }
  .section__title,
  .section__title-center{
    font-size: var(--h1-font-size);
  }

  .home{
    height: 100vh;
  }
  .home__slide-content{
    max-width: 1000px;
  }
  .home__slide-title{
    font-size: 3.5rem;
  }
  .home__slide-description{
    font-size: 1.5rem;
  }

  .about__img{
    width: 380px;
  }

  .steps__container{
    grid-template-columns: repeat(3, 1fr);
  }
  .steps__bg{
    padding: 3.5rem 2.5rem;
  }
  .steps__card-title{
    font-size: var(--normal-font-size);
  }

  .courses__title{
    font-size: 3.5rem;
  }
  
  .product__description{
    padding: 0 1rem;
  }
  .product__container{
    padding: 3rem 0;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
  }
  .product__card{
    padding: 2.5rem;
  }
  
  .product__card .product__description{
    padding: 0;
  }
  .product__img{
    width: 100%;
    height: 250px;
  }
  
  .product__badge {
    font-size: 0.85rem;
    padding: 8px 16px;
    top: 15px;
    right: 15px;
  }
  .product__title{
    font-size: var(--h2-font-size);
  }
  .product__price{
    font-size: var(--normal-font-size);
  }

  .questions__container{
    padding: 1rem 0 4rem;
  }
  .questions__title{
    text-align: initial;
  }
  .questions__group{
    row-gap: 2rem;
  }
  .questions__header{
    padding: 1rem;
  }
  .questions__description{
    padding: 0 3.5rem 2.25rem 2.75rem;
  }

  .footer__logo{
    font-size: var(--h3-font-size);
  }
  
  .footer__logo-image{
    height: 100px !important;
  }
  .footer__container{
    grid-template-columns: 2fr 1fr 1fr;
    column-gap: 4rem;
    padding: 3rem 0 2rem;
  }
  .footer__copy{
    margin: 2.5rem 0 1.5rem;
  }
}

@media screen and (min-width: 1200px){
  .home__social{
    right: -3rem;
    row-gap: 4.5rem;
  }
  .home__social-follow{
    font-size: var(--small-font-size);
  }
  .home__social-follow::after{
    width: 1.5rem;
    right: -60%;
  }
  .home__social-link{
    font-size: 1.15rem;
  }

  .about__container{
    column-gap: 7rem;
  }

  .scrollup{
    right: 3rem;
  }
}

/*=============== PRODUCT BUTTON CONTAINER ===============*/
.product__button-container{
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.product__button-container .button{
  padding: 1rem 2rem;
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

/*=============== COURSE DETAILS ===============*/
.product__details{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}

.product__detail{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  background-color: var(--first-color-lighten);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
}

.product__detail i{
  font-size: 1rem;
  color: var(--first-color);
}

/* Responsive adjustments for course details */
@media screen and (max-width: 767px){
  .product__details{
    justify-content: center;
  }
  
  .product__detail{
    font-size: var(--smaller-font-size);
    padding: 0.4rem 0.8rem;
  }
}

/*=============== COURSE CATEGORIES ===============*/
.course__categories{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  background: var(--container-color);
  border: 1px solid var(--first-color-lighten);
  border-radius: 1rem;
  padding: .75rem;
  box-shadow: 0 6px 20px hsla(var(--hue), 24%, 15%, .06);
  overflow-x: auto;
}

.course__category-btn{
  background: var(--container-color);
  color: var(--text-color);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--first-color-lighten);
  border-radius: 2rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: all 0.3s ease;
}

.course__category-btn:hover,
.course__category-btn.active{
  background: var(--gradient-accent);
  color: #FFF;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

/*=============== COURSE SORT CONTROLS ===============*/
.course__sort{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.course__sort-btn{
  background: var(--container-color);
  color: var(--text-color);
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--first-color-lighten);
  border-radius: 2rem;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: all 0.3s ease;
}

/*=============== COURSE SUBCATEGORIES ===============*/
.course__subcategories{
  margin: .5rem 0 1.5rem;
}
.course__subcategory-list{ display: none; }
.course__subcategory-list.active{ display: block; animation: fadeInUp 0.35s ease-out; }
.course__subcategory-label{
  display: inline-block;
  margin-bottom: .5rem;
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}
.course__subcategory-list.active{
  background: var(--container-color);
  border: 1px solid var(--first-color-lighten);
  border-radius: 1rem;
  padding: .75rem;
  box-shadow: 0 6px 20px hsla(var(--hue), 24%, 15%, .06);
}
.course__subcategory-pills{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.course__subcategory-pill{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--first-color-lighten);
  background: var(--container-color);
  color: var(--text-color);
  font-size: var(--smaller-font-size);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.course__subcategory-pill.active{
  background: var(--gradient-accent);
  color: #FFF;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(0,0,0,.14);
}
.course__subcategory-pill:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

@media screen and (max-width: 767px){
  .course__subcategory-pills{ gap: .4rem; }
  .course__subcategory-pill{ padding: .4rem .7rem; }
}

/* Empty state */
.course__empty{
  margin: 1rem 0 2rem;
  text-align: center;
  color: var(--text-color-light);
  font-weight: var(--font-medium);
}

.course__subcategories-toggle{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: .5rem 0 1rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--first-color-lighten);
  background: var(--container-color);
  color: var(--text-color);
  font-size: var(--smaller-font-size);
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.course__subcategories-toggle:hover{
  background: var(--first-color-lighten);
  transform: translateY(-1px);
}

.course__sort-btn:hover,
.course__sort-btn.active{
  background: var(--first-color);
  color: #FFF;
  border-color: var(--first-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Course card filtering */
.product__card{
  transition: all 0.3s ease;
}

.product__card.hidden{
  display: none;
}

.product__card.visible{
  display: block;
  animation: fadeInUp 0.5s ease-out;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

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

/* Responsive adjustments for course categories */
@media screen and (max-width: 767px){
  .course__categories{
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
  
  .course__category-btn{
    padding: 0.5rem 1rem;
    font-size: var(--smaller-font-size);
  }

  .course__sort{
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .course__sort-btn{
    padding: 0.5rem 1rem;
    font-size: var(--smaller-font-size);
  }
}

/*=============== TIMELINE RESPONSIVE ===============*/
@media screen and (max-width: 767px){
  .timeline__container{
    margin-top: 3rem;
    padding-top: 2rem;
  }
  
  .timeline::before{
    left: 30px;
    transform: none;
    animation: timelinePulseMobile 2s ease-in-out infinite;
  }
  
  .timeline::after{
    left: 30px;
    transform: none;
  }
  
  .timeline__container::before{
    left: 30px;
    transform: none;
  }
  
  @keyframes timelinePulseMobile {
    0%, 100% {
      box-shadow: 0 0 10px rgba(0, 128, 0, 0.3);
      transform: scaleY(1);
    }
    50% {
      box-shadow: 0 0 20px rgba(0, 128, 0, 0.6);
      transform: scaleY(1.1);
    }
  }
  
  .timeline__item:nth-child(odd) .timeline__content,
  .timeline__item:nth-child(even) .timeline__content{
    margin-left: 80px;
    margin-right: 0;
    text-align: left;
  }
  
  .timeline__item:nth-child(odd) .timeline__icon,
  .timeline__item:nth-child(even) .timeline__icon{
    left: 0;
    right: auto;
  }
  
  .timeline__item:nth-child(odd) .timeline__content::before,
  .timeline__item:nth-child(even) .timeline__content::before{
    left: -24px;
    right: auto;
    border-right-color: var(--container-color);
    border-left-color: transparent;
  }
  
  .timeline__content{
    padding: 1.5rem;
  }
  
  .timeline__icon{
    width: 50px;
    height: 50px;
  }
  
  .timeline__icon i{
    font-size: 1.25rem;
  }
  
  /* Mobile timeline animations */
  .timeline__item[data-aos="fade-right"].aos-animate,
  .timeline__item[data-aos="fade-left"].aos-animate{
    animation: slideInUp 0.8s ease forwards;
  }
  
  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(50px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/*=============== PARTNERS ===============*/
.partners {
  padding: 2rem 0;
}

.partners__title {
  margin-bottom: 3rem;
  color: var(--title-color);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt), #007a00, #008000);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}

.partners__title::before {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--first-color), var(--first-color-alt));
  border-radius: 2px;
  animation: expandWidth 3s ease-in-out infinite;
}

.partners__title::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--first-color), transparent);
  border-radius: 1px;
  animation: fadeInOut 2.5s ease-in-out infinite;
}

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

@keyframes expandWidth {
  0%, 100% {
    width: 0;
  }
  50% {
    width: 150px;
  }
}

@keyframes fadeInOut {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.partners__container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.partners__scroll {
  display: flex;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.partners__item {
  flex-shrink: 0;
  margin: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.partners__item:hover {
  transform: scale(1.05);
}

.partners__logo {
  max-width: 120px;
  height: auto;
  transition: all 0.3s ease;
}

.partners__logo:hover {
  transform: translateY(-3px);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover */
.partners__container:hover .partners__scroll {
  animation-play-state: paused;
}

/*=============== PARTNERS RESPONSIVE ===============*/
@media screen and (max-width: 767px) {
  .partners {
    padding: 1.5rem 0;
  }
  
  .partners__title {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    letter-spacing: 2px;
  }
  
  .partners__title::before {
    height: 3px;
  }
  
  .partners__title::after {
    width: 40px;
  }
  
  .partners__item {
    margin: 0 1rem;
  }
  
  .partners__logo {
    max-width: 100px;
  }
  
  .partners__scroll {
    animation-duration: 20s;
  }
}

@media screen and (max-width: 480px) {
  .partners__title {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }
  
  .partners__title::before {
    height: 2px;
  }
  
  .partners__title::after {
    width: 30px;
  }
  
  .partners__item {
    margin: 0 0.75rem;
  }
  
  .partners__logo {
    max-width: 80px;
  }
  
  .partners__scroll {
    animation-duration: 15s;
  }
}

/*=============== ABOUT PAGE ENHANCEMENTS ===============*/
.page-hero{
  background: var(--gradient-primary);
  color: #fff;
  padding: 6rem 0 4rem;
  display: flex;
  align-items: center;
}
.page-hero__title{
  color: #fff;
  margin-bottom: .5rem;
}
.page-hero__subtitle{
  color: hsla(0, 0%, 100%, .85);
  max-width: 720px;
}

.section__divider{
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin: 1.25rem 0 1.75rem;
}

.values__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.values__card{
  background: var(--container-color);
  border: 1px solid var(--first-color-lighten);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 8px 24px hsla(var(--hue), 24%, 15%, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.values__card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 28px hsla(var(--hue), 24%, 15%, .10);
}
.values__icon{
  font-size: 1.75rem;
  color: var(--first-color);
  background: var(--first-color-lighten);
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: .75rem;
}
.values__title{
  margin-bottom: .25rem;
}
.values__text{
  font-size: var(--small-font-size);
}

@media screen and (min-width: 992px){
  .page-hero{ padding: 7rem 0 5rem; }
}

.about__block--center{
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--mb-2);
}

/*=============== ABOUT REWORKED LAYOUT ===============*/
.about__intro{
  text-align: center;
  max-width: 900px;
  margin: 0 auto var(--mb-2-5);
}

.about__highlights{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
}
.about__highlight{
  text-align: center;
  background: var(--container-color);
  border: 1px solid var(--first-color-lighten);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 24px hsla(var(--hue), 24%, 15%, .06);
}
.about__highlight-icon{
  font-size: 2rem;
  color: var(--first-color);
  margin-bottom: .5rem;
}

.about__text-block{
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

.about__callout{
  text-align: center;
  background: var(--first-color-lighten);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  border: 1px solid var(--first-color-light);
}

@media screen and (min-width: 767px){
  .about__highlights{
    grid-template-columns: repeat(2, 1fr);
  }
}

/*=============== ABOUT MODERN ENHANCEMENTS ===============*/
.page-hero--pattern{
  position: relative;
  overflow: hidden;
}
.page-hero--pattern::after{
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* Animated decorative shapes on About hero */
.hero-shapes{ position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-shapes .shape{
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .18;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.hero-shapes .shape--a{
  width: 160px; height: 160px;
  right: 6%; top: 18%;
  background: radial-gradient(circle at 30% 30%, var(--accent-purple), transparent 60%),
              radial-gradient(circle at 70% 70%, var(--accent-orange), transparent 65%);
  animation-name: floatY, rotateS;
  animation-duration: 9s, 24s;
}
.hero-shapes .shape--b{
  width: 220px; height: 220px;
  left: -60px; bottom: -40px;
  background: radial-gradient(circle at 50% 50%, var(--first-color), transparent 60%);
  opacity: .12;
  animation-name: floatX;
  animation-duration: 12s;
}
.hero-shapes .shape--c{
  width: 100px; height: 100px;
  left: 55%; top: 65%;
  background: radial-gradient(circle at 40% 40%, var(--accent-green), transparent 60%);
  animation-name: floatXY;
  animation-duration: 10s;
}

@keyframes floatY{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-16px); }
}
@keyframes floatX{
  0%,100%{ transform: translateX(0); }
  50%{ transform: translateX(18px); }
}
@keyframes floatXY{
  0%,100%{ transform: translate(0,0); }
  50%{ transform: translate(-14px, -12px); }
}
@keyframes rotateS{
  0%{ transform: rotate(0deg); }
  100%{ transform: rotate(360deg); }
}

body.dark-theme .hero-shapes .shape{ opacity: .22; }

.feature-card{
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0.45));
  border: 1px solid var(--first-color-lighten);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 30px hsla(var(--hue), 24%, 15%, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 38px hsla(var(--hue), 24%, 15%, .12);
}
.feature-card__icon{
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--first-color-lighten);
  color: var(--first-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: .5rem;
}
.feature-card__title{
  margin-bottom: .25rem;
}
.feature-card__text{
  font-size: var(--small-font-size);
  color: var(--text-color);
}

/* refine values card spacing */
.values__card{ padding: 1.5rem; }

/* Split story section */
.about__story{
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  margin: 2.5rem 0;
}
.about__story-media img{
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 30px hsla(var(--hue), 24%, 15%, .1);
}
.about__story-content{ max-width: 800px; }

@media screen and (min-width: 992px){
  .about__story{ grid-template-columns: 1fr 1.2fr; }
}

/*=============== MODAL (PACKAGES) ===============*/
.modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: var(--z-fixed);
}
.modal.show{
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.modal__content{
  background: var(--container-color);
  color: var(--text-color);
  max-width: 720px;
  width: 100%;
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.modal__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.modal__title{
  font-size: var(--h2-font-size);
}
.modal__close{
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--title-color);
}
.modal__body{
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.modal__payments{
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: .75rem 0 1.25rem;
  color: var(--title-color);
}
.modal__actions{
  display: flex;
  justify-content: flex-end;
}
@media screen and (min-width: 768px){
  .modal__content{ padding: 2rem; }
}

/* Modern modal enhancements */
.modal.show .modal__content{
  animation: modalIn .35s ease both;
}
@keyframes modalIn{
  from{ opacity: 0; transform: translateY(10px) scale(.98); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}
.modal--modern{ backdrop-filter: blur(10px); }
.modal--modern .modal__content{
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.82));
  border: 1px solid var(--first-color-lighten);
  backdrop-filter: blur(12px);
}
body.dark-theme .modal--modern .modal__content{
  background: linear-gradient(180deg, rgba(20,20,24,0.9), rgba(20,20,24,0.82));
  border-color: rgba(255,255,255,0.08);
}
.modal__title i{ color: var(--first-color); margin-right: .5rem; }
.modal__badge{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: var(--smaller-font-size);
  background: var(--first-color-lighten);
  color: var(--first-color);
}
.modal__subtitle{ color: var(--text-color-light); margin: .25rem 0 1rem; font-size: var(--small-font-size); }
.modal__divider{ height: 1px; background: var(--first-color-lighten); margin: .75rem 0 1rem; border-radius: 1px; }
.modal__chips{ display: flex; flex-wrap: wrap; gap: .5rem; }
.chip{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--first-color-lighten);
  background: var(--container-color);
  color: var(--title-color);
  font-size: var(--smaller-font-size);
}
.chip i{ color: var(--first-color); }
.chip img{ height: 28px; width: auto; }
.chip .chip__logo--mastercard{ height: 40px; }
.modal__close:hover{ color: var(--first-color); transform: scale(1.05); }

/* Premium modal theme */
.modal--premium .modal__content{
  position: relative;
  border: 1px solid rgba(246, 201, 14, 0.35);
  box-shadow: 0 12px 40px rgba(255, 170, 0, 0.15), 0 0 0 1px rgba(246, 201, 14, 0.12) inset;
}
.modal--premium .modal__content::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #F6C90E, #FFAA00);
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.modal--premium .modal__title{
  background: linear-gradient(135deg, #F6C90E, #FFAA00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.modal__ribbon{
  position: absolute;
  top: -12px;
  right: 1rem;
  background: linear-gradient(135deg, #F6C90E, #FFAA00);
  color: #111;
  padding: .35rem .7rem;
  border-radius: 999px;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-semi-bold);
  box-shadow: 0 6px 18px rgba(255, 170, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.modal__ribbon i{ color: #111; }
.modal__features{ margin: 1rem 0; display: grid; row-gap: .5rem; }
.modal__features li{ display: flex; align-items: flex-start; gap: .5rem; color: var(--title-color); }
.modal__features i{ color: #F6C90E; margin-top: .15rem; }

.button--premium{
  background: linear-gradient(135deg, #FFAA00, #F6C90E);
  color: #111;
  box-shadow: 0 10px 25px rgba(255, 170, 0, 0.25);
}
.button--premium:hover{
  background: linear-gradient(135deg, #F6C90E, #FFAA00);
  box-shadow: 0 14px 30px rgba(255, 170, 0, 0.35);
}
body.dark-theme .button--premium{ color: #111; }
body.dark-theme .modal--premium .modal__content{ border-color: rgba(246, 201, 14, 0.25); }

.contact__office-address {
  background: var(--first-color-lighten);
  border-left: 5px solid var(--first-color);
  border-radius: 1rem;
  padding: 1.5rem 1.5rem 1.5rem 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 18px hsla(var(--hue), 24%, 15%, .07);
  position: relative;
  transition: box-shadow .3s;
}
.contact__office-address:hover {
  box-shadow: 0 8px 32px hsla(var(--hue), 24%, 15%, .13);
}
.contact__office-address .contact__subtitle {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  color: var(--first-color);
  margin-bottom: 1rem;
  font-weight: var(--font-semi-bold);
}
.contact__office-address .contact__subtitle i {
  font-size: 1.5rem;
  margin-right: .75rem;
  color: var(--first-color);
}
.contact__office-address-list {
  display: grid;
  gap: 1.1rem;
}
.contact__office-address-item {
  padding-left: 1.5rem;
  position: relative;
}
.contact__office-address-item::before {
  content: '\f3e8'; /* ri-map-pin-2-fill */
  font-family: 'remixicon';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-orange);
  font-size: 1.1rem;
}
.contact__office-address-item strong {
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
}
@media screen and (max-width: 600px) {
  .contact__office-address {
    padding: 1rem 1rem 1rem 1.5rem;
  }
  .contact__office-address-list {
    gap: .7rem;
  }
}