@import url('https://fonts.googleapis.com/css2?family=Rancho&family=Rubik:wght@300;400;500;600;700;800;900&family=Ubuntu&display=swap');

* {
    font-family: 'Rubik', sans-serif;
}

section {
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

section.aboutpage {
    background: url(https://onerooftech.com/assets/img/about-us/about-banner.jpg);
    /* padding-top: 280px;
    padding-bottom: 100px; */
    background-size: contain;
    background-position-y: 130px;
    background-repeat: no-repeat;
}

.midcontnt {
    /* background-color: black; */
    height: 27vh;
    width: 34vw;
    margin-bottom: 4.1vh;
    margin-right: 22vw;
    position: relative;


}

.line {
    position: relative;
    top: -46%;
    left: -0.3%;
    width: 0;
    height: 31px;
    background: #00aaff;
    transition: width 1.3s ease;
    pointer-events: none;
    /* z-index: 200; */
}

.line2 {
    position: relative;
    top: -29.7%;
    left: 11%;
    width: 0;
    height: 30px;
    background: #00aaff;
    transition: width 1.3s ease;
    pointer-events: none;
    /* z-index: 200; */
}

.midcon {
    position: relative;
    text-transform: uppercase;
    font-size: 4.1vw;
    color: #222;
    line-height: 65px;
    font-weight: 600;
    z-index: 12;
}

.main-content {
    z-index: 2;
    background-color: #fff;
    /* overflow: visible; */
    position: relative;
    /* margin-bottom: 100vh; */
}

/* ----------------------page2 start--------------------- */


#mobviewpage2{
    display: none;
}
#page2 {
    position: relative;
    min-height: 100vh;
    max-width: 100vw;
    /* background-color: rgb(2, 42, 29); */
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
    padding: 50px 0px;

}

.text {
    min-height: 100vh;
    width: 60vw;
    /* background-color: rgb(255, 202, 202); */
}

.textcontent {
    color: #222;
    font-size: 2.6vw;
    font-weight: 600;
}

.textpara {
    margin-top: 10px;
    height: 25vh;
    width: 100%;
    /* background-color: aliceblue; */
    display: flex;
    padding: 10px;
    /* justify-content: space-evenly; */
}

.tp1 {
    height: 100%;
    width: 45%;
    padding-right: 25px;
    line-height: 23px;
    /* background-color: antiquewhite; */
    margin-right: 20px;
}

.tp2 {
    /* background-color: aqua; */
    height: 100%;
    width: 45%;
    margin-left: 20px;
    padding-right: 10px;
    line-height: 23px;
}

.aboutbgvid {
    /* height: 90vh; */
    width: 100%;
    border: 1px solid transparent;
    border-radius: 20px;
    margin-top: -37px;
}

.counters {
    display: flex;
    padding-top: 25px;
    flex-direction: row;
    justify-content: space-evenly;
}

.counter1 {
    height: 14vh;
    width: 18%;
    margin: 0px 25px;
}

.counter1 p {
    font-size: 60px;
    font-weight: 600;
    /* line-height: 3px; */
    color: #b9d0d8;
}

.counter1:nth-child(4) {
    margin-left: 70px;
}

.counter1:nth-child(3) {
    margin-left: 70px;
}

.counter1:nth-child(2) {
    margin-right: 25px;
}

.counter1 h5 {
    margin-left: 4px;
    color: #222;
    font-weight: 600;
}

/* ----------page2 end---------- */


.reveal {
    /* position: relative; */
    transform: translateY(90px);
    opacity: 0;
    transition: all 2s ease;
}

.reveal.active {
    transform: translateY(0px);
    opacity: 1;

}

/* -----------------------page3 start--------------------- */
#page3 {
    height: 100vh;
    max-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text2 {
    height: 100vh;
    width: 60vw;
}

.textcuntent {
    height: 9vh;

}

.textcuntent h1 {
    font-size: 2.9vw;
    font-weight: 600;
}

.textculent {
    display: flex;
    width: 100%;
    padding: 35px 0px 20px 0px;
}

.textculent img {
    width: 29vw;
    height: 33vh;
    margin-right: 7px;
}

