.tc-main-box button {
   border: none;
    padding: 0;
}

.tc-main-box {
  gap: 4rem;
    display: grid;
  grid-template-columns: repeat(2, 1fr);

    align-items: center;
}

.tc-card {
    background: #333;
  display: flex;
    border-radius: 0.8rem;
}

.texts-box-tc {
    margin: 2rem 0 0 2rem;
    display: flex;
  z-index: 100;
  flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
  width: 100%;
}

.img-tc {
  width: 100%;
    aspect-ratio: 9 / 10;
    object-fit: cover;
    height: 100%;
}


.h1-text-tc {
    margin: 0%;
    color: var(--white, #FFF);
    font-size: 2.2rem;
    font-weight: 700;
    text-align: left;
}
.texts-box-tc > span {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.p-text-tc {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.span-tc {
  white-space: nowrap;
    color: var(--white, #FFF);
    text-align: center;
    font-size: 1.6rem;
    font-weight: 400;
}


.img-tcwrap {
  height: 100%;
  z-index: 2
}


@media  (max-width: 768px) {
  .tc-main-box {
            max-width: 40rem;
        margin: 0 auto;
    grid-template-columns: repeat(1, 1fr);
    }
  

  }
   .tc-main-box button {
   
  }
  
  .tc-card {
   height: 20rem;
  }


}

@media  (max-width: 500px) {
    .tc-main-box {
        flex-direction: column;
        width: 100%;
    }
    .tc-card {
    
        max-width: 100%;
        gap: 2rem;
    }

}

/*  Teacher card style end  */

/* model teacher style start  */
.box-with-button1 {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
      align-items: start;
    width: 100%; 
  z-index: 1000;
    height: 100%; 
    overflow-y: scroll;
    background: rgba(255, 255, 255, 0.80);
  }
  

.box-with-button {
      margin: 18rem auto 6rem ;
     padding: 3rem 2rem;
    max-width: 1040px;
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-radius: 0.4rem;
    background-color: #333;
}

.mt-main-box {
    border-radius: 0.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5.5rem;
    align-self: stretch;
    text-align: center;
    margin: 0 auto;
}

.img-box-mt {
    width:100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.img-mt {
      width: 100%;
    aspect-ratio: 9 / 10;
    object-fit: cover;

}

.p-under-img {
    border-radius: 0.4rem;
    margin: -0.4rem 0 0 0 ;
    display: flex;
    padding: 0.4rem 0.8rem;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    align-self: stretch;
    border: 0.1rem solid var(--black, #000);
    background: var(--grey, #908F8F);

    color: var(--white, #FFF);
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
}


.under-text-img {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
}

.texts-box-mt {
     gap: 2.4rem;
    height: 70%;
    justify-content: start;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;

}

.texts-mt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
}

.h1-text-mt {
    margin: 0%;
    color: var(--white, #FFF);
    font-size: 2.2rem;
    font-weight: 700;
}
.h2-text-mt {
    margin: 0%;
    color: var(--white, #FFF);
    text-align: left;
    font-size: 2rem;
    font-weight: 700;
}
.p-text-mt {
    text-align: left;
    margin: 0%;
    color: var(--white, #FFF);
    font-size: 1.6rem;
    font-weight: 400;
}

.close-modal {
    line-height: 100%;
    display: inline-block;
    margin: 0 auto;
    width: 20rem;
    padding: 1rem 2.2rem;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    border-radius: 0.8rem;
    border: 0.1rem solid var(--grey, #908F8F);
    background: var(--white, #FFF);

    color: var(--grey, #908F8F);
    text-align: center;  
    font-size: 1.4rem;
    font-weight: 700;
}


.img-mtwrap {
  width: 100%;
  height: auto;
    aspect-ratio: 9 / 10;
    object-fit: cover;
}
  


@media  (max-width: 1040px) {
    .mt-main-box {
        gap: 4rem;
      flex-direction: column;
    }
  .img-mtwrap {
  width: 60%;
}
}
  
@media  (max-width: 768px) {

    .texts-box-mt {
        gap: 1.5rem;
    }
    .texts-mt {
        gap: 0.8rem;
    }
    .p-under-img {
        padding: 0.4rem 0.8rem;
        gap: 1rem;
    }
    .h1-text-mt {
    }
    .h2-text-mt {
    }
    .p-text-mt {

    }
    .close-modal {
        width: 18rem;
        padding: 0.9rem 2.2rem;
    }
}
@media  (max-width: 500px) {
    
    .texts-box-mt {
        gap: 1rem;
    }
    .texts-mt {
        gap: 0.6rem;
    }
    .p-under-img {
    }

    .h1-text-mt {
    }
    .h2-text-mt {
    }
    .p-text-mt {
    }
    .close-modal {
        width: 15rem;
        padding: 0.8rem 2.2rem;
    }
}
@media  (max-width: 500px) {
    .mt-main-box {
        flex-direction: column;
        width: 95%;
        gap: 2rem;        
    }
    
    .img-box-mt {
        width:80%;
    }
    
    .img-mt {
        width: 100%;
    }
    .p-under-img {
        padding: 0.4rem 0.8rem;
        gap: 1rem;
    }
    .h1-text-mt {
    }
    .h2-text-mt {
    }
    .p-text-mt {
    }
    .close-modal {
        width: 15rem;
        padding: 0.8rem 2.2rem;
    }
}
