@import url('./header.css');
@import url('./footer.css');
@import url('./socialmedia.css');
@import url('./scrollbar.css');

main{
    margin-top: 110px;
}
.hero-section{
    padding: 0 80px;
    box-sizing: border-box;
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
}
.hero-section-mobile{
    display: none;
}
.hero-section-bg{
    clip-path: polygon(20% 0%, 100% 0, 80% 100%, 0% 100%);
    width: 40%;
    height: 100%;
    background-color: #d11c1cce;
    position: absolute;
    right: 0;
    animation: heroBgFadeIn 2s;
    overflow: visible;
    background-image: url("../assets/home/hero.png");
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
    overflow: hidden;
}
.hero-section-bg::after{
    content: "";
    height: 100%;
    width: 100%;
    position: inherit;
    right: 0px;
    top: 0px;
    background-color: #b30f0fb6;
}
.hero-section-bg::before{
    content: "";
    height: 150%;
    width: 35%;
    position: inherit;
    right: 0px;
    top: -50px;
    transform: rotate(10deg);
    background-color: #111111c5;
    animation: bgSlideRight 3s;
}
@keyframes bgSlideRight {
    from{
        opacity: 0;
        right: 100%;
    }
    to{
        opacity: 1;
        right: 0;
    }
}
@keyframes heroBgFadeIn {
    from{
        opacity: 0;
        right: 100%;
    }
    to{
        opacity: 1;
        right: 0;
    }
}
/* HERO SECTION */
.anim-text-banner {
  font-size: 80px;
  font-weight: bold;
  white-space: nowrap;
  padding: 100px 50px;
  text-transform: uppercase;
  font-weight: 400;
}

.anim-text-banner > span {
  position: absolute;
  display: inline-block;
  clip: rect(0px, 0px, 300px, 0px);
  color: #575757;
}

.anim-text-parent {
  position: relative;
  color: #d11c1c;
}

.anim-text-parent > .v-bar {
  position: absolute;
  width: 0px;
  height: 17px;
  background: #d11c1c;
  display: inline-block;
  top: 0px;
  left: -20px;
  transform: translate(-100%, 450%);
}

.anim-text-parent > .anim-text {
  overflow: hidden;
  white-space: nowrap;
  top: 0;
  left: 0;
  position: absolute;
  transition: width 1s ease;
  clip: rect(0px, 0px, 300px, 0px);
}

.offer-header-section{
    width: 100%;
    background-color: #000;
    padding: 80px 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.offer-header-section h2{
    font-size: 62px;
    color: #FFF;
    width: min-content;
}
.offer-header-section h2::before{
    content: "<";
    color: #d11c1c;
}
.offer-header-section h2::after{
    content: "/>";
    color: #d11c1c;
}

.offer-header-section ul{
    color: #FFF;
}

.offer-header-section ul li{
    list-style: none;
    font-weight: 600;
    font-size: 20px;
}

.offer-header-section ul li::before{
    content: "// ";
    color: #d11c1c;
}

.offer-content-section{
    background-color: #F5F5F5;
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: min-content;
    gap: 0px;
}
.offer-content-section-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.offer-content-section-item .offer-text-content{
    width: 100%;
    padding: 20px 40px;
    box-sizing: border-box;
}
.offer-content-section-item .offer-text-content h3::before{
    content: "";
    width: 70px;
    height: 5px;
    background-color: #d11c1c;
    position: absolute;
    top: -20px;
}
.offer-content-section-item .offer-text-content h3{
    font-size: 30px;
    position: relative;
    color: #575757;
}
.offer-content-section-item .offer-text-content p{
    font-size: 16px;
    color: #575757;
}
.offer-content-section-item .offer-image-content{
    height: 100%;
}
.offer-content-section-item .offer-image-content img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
}
.offer-image-content{
    width: 100%;
    max-height: 550px;
}

.offer-footer-section{
    width: 100%;
    padding: 40px;
    background-color: #111;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.offer-footer-section a{
    padding: 10px 20px;
    border: 3px solid #d11c1c;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    color: #FFF;
}
.offer-footer-section a:nth-child(even){
    background-color: #d11c1c;
}

