body 
{
    
     background-color: #000000;
     scroll-behavior: smooth;
     
     color: #e6e6e6;
     font-family: "Inter", sans-serif;   
     font-optical-sizing: auto;
     
}

.signin-btn {
    
    padding: 6px 18px;
    border-radius: 20px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    font-weight: 500;

    background: black;
    transition: all 0.3s ease;
}

.signin-btn:hover {
    background-color: #3BC9DB;
    border-color: #3BC9DB;
    transform: scale(1.05);
}

/*.navbar {
  background-color: rgb(0, 0, 0);
}*/


.navbar .nav-link
{
    color: white;  
    filter: drop-shadow(0 0 5px rgb(0, 0, 0)) drop-shadow(0 0 30px rgb(0, 0, 0));
}

nav a 
{   
    text-decoration: none;  
}



.nav-link:hover
{
    color:rgb(84, 155, 218);
    transition: all 0.5s ease;
    transform: scale(1.1);

}

#Home
{
     height: 100vh;
     text-align:center;
     align-content: center;
     padding-top: 70px;  
}


#niviname
{
    margin-left: 10px;  
    
}

#desig 
{
    margin-left: 10px;  
    font-size: 20px;
    color: rgb(35, 199, 14);
  
    
}
#role-text {
  display: inline-block;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.fade-out {
  opacity: 0;
  transform: scale(1);
}
.fade-in {
  opacity: 1;
  transform: scale(1);
}

#profilephoto
{
   width: 100px;
   aspect-ratio: 1/1;
   transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
   margin-bottom: 10px;  
}

.educator {
  display: flex;
  align-items: center;
  justify-content: center;

}
.educator-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  
  width: 100px;

}
.aboutteacher {
   width: 80vw;
   margin: 0 auto;
   justify-content: center;
   padding-bottom: 100px;
}


.brand {
  display: flex;
  align-items:center;
  justify-content: center;
  gap: 0.2rem;
  margin: 20px;
  min-width: 100;
}
.words{
  transform: translateY(60px);
  font-size: 90px;
}
.hota {
  color:aqua;
  margin-right: 40px;
  /*animation presetter*/
  opacity: 0;
  animation: textappear 0.7s ease-out forwards;
  animation-delay: 1.6s;
}
.yte {
  color:rgb(84, 155, 218);
  /*animation presetter*/
  opacity: 0;
  animation: textappear 0.7s ease-out forwards;
  animation-delay: 1.8s;
}
.logoc {
  /*animation presetter*/
  opacity: 0.5;
  transform: translateX(170px) scale(0.7); 
  animation: logoPopC 0.7s ease-out forwards,
   logomove 0.8s ease-out forwards;
  animation-delay: 0s, 0.8s;
}
.logob {
  /*animation presetter*/
  opacity: 0.5;
  transform: translateX(-30px) scale(0.7);
  animation-delay: 0.5s;
  animation: logoPopB 0.7s ease-out forwards,
  logomove 0.8s ease-out forwards;
  animation-delay: 0s, 0.8s;
  
}

@keyframes logoPopC {
  to {
    opacity: 1;
    transform: translateX(170px) scale(1);    
  }
}
@keyframes logoPopB {
  to {
    opacity: 1;
    transform: translateX(-30px) scale(1);  
  }
}
@keyframes logomove {
  to {
    transform: translateX(0);
  }
}
@keyframes textappear {
  
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .brand {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    justify-content: center;
    align-items: center;
    
  }

  
  .words {
    font-size: 80px;
    margin: 0;
  }

  
  .hota {
    transform: translateX(-40px) translateY(90px);
  }

  .yte {
    transform: translateX(-10px) translateY(50px);
  }

}



#tagline
{
    margin: 30px;
    font-size: 30px;
    animation: textappear  0.7s ease-out forwards;
    opacity: 0;
    animation-delay: 2.5s;
}

