


  


 
.content{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 30px 30px;
    line-height: 1.6;
}
.content h5{
    font-size: 18px;
    margin-bottom: 10px;
    color: #000;
}
.content p{
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
}
.testimonail-container{
    background-color: #a5b0e6;
}        
    
.testimonial{
    position: relative;
    overflow: hidden;
}



/* Frosted glass effect for header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  background-color: rgba(255, 255, 255, 0.7); /* semi-transparent white */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  z-index: 50;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}






/* Active sidebar (visible) */

.navbar{
     position: fixed;
      top: 0;
      right: -100%;
      width: 250px;
      height: 100vh;
     background-color: #fff;
      /* box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1); */
     flex-direction: column;
      align-items: flex-start;
     /* justify-content: center; */
     padding: 80px 30px;
     transition: right 0.3s ease-in-out;
     z-index: 200;
}





.navbar.active{
    right: 0;
}

/* Nav links inside sidebar */
.navbar li{
    margin-bottom: 10px;
    margin-top: 10px;
    
}

/* nav link underline hover effect */
.navbar li a {
  position: relative;
  color: #1e293b; /* default text color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px; /* space between text and underline */
  width: 0%;
  height: 2px;
  background-color: #1D4ED8; /* Tailwind's bg-blue-700 */
  transition: width 0.3s ease-in-out;
}

.navbar li a:hover::after {
  width: 100%; /* underline expands on hover */
}
.navbar li a:hover{
    color: #1d4ed8;
}

/* close icon */
#close{
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #1e293b;
    z-index: 200;
    opacity: 1;
    display: block;
}
#close img{
    width: 3rem;
    height: 3rem;
}
#fa-bars img{
    width: 3rem;
    height: 3rem;
}
.navbar.active #close{
    opacity: 1;
   
}
@media (min-width:768px) {
    nav{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .navbar{
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex: 1;
        gap: 2rem;
        height: auto;
        width: auto;
        background: transparent;
        /* box-shadow: none; */
        padding: 0;
        right: 0;

    }
     .navbar-container{
        /* flex: 1; */
        display: flex;
        justify-content: center;
    }  
    .mobilebtn{
        margin-left: auto;
        gap: 1rem;
     
    }  
    #fa-bars, #close{
        display: none;
    }
    .navbar li{
        /* margin-bottom: 0; */
    }
    .mobile{
        display: flex;
        /* align-items: center; */
        gap: 1rem;
        justify-content: end;

    }
    .menu-icon{
        display: none;
    }
     
    
}

.hero{
    background-image: url(./images/edtech\ girl.jpg);
    height: 90vh;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 80px;
    color: #fff;
    z-index: 1;
}
.hero::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;

}
.overlay-box{
    background: white;
    color: #1e293b;
    padding: 25px 30px;
    border-radius: 10px;
    max-width: 420px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
    position: relative;
    margin-top: 150px;
    /* margin-left: 0; */
}


@media (max-width: 768px) {
   
    .navbar.active{
       right: 0;
    }
    .actions{
      flex-direction: column;
      align-items: flex-start;
      gap: 0.8rem;
    }
    .menu-icon{
        display: block;
    }




    .hero{
        justify-content: center;
        padding: 10px 10px 10px;
        height: 50vh;
        background-position: center top;
        /* background-position: bottom top; */

    }
    .overlay-box{
        padding: 20px;
        max-width: 90%;
        margin: 100px auto  0 auto;
        text-align: center;
    }
    .overlay-box h4{
        font-size: 1.1rem;
    }
    .overlay-box p{
        font-size: 0.85rem;

    }    
}


@media (max-width: 400px) {
  .hero {
    height: 70vh; /* expand hero slightly to allow breathing space */
    padding: 0 20px; /* reduce side padding */
    background-position: center top; /* keep image centered */
  }

  .overlay-box {
    width: 100%;
    padding: 16px;
    margin: 200px auto; /* center the box horizontally */
    bottom: -70px; /*bring it up a bit from bottom */
  }

  .overlay-box h4,
  .overlay-box p {
    font-size: 0.9rem; /* smaller text for mobile */
    line-height: 1.4;
  }

  .overlay-box input {
    width: 100%;
    font-size: 0.8rem;
  }

  .overlay-box button {
    width: 100%;
    font-size: 0.85rem;
    padding: 10px;
  }
}

.reveal{
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}
.overlay-fade{
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transition: none;
}

  