.culenttext {
    margin-left: 7px;
    display: flex;
    /* justify-content: space-around; */
    flex-direction: column;
    width: 50%;
    padding: 0 15px;
}

.culenttext h2 {
    font-weight: 500;
    font-size: 20px;
    margin-top: 25px;
    padding: 0px 11px;
}

.culenttext p {
    margin-top: 25px;
    font-size: 15px;
    line-height: 28px;
    padding: 0px 11px;
    margin-right: 13px;
}
.numcolo{
    display: none;
}

.numbers {
    height: 9vh;
    width: 100%;
    /* background-color: aqua; */
    display: flex;
}

.one {
    width: 50%;
    font-size: 60px;
    font-weight: 600;
    color: #b9d0d8;
}

.two {
    width: 50%;
    font-size: 60px;
    font-weight: 600;
    color: #b9d0d8;
}

.colo {
    display: flex;
    flex-direction: row;
    width: 100%;
    /* padding: 0px 30px; */
    margin: 0px 10px;
    line-height: 25px;
}

.colo1 {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-right: 90px;
}

.colo1 h3 {
    font-size: larger;
    font-weight: 600;
    margin-bottom: 2px;
}

.colo2 h3 {
    font-size: larger;
    font-weight: 600;
    margin-bottom: 2px;
}

.colo2 {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-right: 90px;
}

/* ----------------------page3 end---------------------- */

/* ----------------------verticalanimation start----------------------- */
:root {
    --aboutImgTranslate: 0px;
}
.mobVerticalScrollAnim{
    display: none;
}

#verticalanimation {
    height: 100vh;
    max-width: 100%;
    /* background-color: #222; */
    position: relative;
    overflow: hidden;
}

#verticalanimation img {
    /* display: block; */
    height: 100vh;
    width: auto;
    position: absolute;
    right: var(--aboutImgTranslate);
}

.img1 {
    top: 0;
}

.img2,
.img3,
.img4,
.img5 {
    top: 100%;
}

.vertText1 {
    writing-mode: vertical-rl;
    font-family: "Rubik", sans-serif;
    font-weight: bold;
    color: #eff7f9;
    font-size: 15.5vw;
    position: absolute;
    left: 35%;
    height: 140vw;
    text-transform: uppercase;
}

.vertText2 {
    writing-mode: vertical-rl;
    font-family: "Rubik", sans-serif;
    font-weight: bold;
    color: #eff7f9;
    font-size: 15.5vw;
    position: absolute;
    left: 10%;
    height: 140vw;
    text-transform: uppercase;
    transform: translateY(-170vh);
}

.valuesContainer {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    font-size: clamp(3vw, 4vw, 5vw);
    font-weight: 700;
}

.scrollingValues {
    color: #00b0ef;
    position: absolute;
    font-size: clamp(3vw, 3.5vw, 5vw);
    line-height: normal;
}

.scrollingValues2,
.scrollingValues3,
.scrollingValues4,
.scrollingValues5 {
    transform: translateY(100%);
}

.scrollValuesContainer {
    width: 27vw;
    height: 5.5vw;
    position: absolute;
    top: 4.7vw;
    right: -15.5vw;
    overflow: hidden;
}

.valuesText {
    position: relative;
    font-size: clamp(3vw, 3.5vw, 5vw);
    line-height: normal;
}

/* ----------------------verticalanimation end----------------------- */

/* ----------------------page4 start----------------------- */
#page4 {
    position: relative;
    height: 62vh;
    max-width: 100vw;
    overflow: hidden;
}