.hovereffect
{
    
    transform-origin: center;
}
.hovereffect:hover
{
    transition: all 1s ease;
    transform: scale(1.05);
}

.hovereffectimg
{
    
    transform-origin: center;
}
.hovereffectimg:hover
{
    transition: all 1s ease;
    transform: scale(1.1);
    color:aqua;  
    border: none;  
}
#aboutlogo:hover {
    filter: drop-shadow(0 0 5px aqua) drop-shadow(0 0 10px aqua);
    transform: scale(1.2);
    transition: all 0.5s ease;
}

#About
{
    min-height: 100vh;
    text-align: center;
    align-content: center;
    padding-top: 70px; 
    margin: 20px;
    font-size: 20px;
    font-weight: 50px;
    
}
.abouttext {
    
    width: 70vw;
    margin: 0 auto;
}

#aboutlogo
{
    height: 20vh;
    margin: 10vh;
}

#Courses
{
    min-height: 100vh;
    text-align:center;
    align-content: center;
    padding-top: 70px; 
    margin: 30px;
}
.coursebox { 
    width: 250px;
    margin: 10px;
    text-align: left;
    gap: 0 0.2rem;
    color:rgb(247, 247, 247);
    font-size: 0.9rem;
    background: linear-gradient(180deg,rgb(80, 80, 80),rgb(60, 60, 60));
    padding: 1rem 1.1rem;
    border-radius: 0.4rem;
    box-shadow: 0 0.1rem 0.2rem rgb(45, 4, 79), 0 0.1rem 0.5rem rgb(34, 3, 78), 0 0.2rem 1.5rem rgb(3, 47, 82);
    position: relative;
    padding-bottom: 3rem;
}
.coursebox:hover {
    filter: drop-shadow(0 0 5px aqua) drop-shadow(0 0 10px aqua);
    transform: scale(1.05);
    transition: all 0.5s ease; 
}
.enroll-btn {
    padding: 6px 18px;
    border-radius: 20px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    font-weight: 500;
    background: black;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(1px);
    transition: all 0.3s ease; 
    position: absolute;
    bottom: 0.8rem;
    left: 1rem;

}
.coursebox:hover .enroll-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: inline-block;  
}
.enroll-btn:hover {
    background-color: aqua;
    color:black;
    border-color: rgb(29, 4, 29);
    transform: scale(1.05);
}
@media (hover: none) {
  .enroll-btn {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}
.coursebox h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: 0.3px;
}
.course-meta {
  font-size: 0.75rem;
  opacity: 0.75;
  margin-bottom: 0.6rem;
}
.coursebox ul {
  padding-left: 1rem;
  margin-bottom: 0.6rem;
}

.coursebox li {
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 0.35rem;
  opacity: 0.9;
}
.coursebox li::marker {
  color: aqua;
}


#Contact
{
    height: 100vh;
    text-align:center;
    align-content: center;
    padding-top: 70px; 
    margin: 30px;

}

#form
{
    margin: 0 auto;
    border: 1px solid whitesmoke;
    text-align: left;
    padding: 20px;  
    width:  60vw;
}

.inputboxes
{
    border-radius: 5px;
    width: 50vw;
    
}

.messagebox
{
    height: 20vh;
}

.testimonytitle {
  padding-bottom: 40px;
}


/*Infinite scroll*/
.tag-list
{
    width: 90vw;
    max-width: 1200px;
    margin-inline: auto;
    position: relative;
    overflow: hidden;
}
.inner
{
    width: max-content;
    display: flex;
    gap: 2rem;
    animation: loop 20s linear infinite;
}
.tag 
{
    /*display: flex;*/
    width: 250px;
    text-align: left;
    /*align-items: center;*/
    gap: 0 0.2rem;
    color:rgb(247, 247, 247);
    font-size: 0.9rem;
    background-color: rgb(72, 72, 72);
    padding: 0.7rem 1rem;
    border-radius: 0.4rem;
    box-shadow: 0 0.1rem 0.2rem rgb(5, 42, 111), 0 0.1rem 0.5rem rgb(13, 3, 78), 0 0.2rem 1.5rem rgb(1, 34, 71);
}
.tag p {
    margin-bottom: 0.4rem;
}
.scrollfade {
    position: absolute;
    background: linear-gradient(90deg, rgb(0, 0, 0), transparent 8%, transparent 92%, rgb(0, 0, 0));
    inset: 0;
    pointer-events: none;
    
}   
@keyframes loop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.tag-list:hover .inner {
    animation-play-state: paused;
}

