
/* text slide animation */
.text-slide {
    width: 100%;
    overflow: hidden;
    position: fixed;
    z-index: 998;
}

.text-slide.scrolled {
    height: 35px;
}

.slide-container {
    width: 100%;
    height: 35px;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(207, 207, 207, 0.9), #fff, #fff, #fff);
    margin: 0;
    padding: 0;
}

.marquee-track {
    overflow: hidden;
    display: flex;
    width: max-content;
    animation: scrollText 15s linear infinite;
}

@keyframes scrollText {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

.marquee-text {
    overflow: hidden;
    white-space: nowrap;
    /* padding-right: 20px; */
    margin-top: 10px;
}

.slide-t {
    text-decoration: none;
    color: #006a3a !important;
    font-family: 'Hind Siliguri' !important;
    font-size: 1rem !important;
    font-weight: bold;
}

/* hero section  */
.hero {
    margin-top: 40px;
    background-color: #006a3a;
    width: 100%;
    height: 100vh;
}

.hero-container {
    width: 90%;
    margin: 0 auto;
    padding-top: 70px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.hero-content {
    flex: 1;
}

.cont-t {
    color: yellow;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    -webkit-text-stroke: 1px #006a3a;  
}

.cont-t>span {
    font-size: 45px;
    font-weight: 600;
    text-align: center;
}

.cont-p {
    text-align: center;
    color: #eeeeee;
    text-align: justify;
    font-size: 13px;
    line-height: 1.8;
    padding: 20px 25px 20px 0;
}

.cont-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.btn-h {
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 1rem;
}

.btn-expo {
    color: black;
    background-color: rgb(253, 228, 0);
    transition: 0.5s ease;
}

.btn-expo:hover {
    color: #006a3a;
    background-color: #fff;
    
}

.btn-about {
    color: white;
    background-color: #8d0000;
    transition: 0.5s ease;
}

.btn-about:hover {
    color: #006a3a;
    background-color: #fff;
    
}

/* hero img slides  */
.slider {
    flex: 1;
    overflow: hidden;
    position: relative;
    
}

.slides {
    display: flex;
    width: 100%;
    transition: transform 0.8s ease-in-out;
}

.slides img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* slider box animation  */
.slider {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* slide button  */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }

/* course catagory section  */
.catagory {
    width: 100%;
}

.catagory-content {
    width: 60%;
    margin: 0 auto;

}

/* all section title  */
.sec-title {
    padding-top: 20px;
    text-align: center;
    margin: 0 auto;

}

.h-title {
    font-size: 20px;
    text-align: center;
    padding: 10px auto;
    margin-bottom: 20px;
}
.cata-title{
    color: #006a3a;
}

/* catagory card design  */
.type-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.type-wrapper>a {
    text-decoration: none;
}

.cata-c {
    width: 220px;
    height: 180px;
    background-color: #ececec;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.cata-c:hover {
    background-color: #ffbebe;
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.cata-img {
    width: 220px;
    height: 130px;
    padding: 20px 10px;
    margin: 0 auto;
}

.cata-img>img {
    height: 100%;
    width: 100%;
}

.cata-text {
    padding: 5px;

}

.cata-p {
    text-align: center;
    line-height: 1.2;
    color: #303030;
    font-size: 15px;
    font-weight: 600;
}

/* featued courses section  */
.courses{
    background-color: #006a3a;
    width: 100%;
    height: auto;
}
.course-container{
    width: 90%;
    margin: 0 auto;
}
.course-title{
    color: #f5fffa;
}

/* course card design  */
.course-card-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.course-card{
    /* flex-basis: 80%; */
    width: 90%;
    background-color: #f5fffa;
    height: 350px;
    border-radius: 15px;
    transition: all 0.3s ease;
}
.course-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(150, 187, 163, 0.493);
}
.c-card-img{
    border: none;
    border-radius: 15px 15px 0 0;
    height: 200px;
    width: 100%;
    overflow: hidden;
}
.c-card-img>img{
    height: 100%;
    width: 100%;
    transition: transform 0.3s ease-in;
}
.c-card-img>img:hover{
    transform: scale(1.15);
}
.course-content{
    padding: 10px;
    border-radius: 0 0 15px 15px;
}
.cc-up{
    padding: 10px;
    border-bottom: 1px solid gray;
}

.c-card-t{
    color: #006a3a;
    padding-bottom: 16px;
}
.duration{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 5px;
}
.duration p{
    font-size: 12px;
    color: #303030;
    font-weight: 600;
}
.cc-down{
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}
.del-price{
    font-size: 12px;
    color: #8d0000;
}
.price{
    color: #006a3a;
    font-weight: 600;
    font-size: 14px;
}
.c-details{
    padding: 8px 5px;

}
.detail{
    color: #006a3a;
    border: 1px solid #006a3a;
    border-radius: 25px;
    padding: 8px 12px;
    transition: 0.8s ease;
}
.detail:hover{
    color: #fff;
    background-color: #006a3a;
}


/* explore all courses btn  */
.explore-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
}
.line{
    width: 80px;
    height: 1.5px;
    background-color: #f5fffa;
}
.exp-btn{
    border: 1.5px solid #f5fffa;
    background-color: #006a3a;
    color: #f5fffa;
    font-size: 13px;
    padding: 10px 15px;
    border-radius: 30px;
    transition: 0.4s ease-in;
}
.exp-btn:hover{
    background-color: #f5fffa;
    color: #006a3a;
}


/* contact section  */
.contact{
    width: 100%;
    background-color: #f5fffa;
}
.contact-container{
    width: 90%;
    margin: 0 auto;

}
.cont-title{
    color: #006a3a;
}
.contact-content{
    display: flex;
    flex-direction: column;
    justify-content: center;

}
/* form sectin  */
.form{
    padding: 10px 20px;
    border: 1px solid #006a3a;
    border-radius: 5px;
    display: block;
    width: 100%;
    /* height: 43vh; */
    margin-bottom: 20px;
}
.cont-text{
    font-family: "Hind Siliguri";
    font-size: 1rem;
    font-weight: 600;
    color: #006a3a;
    line-height: 3.5;
}
input{
    width: 290px;
    height: 35px;
}
.input-c{
    border: 1px solid #006a3a;
    border-radius: 20px;
    padding: 8px;
    font-size: 11px;
    margin-bottom: 25px;
    background-color: transparent;
    font-family: "Hind Siliguri";
}

.input-c::placeholder{
    font-size: 11px;
    font-family: sans-serif;
    color: rgb(54, 54, 54);
    font-family: "Hind Siliguri";
}

.input-c:focus{
    border: none;
    background-color: #fff;
    box-shadow: 3px 3px 4px rgb(123, 139, 122);

}
.cont-btn{
    display: flex;
    justify-content: start;
    gap: 11px;
    align-items: center;
    padding-bottom: 25px;
}
.cc-btn{
    padding: 10px 15px;
    font-size: 13px;
    display: block;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.5s ease-in;
}
.reset{
    color: #8d0000;
    border: 1px solid #8d0000;
    background-color: #fff;
}
.send{
    color: #006a3a;
    border: 1px solid #006a3a;
    background-color: #fff;
}
.reset:hover{
    color: #fff;
    background-color: #8d0000;
}
.send:hover{
    color: #Fff;
    background-color: #006a3a;
}

.map{
    width: 325px;
    height: 200px;
    margin-bottom: 30px;
}

