@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Noto+Sans+Georgian:wght@100;200;300;400;500;600;700;800;900&family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100&family=Roboto:wght@100;300;400;500;700;900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'roboto', sans-serif;
}

/* Section 1 */

.sec1{
    background-image: url('/assets/teachnook/assets/aboutus/bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    position: relative;
}

.details{
    text-align: center;
}

.details h1{
    font-size: 53px;
    font-weight: bold;
    line-height: 74px;
}

.details p{
    color: #5C5C5C;
    line-height: 25px;
    font-size: 20px;
    text-align: center;
    width: 50%;
    margin: auto;
}
.details{
    padding-top: 9%;
}

.imgdiv{
    width: 100%;
    display: flex;
    justify-content: center;
  
    position: absolute;
    bottom: 0; 
    left: 0%;

}
.imgdiv img{
    width: 60%;
}


/* section 2 */

.sec2{
    padding: 5%;
    /* position: relative; */

}

.s2details{
    background-image: url('/assets/teachnook/assets/aboutus/sec2bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    padding: 5%;
    text-align: center;
    position: relative;
}

.rotatediv{
    width: 95%;
    height: 100%;
    position: absolute;
    background-color: rebeccapurple;
    z-index: -1;
    transform: rotate(-3deg);
    border-radius: 40px;
    background-image: linear-gradient(180deg,#FF4800, #FF4C00, #FF9000, #FF7000, #FF5A00, #FF9100);
    /* margin: 5% 5%; */
    left: 2%;
    right: 2%;
    top: 0%;
} 


.s2details h2{
    color: #423F3F;
    font-size: 27px;
    line-height: 35px;
    margin-bottom: 2%;
}

.s2details p{
    font-size: 17px;
    color: #423F3F;
    text-align: left;
    margin-bottom: 2%;
    line-height: 25px;
    width: 84%;
    margin: auto;
}



/* section 3 */
.sec3{
    background-image: url('/assets/teachnook/assets/aboutus/s3bg.png');
    background-size: cover;
    background-repeat: no-repeat;
  display: flex;
}
.s3imgdiv img{
    width: 100%;
}

.s3imgdiv{
    width: 75%;
    margin: 10% 0% -4% 15%;
}

.s3div{
    width: 47%;
}

.s3details{
    width: 53%;
}
 
.s3details h2{
    font-size: 27px;
    line-height: 35px;
    color: #F9F8F4;
    margin-top: 11%;
}

.s3details p{
    font-size: 17px;
    line-height: 25px;
    color: #BFBFBF;
    width: 88%;
    margin-top: 3%;
    
}


/* contactus */

    .jb-section6-sub1{
        display: flex;
        justify-content: center;
        align-items: center;
        background-image: url('https://img.freepik.com/free-vector/pastel-ombre-background-pink-purple_53876-120750.jpg');
        background-position: center;
        background-size: cover;
        padding: 2% 0;
    }
    .jb-section6-des,.jb-section6-contactForm{
        width: 50%;
    }
    .jb-section6-des{
        text-align: center;
        padding: 3% 0 0;
    }
    .jb-section6-des h2{
        color: #00192D;
        font-size: 32px;
        font-weight: 700;
    }
    .contactLottieMain {
    width: 65%;
    margin: auto;
}
.jb-section6-des>p{
    font-size: 20px;
    color: #0F121C;
    padding: 4% 10% 1%;
    line-height: 27px;
}
.jb-sec6-formBox{
    background-color: #FFFFFF;
    border: 1px solid #D6D6D6;
    box-shadow: #00000029 3px 3px 10px;
    border-radius: 15px;
    width: 70%;
    margin: auto;
}
.jb-sec6-formBox h2{
    color: #222534;
    font-size: 22px;
    text-align: center;
    font-weight: 700;
    padding: 6% 0;
}
.jb-sec6-formBox input{
    display: block;
    width: 85%;
    font-size: 17px;
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    padding: 15px 21px;
    margin: 0 auto 4%;
}
.jb-sec6-formBox p{
    font-size: 11px;
    line-height: 15px;
    color: #1E1F20;
    text-align: left;
    padding: 0 9%;
}
.jb-sec6-formBox p a{
    font-weight: 700;
    text-decoration: none;
    color: #1E1F20;
}
.jb-sec6-formBox button{
    border: none;
    background-color: #00192D;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    padding: 2.5% 30%;
    display: block;
    margin: 5% auto 6%;
    cursor: pointer;
}
/* ===mobile-version===== */

@media screen and (max-width:1300px) {

        /* Section 1 */
        .details h1{
            font-size: 50px;
        }
    
        .details p {
            font-size: 18px;
        }
    
        .imgdiv img {
            width: 53%;
        }

        .details {
            padding-top: 8%;
        }
}
@media screen and (max-width:1200px) {

    /* Section 1 */
    .details h1{
        font-size: 50px;
    }

    .details p {
        font-size: 18px;
    }

    .imgdiv img {
        width: 53%;
    }

    .details {
        padding-top: 9%;
    }
    .jb-sec6-formBox {
        width: 77%;
    }
}


@media screen and (max-width:1150px) {

.details h1 {
    font-size: 48px;
}
.details {
    padding-top: 11%;
}

.details p {
    font-size: 18px;
}

.s3imgdiv {
    width: 79%;
    margin: 11% 0% -4% 13%;
}
}


@media screen and (max-width:1100px) {
.s3imgdiv {
    width: 81%;
    margin: 16% 0% -4% 11%;
}
}
@media screen and (max-width:1050px) {
.details {
    padding-top: 12%;
}
.s3details p {
    font-size: 16px;
}
}
@media screen and (max-width:1000px) {
    .jb-section6-des>p {
    font-size: 20px;
    line-height: 25px;
}
.jb-section6-des h2 {
    font-size: 29px;
}
.contactLottieMain {
    width: 77%;
}
.s3details p {
    font-size: 15px;
}
.imgdiv img {
    width: 60%;
}
}

@media screen and (max-width:950px) {

.details {
    padding-top: 13%;
}
.s3imgdiv {
    width: 84%;
    margin: 14% 0% -4% 11%;
}

.s3details p {
    font-size: 14px;
}


.s3details h2 {
    
    margin-top: 5%;
}
}

@media screen and (max-width:900px) {
    .s3imgdiv {
        width: 86%;
        margin: 17% 0% -4% 9%;
    }
}


@media screen and (max-width:880px) {
    .jb-sec6-formBox input {
    font-size: 16px;
    padding: 11px 21px;
}
.jb-sec6-formBox {
    width: 88%;
}  

.imgdiv img {
    width: 65%;
}
}

@media screen and (max-width:850px) {
.imgdiv img {
    width: 66%;
}
.details {
    padding-top: 15%;
}
.s3details h2 {
    margin-top: 10%;
}
.s3imgdiv {
    width: 90%;
    margin: 19% 0% -4% 6%;
}
.s3imgdiv {
    width: 90%;
    margin: 22% 0% -4% 6%;
}
.s3details p {
    
    width: 95%;
}
}

@media screen and (max-width:800px) {
    .s3imgdiv {
        width: 92%;
        margin: 25% 0% -4% 5%;
    }
}

@media screen and (max-width:750px) {
.imgdiv img {
    width: 72%;
}
.s3details h2 {
    margin-top: 13%;
}
}
@media screen and (max-width:730px) {

    .sec1 {
        height: 87vh;
    }
    .sec2 {
        padding: 10%;
    }
    .details {
        padding-top: 14%;
    }

    .details h1 {
        font-size: 45px;
    }
    .details h1 {
        line-height: 60px;
    }

    .details p {
       
        width: 60%;
        font-size: 17px;
    }
   
.sec3{
    display: flex;
    flex-direction: column;
}

.s3div {
    margin: auto;
    width: 70%;
}

.s3imgdiv {
    width: 92%;
    margin: -6% 0% -4% 0%;
}

.s3details {
    margin: auto;
    width: 90%;
    margin-top: 8%;
    margin-bottom: 5%;
}


.s3details p {
    width: 100%;
    font-size: 16px;
}
.s3details h2 {
    margin-top: 0%;
    font-size: 22px;
}

  

    .jb-section6-des, .jb-section6-contactForm {
    width: 100%;
}
section.jb-section6-sub1 {
    flex-direction: column;
}
.contactLottieMain {
    display: none;
}
.jb-section6-des>p {
    padding: 4% 10% 5%;
}
.jb-sec6-formBox {
    width: 77%;
}

}


@media screen and (max-width:650px) {
    .details h1 {
        line-height: 55px;
        font-size: 40px;
    }
    .details p {

        font-size: 16px;
    }
    .sec1 {
        height: 78vh;
    }
   
}
@media screen and (max-width:600px) {

    /* Section 1 */
    
    .details {
        padding-top: 15%;
    }
    .details h1 {
        line-height: 55px;
        font-size: 35px;
    }
    .details p {
        width: 70%;
    }
  
    .imgdiv img {
        width: 79%;
    }

    .jb-sec6-formBox input {
    font-size: 17px;
    padding: 12px 21px;
    border-radius: 7px;
}
.jb-section6-des h2 {
    font-size: 28px;
}
.jb-section6-des>p {
    font-size: 18px;
}  
}

@media screen and (max-width:550px) {
    .details {
        padding-top: 24%;
    }
    .sec1 {
        height: 55vh;
    }
}
@media screen and (max-width:500px) {

    .sec1 {
        height: 66vh;
    }
    .details p {
        width: 75%;
    }

   
    .jb-section6-des>p {
    font-size: 16px;
    line-height: 22px;
    padding: 3% 6% 4%;
}
.jb-section6-des h2 {
    font-size: 25px;
}
.jb-sec6-formBox {
    border-radius: 9px;
}
.jb-sec6-formBox input {
    border-radius: 5px;
    margin: 0 auto 3%;
}
.jb-sec6-formBox button {
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    padding: 4% 23%;
}
.jb-sec6-formBox h2 {
    font-size: 19px;
}
}


@media screen and (max-width:475px) {
    .details {
        padding-top: 24%;
    }
.sec1 {
    height: 60vh;
}
.details p {
    width: 85%;
}
}

@media screen and (max-width:430px) {
    .sec2 {
        padding:10% 5%;
    }
    .sec3 {
        margin-top: 30px;
        padding-bottom: 20px;
    }
    .jb-section6-des>p {
        font-size: 15px;
        padding:5% 5% 12% 5%;
    }
    .jb-section6-sub1 {
        padding-bottom: 40px;
    }
    .s3details p {
        font-size: 13px;
        line-height: 21px;
    }
    .rotatediv {
        width: 90%;
        transform: rotate(-4-deg);
        left: 4%;
        right: 4%;
    }
    .jb-sec6-formBox {
    width: 85%;
}
.jb-sec6-formBox input {
    font-size: 15px;
    padding: 12px 13px;
}
.jb-section6-des>p {
    font-size: 14px;
    line-height: 20px;
}
.jb-section6-des h2 {
    font-size: 22px;
}
.jb-sec6-formBox h2 {
    font-size: 18px;
}
.jb-sec6-formBox {
    padding: 2% 0 4%;
}
.details {
    padding-top: 24%;
}
}
@media screen and (max-width:390px) {

    .imgdiv img {
        width: 90%;
    }
    .sec1 {
        height: 60vh;
    }
    .details {
        padding-top: 25%;
    }

    .details h1 {
        line-height: 50px;
        font-size: 30px;
    }
    .details p {
        width: 90%;
    }
    .jb-sec6-formBox {
    padding: 0;
}
}
@media screen and (max-width:350px) {
    .details {
        padding-top: 40%;
    }
  
.s3details p {
    width: 100%;
    font-size: 13px;
}
}