/* smooth Scroll effect */
.autoshow {
    animation: text-appear both;
    animation-timeline: view();
    animation-range: entry 20% cover 100vh;
}
@keyframes text-appear {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*image show */

.fadeup {
  animation: fadeup both;
  animation-timeline: view();

}

.timeline-item:nth-child(1) {
  animation-range: entry 20% cover 30%;
}
.timeline-item:nth-child(2) {
  animation-range: entry 30% cover 40%;
}
.timeline-item:nth-child(3) {
  animation-range: entry 40% cover 50%;
}
.timeline-item:nth-child(4) {
  animation-range: entry 50% cover 60%;
}
.timeline-item:nth-child(5) {
  animation-range: entry 60% cover 70%;
}

@keyframes fadeup {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.5);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.autoblur {
  animation: autobluranimation linear both;
  animation-timeline: view(50% auto);
}

@keyframes autobluranimation {
  0% {
    filter: blur(20px);
  }
  35%, 45% {
    filter: blur(0px);
  }
  70% {
    filter: blur(0px);
  }
  100% {
    filter: blur(0px);
  }
}



/* Philosophy tree*/
.tree-title {
  font-size: 2.2rem;
  margin-top: 4rem;
  letter-spacing: 1px;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 6rem auto;
}

/* Center vertical line */
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.15);
  transform: translateX(-50%);
}
/*Timeline rows*/
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin: 4rem 0;
}
/*Content box*/
.content {
  color: white;
  max-width: 420px;
  font-size: 1.3rem;   
}
.mainline {
  color: yellow;
}
.subline {
  font-size: 0.9rem;
  opacity: 0.75;
}
/*photo styling*/
.photo {
  display: flex;
  justify-content: center;
}
.photo img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 0.4rem;
  box-shadow: 0 0 20px rgba(242, 242, 1, 0.5);
  border: 2px solid rgba(212, 128, 1, 0.6);
}
/*left right alignment*/
.timeline-item.left .content {
  justify-self: end;
  margin-right: 2rem;
  text-align:right;
}

.timeline-item.left .photo {
  justify-self: start;
  margin-left: 2rem;
}

.timeline-item.right .content {
  justify-self: start;
  margin-left: 2rem;
  text-align:left;
}

.timeline-item.right .photo {
  justify-self: end;
  margin-right: 2rem;
}
/*mobile*/
@media (max-width: 575.98px) {
  .timeline::before {
    left: 8px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .photo,
  .content {
    justify-self: center !important;
    margin: 0 !important;
  }
}

.accomplishment {
  padding: 20px 0; 
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 1.2rem 0;
  padding-left: 1.6rem;
  position: relative;
  color: #f5f5f5;
  letter-spacing: 0.3px; 
}
.accent {
  color: greenyellow;
}
.spacer {
  height: 100px;
}

.contactlinks {
    margin: 0 auto;
    text-align: left;
    padding: 20px;  
    width:  60vw; 
    
}
.clink {
  text-decoration: none;
  color: #f5f5f5;  
}
.emailtext {
  overflow-wrap: break-word;
}
.contactlogo {
  width: 30px;
  margin: 10px;
}

#loadingmessagebox
{
    position:fixed;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    width: 50vw;
    height: 10vh;
    align-content: center;  
    padding: 10px;
}

#loadingmessageblocker
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    backdrop-filter: blur(5px);
    /*display: none;*/
}