.trust {
    height: 15px;
    width: 30vw;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 28px;
    font-size: 2.6vw;
    font-weight: 600;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.logos {
    padding: 10px 0px;
    margin-top: 100px;
    background: white;
    white-space: nowrap;
}

.logos:hover .logoslider {
    animation-play-state: paused;
}

.logoslider {
    display: inline-block;
    animation: 20s slide infinite linear;
}

.logoslider img {
    height: 135px;
    padding: 14px;

    margin: 10px 15px;
    border: 2px solid transparent;
    border-radius: 20px;
    background: #eff7f9;
    filter: grayscale(1);
    transition: 0.45s all ease-in-out;

}

.logoslider img:hover {
    filter: grayscale(0);
}

@keyframes slide1 {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.logos1 {
    overflow: hidden;
    padding: 1px 0;
    margin-top: -1px;
    background: white;
    white-space: nowrap;
}

.logos1:hover .logoslider1 {
    animation-play-state: paused;
}

.logoslider1 {
    display: inline-block;
    animation: 20s slide1 infinite linear;
    animation-direction: reverse;
}

.logoslider1 img:hover {
    filter: grayscale(0);
}

.logoslider1 img {
    height: 135px;
    padding: 14px;

    margin: 10px 15px;
    border: 2px solid transparent;
    border-radius: 20px;
    background: #eff7f9;
    filter: grayscale(1);
    transition: 0.45s all ease-in-out;
}

/* ----------------------page4 end----------------------- */

/* ----------------------page5 start----------------------- */
#page5 {
    position: relative;
    min-height: 100vh;
    width: 100%;
    /* background-color: #222; */
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    overflow-x: hidden;
}

.heading1 {
    font-size: 2.4vw;
    font-weight: 600;
    margin: 0 10%;
    margin-top: 6%;
    text-align: center;
}

.tiles {
    height: 35vw;
    width: fit-content;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.tilewrapper {
    height: 30vw;
    width: 55vw;
    margin: 0px 2vw;
    /* background-color: #222; */
    transition: all 0.3s ease;

}

.tile {
    height: 100%;
    width: 100%;
    flex-shrink: 0;
    background: #222;
    position: relative;
    overflow: hidden;
}

.tile img {
    display: block;
    height: auto;
    width: 100%;
    position: absolute;
    transition: 0.5s all ease;

    top: 0;
    left: 0;
    opacity: 0.8;
}

.contnet {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* justify-content: flex-end; */
    position: relative;
    top: -35%;
    padding: 20px 40px;
    z-index: 10;
    color: white;
}

.contnet h3 {
    font-size: 1.7vw;
    font-weight: 600;
    margin-bottom: 15px;

}

.carowpar {
    font-size: 19px;
    margin-top: 5px;
    margin-bottom: 20px;
    font-weight: 400;
}

.carowpar span {
    padding: 3px;
    font-size: small;
}

.contnet a {
    list-style: none;
    text-decoration: none;
    color: white;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
}

.btnconta {
    margin-left: 300px;
}

.carouselbtn {
    width: 150px;
    height: 40px;
    z-index: 1;
    background-color: transparent;
    border: 2px solid black;
    border-radius: 50px;
    font-size: 15px;
    padding: 2px;
}

.carouselbtn img {
    height: 10px;
}

.carouselbtn:hover {
    color: white;
    background-color: black;
}

.carouselbtn:hover img {
    filter: invert(98%) sepia(99%) saturate(3%) hue-rotate(252deg) brightness(107%) contrast(100%);
}

/* -------------------page6 start------------------ */

#page6 {
    height: 250vh;
    /* position: relative; */
    /* background-color: transparent; */
    /* margin-bottom: 2000px; */
}



/* ------------------page5 page6 end------------------ */


/* ------------------page7 start------------------ */


* {
    /* margin: 0;
    padding: 0; */
    font-family: 'Rubik', sans-serif;
}

.footer1 {
    height: 100vh;
    max-width: 100%;
    background-color: #222222;
    background-image: url(https://onerooftech.com/assets/img/union-3.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.footer1::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    pointer-events: none;
    background: radial-gradient(circle 30rem at var(456px) var(--cursorY),
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.7) 85%,
            rgba(0, 0, 0, 0.95) 100%);
}

.footercontainer {
    margin: 0 12.5%;
    height: 85%;
    width: 75%;
    margin-top: 50px;
    /* background-color: aliceblue; */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footercontainer h2 {
    margin-left: auto;
    margin-right: auto;
    font-size: 2.9vw;
    font-weight: 600;
    text-align: center;
}

table {
    width: 100%;
    margin-top: 210px;
    text-align: center;
    color: white;
    display: inline-table;
}

th {
    font-size: 1.40vw;
    font-weight: 500;
    padding-bottom: 10px;
}

td {
    padding: 7px 0;
    font-weight: 300;
    font-size: 0.9vw;
}

.socials {
    /* height: 10vh;
    width: 100%; */
    margin-top: 40px;
    margin-bottom: 20px;
    /* background-color: rgb(79, 68, 53); */
}

.socials h4 {
    font-size: 1.6vw;
    font-weight: 400;
    margin-bottom: 10px;
}

.sociallogos img {
    padding-right: 20px;

}

.footer-foot {
    border-top: 2px solid rgba(128, 128, 128, 0.366);
    display: flex;
    justify-content: space-between;
}

.policies {
    margin-top: 10px;
    display: flex;
    color: #888888;
}

.policies span {
    margin: 6px 7px 0px 7px;
    color: #00b0ef;
    font-size: 11px;
}

.copyright {
    margin-top: 10px;
    font-size: 13px;
    color: #888888;

}



@media screen and (min-width: 300px) and (max-width: 767px) {
    section {
        height: 100vh;
        width: 100%;
    }

    section.aboutpage {
        background: url(https://onerooftech.com/assets/img/about-banner-mob.png);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .midcontnt {
        height: 100%;
        width: 100%;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .midcon {
        text-transform: uppercase;
        font-size: 35px;
        color: #222;
        width: 100%;
        line-height: normal;
        font-weight: 800;
        padding-left: 20px;
    }
    .line {
        position: absolute;
        top: 53%;
        left: 8%;
        width: 0;
        height: 20px;
        background: #00aaff;
        transition: width 1.3s ease;
        pointer-events: none;
    }
    
    .line2 {
        position: absolute;
        top: 59.2%;
        left: 8%;
        width: 0;
        height: 20px;
        background: #00aaff;
        transition: width 1.3s ease;
        pointer-events: none;
    }

    #page2{
        display: none;
    }
    #mobviewpage2{
        display: block;
        /* height: fit-content; */
        height: auto;
        width: 100%;
        background-color: #fff;
    }
    .aboutbgvid{
        margin: 0;
        height: 350px;
        width: 100%;
        margin-bottom: 20px;
    }
    .text{
        margin: 0;
        padding: 0;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 0 20px;
        /* justify-content: space-evenly; */
    }
    .textcontent{
        width: 100%;
        font-size: 35px;
        padding-bottom: 20px;
    }
    .textpara{
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        gap: 20px;
        width: 100%;
        height: auto;
        /* padding: 0 10px; */
        padding-bottom: 20px;
    }
    .tp1{
        width: 100%;
        height: auto;
        padding: 0;
        margin: 0;
        line-height: normal;
        text-align: justify;
    }
    .tp2{
        height: auto;
        width: 100%;
        padding: 0;
        margin: 0;
        line-height: normal;
        text-align: justify;
    }
    
    .counters{
        display: flex;
        margin: 0;
        padding: 0;
        width: 100%;
        height: auto;
        gap: 50px;
        /* justify-content: end; */
    }
    .counter1 {
        height: auto;
        width: 100%;
        margin: 0;
    }
    
    .counter1 p {
        font-size: 50px;
        font-weight: 600;
        color: #b9d0d8;
        text-align: center;
    }
    
    .counter1:nth-child(4) {
        margin-left: 0;
    }
    
    .counter1:nth-child(3) {
        margin-left: 0;
    }
    
    .counter1:nth-child(2) {
        margin-right: 0;
    }
    
    .counter1 h5 {
        margin-left: 0;
        color: #222;
    }
    .grppp1{
        display: flex;
        flex-direction: column;
        gap: 50px;
    }
    .grppp2{
        display: flex;
        flex-direction: column;
        gap: 50px;
    }
    .aboutbgvideo video{
        object-fit: cover;
    }




    #page3{
        padding: 10% 0;
        height: auto;
    }
    
    .text2{
        height: 100%;
        width: 100%;
        padding: 0 20px;
    }
    .textcuntent{
        width: 100%;
        height: auto;
    }
    .textcuntent h1{
        font-size: 35px;
        padding-bottom: 15px;
    }
    .textculent{
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
    }
    .textculent img {
        height: auto;
        width: 100%;
    }
    .culenttext{
        margin: 0;
        padding: 0;
        width: 100%;
    }
    .culenttext h2{
        padding: 15px 0 0 0;
        margin: 0;
        line-height: 24px;
    }
    .culenttext p{
        margin: 0;
        padding: 15px 0 0 0;
        line-height: 24px;
        text-align: justify;
    }
    .numbers,
    .colo{
        display: none;
    }
    .numcolo{
        display: block;
    }

    .mobone{
        height: auto;
        width: 100%;
    }
    .mobtwo{
        width: 100%;
        height: auto;
    }

    .mobone h1,
    .mobtwo h1{
        font-size: 65px;
        color: #DBE8EB;
        font-weight: 700;
    }

    .mobone h2,
    .mobtwo h2{
        font-size: 25px;
        padding-bottom: 10px;
    }
    .mobone p,
    .mobtwo p{
        font-size: 15px;
    }

    
    

}

@media screen and (max-width: 786px) {
    #verticalanimation{
        display: none;
    }
  
    .mobVerticalScrollAnim {
      display: block;
      height: 100vh;
      width: 100%;
      background-color: white;
      overflow: hidden;
    }
  
    .mobVertTextContainer {
      height: 35vh;
      display: flex;
      align-items: flex-end;
      padding-bottom: 8vh;
    }
  
    .mobValuesText {
      font-family: "Rubik", sans-serif;
      font-size: 30px;
      font-weight: 700;
      line-height: 1.5;
      width: 338px;
      position: relative;
      padding-left: 20px;
    }
  
    .mobScrollValuesSubContainer{
      position: absolute;
      bottom: 45px;
      right: 173px;
    }
  
    .mobVertImgContainer {
      height: 57vh;
      width: 100vw;
      display: flex;
    }
  
    .mobVertImgSubContainer{
      height: 57vh;
      min-width: 100vw;
    }
  
    .mobVertImgSubContainer1{
      padding-left: 4vw;
      padding-right: 4vw;
    }
  
    .mobVertImgSubContainer2, .mobVertImgSubContainer3{
      padding-left: 0;
      padding-right: 4vw;
    }
  
    .mobVertImgSubContainer5{
      padding-left: 4vw;
      padding-right: 4vw;
    }
    
    .mobVertImgSubContainer2, .mobVertImgSubContainer3, .mobVertImgSubContainer4, .mobVertImgSubContainer5{
      opacity: 0;
    }
  
  
    .mobImg {
      display: block;
      height: 57vh;
      object-fit: cover;
    }
  
    .mobScrollValuesContainer{
      height: 16vh;
      width: 100%;
      padding-top: 4vh;
    }
  
    .mobScrollValuesSubContainer p{
      color: #00b0ef;
      font-size: 30px;
      font-weight: 700;
      line-height: 1.5;
      position: absolute;
      opacity: 0;
    }
  
    #mobScrollingValues1{
      opacity: 1;
    }
    




    .trust{
        height: auto;
        width: 100%;
        margin: 0;
        font-size: 30px;
        font-weight: 600;
    }
    .logoslider img{
        width: 150px;
        height: auto;
    }
    .logoslider1 img{
        width: 150px;
        height: auto;
    }



    .heading1{
        font-size: 30px;
        margin: 0;
        text-align: center;
    }
    .tiles {
        height: 65vw;
        width: fit-content;
        display: flex;
        align-items: center;
        padding: 0 10%;
    }
    
    .tilewrapper {
        height: 50vw;
        width: 90vw;
        margin: 0px 2vw;
        /* background-color: #222; */
        transition: all 0.3s ease;
        position: relative;
    
    }
    
    .contnet h3 {
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 0;
    
    }
    .contnet{
        width: 100%;
        height: auto;
        position: absolute;
        top: 35%;
        left: 0;
        padding: 0;
        display: flex;
        padding: 0 10px;
    }
    .carowpar{
        font-size: 12px;
        margin-bottom: 10px;
    }
 
  }
  