/* MEET US SECTION */
.meet-us-section{
    background-color: #FFF;
}
.meet-us-header-section{
    width: 100%;
    background-color: #000;
    padding: 80px 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.meet-us-header-section h2{
    font-size: 62px;
    color: #FFF;
}
.meet-us-header-section h2::before{
    content: "<";
    color: #d11c1c;
}
.meet-us-header-section h2::after{
    content: "/>";
    color: #d11c1c;
}
.meet-us-content-container{
    width: 100%;
    max-width: min-content;
    margin: 0px auto;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    justify-items: center;
    gap: 30px;
    padding: 0 20px;
    box-sizing: border-box;
}
.meet-us-content{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.meet-us-content p{
    width: 450px;
}
.buttons-container{
    margin-top: 10px;
    display: flex;
    gap: 10px;
}
.buttons-container a{
    padding: 10px 20px;
    border: 3px solid #d11c1c;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    color: #111;
}
.buttons-container a:nth-child(even){
    background-color: #d11c1c;
    color: #FFF;
}

/* TECHNOLOGIES */
.technologies-section{
    width: 100%;
}
.technologies-header-section{
    width: 100%;
    background-color: #000;
    padding: 80px 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.technologies-header-section h2{
    font-size: 62px;
    color: #FFF;
    width: min-content;
}
.technologies-header-section h2::before{
    content: "<";
    color: #d11c1c;
}
.technologies-header-section h2::after{
    content: "/>";
    color: #d11c1c;
}

.technologies-header-section ul{
    color: #FFF;
    max-width: 380px;
}

.technologies-header-section ul li{
    list-style: none;
    font-weight: 600;
    font-size: 20px;
}
.technologies-header-section ul li .offer-link{
    color: #EEE;
    font-weight: 900;
    text-decoration: none;
}

.technologies-header-section ul li::before{
    content: "// ";
    color: #d11c1c;
}

/* TECHNOLOGIES STACK */
.text-marquee {
  position: relative;
  display: flex;
  align-items: center;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  max-width: 1600px;
  margin: 100px auto;
}

.text-single {
  position: relative;
  white-space: nowrap;
  padding: 0;
  margin: 0;
  will-change: transform;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
}
.content {
  padding: 0;
  flex-shrink: 0;
  display: block;
  background-color: #FFF;
  width: 200px;
  padding: 30px 10px;
  box-sizing: border-box;
  margin: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 10px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  gap: 5px;  
}
.content img{
  height: 60px;
  width: 60px;
  object-fit: contain;
}
.content-description {
  opacity: 0;
  height: 0;
  width: 100%;
  overflow: hidden;
  transition: opacity 0.3s, height 0.3s;
  color: #777;
}
.content-description p{
  white-space: wrap;
}
.content:hover .content-description {
  opacity: 1;
  height: 165px;
}

@media screen and (max-width: 1180px){
    main{
        margin-top: 80px;
    }
    .anim-text-banner {
        font-size: 60px;
    }
    .hero-section{
        display: none;
    }
    .hero-section-mobile{
        display: block;
        width: 100%;
    }
    .hero-section-mobile{
        display: block;
        width: 100%;
        height: calc(100vh - 80px);
        min-height: 500px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    .hero-section-mobile h1{
        padding: 0px 80px;
        width: 100%;
        box-sizing: border-box;
        font-size: 32px;
        text-transform: uppercase;
        z-index: 1;
    }
    .hero-section-mobile h1 span{
        color: #FFF;
    }
    .hero-section-mobile h1 span::before{
        content: "#";
        color: #d3d3d3;
    }
    .hero-section-mobile p{
        padding: 0px 80px;
        font-weight: 600;
        width: 100%;
        box-sizing: border-box;
        font-size: 18px;
        padding-bottom: 80px;
        z-index: 1;
        padding-top: 20px;
        color: #FFF;
    }
    .hero-section-mobile-bg{
        width: 100%;
        height: 100%;
        background-color: #d11c1c;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
        background-image: url("../assets/home/hero.png");
        background-position: center; 
        background-repeat: no-repeat; 
        background-size: cover;
    }
    .hero-section-mobile-bg::after{
        content: "";
        height: 100%;
        width: 100%;
        position: inherit;
        right: 0px;
        top: 0px;
        background-color: #b30b0bd2;
    }
}

@media screen and (max-width: 1280px) {
    /* HERO SECTION */
    .anim-text-banner {
        font-size: 52px;
    }
    /* OFFER SECTION */
    .offer-content-section-item .offer-text-content h3{
        font-size: 24px;
    }
    .offer-content-section-item .offer-text-content p{
        font-size: 15px;
    }
    .offer-header-section h2{
        font-size: 36px;
    }
    .offer-header-section ul li{
        font-size: 16px;
    }
    .meet-us-header-section h2{
        font-size: 34px;
    }
    .technologies-header-section h2{
        font-size: 36px;
    }
    .technologies-header-section ul li{
        font-size: 16px;
    }
    .offer-content-section{
        padding: 100px 0;
    }
    .anim-text-parent > .v-bar {
        display: none;
    }
}

@media screen and (max-width: 960px) {
    /* HERO SECTION */
    .anim-text-banner {
        font-size: 32px;
    }
    .offer-content-section{
        background-color: #F5F5F5;
        width: 100%;
        max-width: 2000px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(1,1fr);
        grid-template-rows: min-content;
        gap: 0px;
        padding: 0;
    }
    .offer-content-section-item{
        padding: 0;
    }
    .text-content-item{
        padding: 50px 0;
    }
    .offer-image-content{
        width: 100%;
        max-height: 250px;
    }
    /* MEET US SECTION */
    .meet-us-content-container{
        grid-template-columns: repeat(1,1fr);
        padding: 50px 0;
    }
    .meet-us-content p{
        width: 450px;
        text-align: center;
    }
    .meet-us-content img{
        height: 200px;
        width: min-content;
    }
    .buttons-container{
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

@media screen and (max-width: 660px) {
    .anim-text-parent > .v-bar{
        display: none;
    }
    .hero-section{
        display: none;
    }
    .anim-text-banner {
        padding: 0;
    }
    .hero-section-bg{
        display: none;
    }
    .offer-header-section{
        display: flex;
        flex-direction: column;
        padding: 80px 40px;
        text-align: center;
    }
    .offer-footer-section{
        display: flex;
        flex-direction: column;
    }
    .meet-us-content-container {
        width: 100%;
        max-width: 100%;
        padding: 50px 60px;
        box-sizing: border-box;
        margin: 0;
        display: block;
    }
    .meet-us-content{
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .meet-us-content img{
        height: 200px;
        width: 200px;
        object-fit: contain;
    }
    .meet-us-content p{
        width: 100%;
    }
    .buttons-container a{
        text-align: center;
    }
    .technologies-header-section{
        display: flex;
        flex-direction: column;
        text-align: center;
    }
}