body{
    font-family: 'Sora';
    background-color: #fcf9f7;
}

.btn-primary {
  --clr-font-main: hsla(0 0% 20% / 100);
  --btn-bg-1: #00afe8;
  --btn-bg-2:  #0000ff;
  --btn-bg-color: hsla(360 100% 100% / 1);
  --radii: 12px;
  cursor: pointer;
  padding: 12px 16px;
  min-width: 120px;
  min-height: 44px;
  font-size: var(--size, 1rem);
  font-weight: 500;
  transition: 0.8s;
  background-size: 280% auto;
  background-image: linear-gradient(
    325deg,
    var(--btn-bg-2) 0%,
    var(--btn-bg-1) 55%,
    var(--btn-bg-2) 90%
  );
  border: none;
  border-radius: var(--radii);
  color: var(--btn-bg-color);
  box-shadow:
    0px 0px 20px rgba(71, 184, 255, 0.5),
    0px 5px 5px -1px rgba(58, 125, 233, 0.25),
    inset 4px 4px 8px rgba(175, 230, 255, 0.5),
    inset -4px -4px 8px rgba(19, 95, 216, 0.35);
}

.btn-primary:hover {
  background-position: right top;
}

.btn-primary:is(:focus, :focus-visible, :active) {
  outline: none;
  box-shadow:
    0 0 0 3px var(--btn-bg-color),
    0 0 0 6px var(--btn-bg-2);
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary {
    transition: linear;
  }
}

.btn-secondary {
    --clr-font-main: hsl(0deg 0% 0%);
    --btn-bg-1: #ffffff;
    --btn-bg-2: #ffffff;
    --btn-bg-color: rgb(28, 26, 26);
    --radii: 12px;
    /* cursor: pointer; */
    padding: 12px 16px;
    min-width: 120px;
    min-height: 44px;
    font-size: var(--size, 1rem);
    font-weight: 500;
    transition: 0.8s;
    background-size: 280% auto;
    background-image: linear-gradient(325deg, var(--btn-bg-2) 0%, var(--btn-bg-1) 55%, var(--btn-bg-2) 90%);
    border: none;
    border-radius: var(--radii);
    color: #212529;
    box-shadow: 0px 0px 20px rgb(221 221 221 / 50%), 0px 5px 5px -1px rgb(160 160 160 / 25%), inset 4px 4px 8px rgb(255 255 255 / 50%), inset -4px -4px 8px rgb(221 221 221 / 35%);
}

.btn-secondary:hover {
  background-position: right top;
  color: #212529;
  background-image: linear-gradient(325deg, #F9F9F8 0%, #ECECEB
 55%, #fff 90%);
}

.btn-secondary:is(:focus, :focus-visible, :active) {
  outline: none;
  box-shadow:
    0 0 0 3px var(--btn-bg-color),
    0 0 0 6px #212529;
}

@media (prefers-reduced-motion: reduce) {
  .btn-secondary {
    transition: linear;
  }
}

.p-sec{
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.subtext{
    margin-bottom: 40px;
    font-weight: 400;
}

/* Navbar */

.mar-aut{
    margin: 0 auto;
}

.navbar{
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 12px;
    padding-bottom: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: fixed;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    margin-top: 60px;
    z-index: 999;
}

.nav-link{
    position: relative;
    color: #212529;
}

.navbar-nav .nav-link.active{
    color: #0000ff;
    font-weight: 600;
}

.nav-link:hover {
    color: #0000ff;
}

.active:before {
    width: 0% !important;
}

.navbar-brand img{
    width: 100%;
    height: 38px;
}


.nav-link:hover:before {
    color: #0000ff;
    transform: scaleX(1) !important;
}

.nav-link:before {
    background-color: #0000ff;
    bottom: 3px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .50s cubic-bezier(0.23,1,0.32,1), background-color .25s cubic-bezier(0.23,1,0.32,1);
    width: 100%;
}

.navbar-toggler{
    color: #283588;
}

@media (min-width: 992px){
.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0rem;
    padding-left: 0rem;
}

.nav-item {
    padding-right: 1rem;
    padding-left: 1rem;
}
}

@media (max-width: 992px){
    .nav-item {
        width: fit-content;
        margin-top: 10px;
    }
    .navbar-nav{
        margin-bottom: 20px !important;
    }
}

@media (max-width: 1024px){
    .navbar{
        width: 85%;
    }
}

@media (max-width: 600px){
    .navbar-brand img{
        height: 28px;
    }
}


/* End Navbar */


/* Hero */

.main-h1{
    font-weight: 600;
    color: #212529;
    font-size: 48px;
}

.header{
    background-color: #f0f8ff;
    position: relative;
}

.loading-text {
	place-self: center;
	background: linear-gradient(90deg, #0000ff, #00afe8, #0000ff) -100%/ 200%;
	/* being excessively careful with compat, 
	 * though this has been supported unprefixed and 
	 * in the shorthand across major browsers for a while */
	-webkit-background-clip: text;
	        background-clip: text;
	/* use color, don't use -webkit-text-fill-color anymore, 
	 * was meant to solve a problem we haven't had in years */
	color: transparent;
	animation: shimmer 3s linear infinite
}

@keyframes shimmer { to { background-position: 100% } }

.lit-h{
    font-weight: 300;
    color: #212529;
    margin-top: 40px;
    margin-bottom: 40px;
}

.up{
    padding-top: 12rem;
    padding-bottom: 5rem;
}

.img-side{
    width: auto;
    height: 500px;
}

.overlay{
    background-image: url('images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: -webkit-fill-available;
    position: absolute;
    opacity: 25%;
}

.zi{
    z-index: 1;
    position: relative;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  border: 2px solid #fff;
}

.enroll{
    font-weight: 600;
    padding-left: 16px;
}

.avatar-stack {
    display: flex;
    align-items: end;
    justify-content: center;
    margin-bottom: 40px;

  .avatar-item {
    height: 50px;
    width: 50px;
    display: inline-block;
    transition: margin 0.1s ease-in-out;
    
    & + .avatar-item {
      margin-left: -20px;
    }
    
    &:first-child {
      z-index: 5;
    }
    
    &:nth-child(2) {
      z-index: 4;
    }
    
    &:nth-child(3) {
      z-index: 3;
    }
    
    &:nth-child(4) {
      z-index: 2;
    }
    
    &:last-child {
      z-index: 1;
    }
  }
  
}

/*End Hero */

/* Courses */

.card{
    border-radius: 20px;
    background-color: #ffffff00;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border: none;
    position: relative;
    overflow: hidden;
}

.img-wrap{
    height: 100%;
}

.img-overlay{
    z-index: 3;
    opacity: 1;
    pointer-events: none;
    background-image: linear-gradient(#0000, #000 90%);
    transition: opacity .4s;
    position: absolute;
    inset: 0%;
}

.img-wrap:hover .img-overlay{
    opacity: 0.5;
}

.heading{
    padding-bottom: 3rem;
}

.card-content{
    /* position: absolute;
    bottom: 0px;
    padding: 8px 32px; */
    color: #f0f8ff;
    z-index: 3;
    grid-column-gap: 1rem;
    grid-row-gap: 0;
    flex-flow: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: .5rem 1.5rem 1rem;
    display: flex;
    position: absolute;
    inset: 0%;
}

.card-img{
    border-radius: 20px;
    z-index: 2;
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: relative;
}

.spacer{
    padding: 12px;
}

.card-imga{
    border-radius: 16px;
    width: 100%;
    height: auto;
    object-fit: cover;
    padding: 20px;
}


.card-imgb{
    border-radius: 16px;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    padding: 20px;
}



/* End Courses */

/* Why */

.bgwhy{
    background-color: #f4faff;
}

.icon{
    width: 80px;
    height: 85px;
    object-fit: contain;
}

.box{
    background: #ffffff;
    border-radius: 20px;
    height: 100%;
    padding: 32px 80px 12px 32px;
    box-shadow: 0px 0px 20px rgb(71 184 255 / 8%), 0px 5px 5px -1px rgb(58 125 233 / 1%), inset 4px 4px 8px rgb(255 255 255 / 9%), inset -4px -4px 8px rgb(19 95 216 / 0%);
}


.txt-content{
    text-align: left;
    margin-top: 30px;
}

.txt-content p{
    color: #505050;
}

.cta{
    background-image: radial-gradient(circle, #00afe8, #0000ff);  
    padding: 4rem;
    color: #f0f8ff;
    border-radius: 20px;
}

/* End Why */

@media (max-width: 992px){
    .spcall{
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .fmb{
        margin-top: 24px;
    }
}

@media (max-width: 768px){
    .forp-mb{
        padding-top: 0rem !important;
    }
}


@media (max-width: 600px){
    .img-side {
        width: 100%;
        height: auto;
        margin-top: 2rem;
    }
    
    .p-sec{
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .spcall{
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .up{
        margin-top: 3rem !important;
    }
    
    .forcm{
        padding: 40px 0px !important;
    }

    .footerflx{
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

    .slider-container {
      width: 100%;
      max-width: 1200px; /* 3 videos at 400px each */
      height: 100%;
      max-height: 711px; /* 9:16 aspect ratio for 400px width */
      position: relative;
      overflow: hidden;
    }
    .slider {
      display: flex;
      height: 100%;
      transition: transform 0.5s ease;
      touch-action: pan-y;
    }
    .slide {
      flex: 0 0 calc(100% / 3); /* Show 3 videos at once */
      height: 100%;
      position: relative;
      box-sizing: border-box;
    }
    video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 20px;
    }
    .controls {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 10;
      opacity: 0.7; /* Subtle opacity */
      transition: opacity 0.3s ease;
    }
    .controls.hidden {
      opacity: 0;
      pointer-events: none; /* Prevent interaction when hidden */
    }
    .controls:hover {
      opacity: 0.9; /* Slightly more visible on hover */
    }
    .controls button {
      background: none;
      border: none;
      width: 90px; /* Small size for subtlety */
      height: 90px;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      transition: background 0.3s, transform 0.2s;
    }
    .controls button:hover {
      transform: scale(1.1); /* Subtle scale effect */
    }
    .controls svg {
      width: 48px; /* Smaller icon for subtlety */
      height: 48px;
      fill: white;
    }