
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Open+Sans:wght@400;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
}
:root{
    --container-width-lg:80%;
    --color-primary:#e83e27;
}
.container{
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.5)),url('2022_07_19_15_27_IMG_4720.JPG');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.main_container{
    width: var(--container-width-lg);
    margin: 0 auto;
    position: relative;
    height: 80vh;
}
.main_content{
position: absolute;
top: 50%;
left: 0;
transform: translate(0,-50%);
}
.main_heading{
    color: white;
    text-align: left;
    position: relative;
}
.main_text{
    font-size: 4.5rem;
}
.bar1{
    display: block;
    width: 8px;
    height: 45px;
    background-color: var(--color-primary);
    position: absolute;
    top:-15%;
    left: 0;
}
.bar2{
    display: block;
    height: 8px;
    width: 24.4rem;
    background-color: var(--color-primary);
    position: absolute;
    top:-15%;
    left: 0;
}
.bar3{
    display: block;
    width: 8px;
    height: 17.8rem;
    background-color: var(--color-primary);
    position: absolute;
    left:50%;
    bottom: 5%;
}
.bar4{
    display: block;
    width: 2.5rem;
    height: 8px;
    background-color: var(--color-primary);
    position: absolute;
    left: 45%;
    bottom: 5%;
}  
/* .bar1{
    display: block;
    width: 8px;
    height: 45px;
    background-color: var(--color-primary);
    position: absolute;
    top:-3rem;
    left: 0;
}
.bar2{
    display: block;
    height: 8px;
    width: 53%;
    background-color: var(--color-primary);
    position: absolute;
    top:-3rem;
    left: 0;
    right: 0;

}
.bar3{
    display: block;
    width: 8px;
    height: 82%;
    background-color: var(--color-primary);
    position: absolute;
    top:-3rem;
    right:47%;
    bottom: 0;
}
.bar4{
    display: block;
    width: 40px;
    height: 8px;
    background-color: var(--color-primary);
    position: absolute;
    bottom:0;
    right: 47%;
    top: 66%;
}  */
.sub_text{
    margin:3rem 0;
    color: white;
    font-size: 1.3em;
    letter-spacing: 2;
}
.btn{
    display: inline-block;
    padding: 10px 40px;
    cursor: pointer;
    color: white;
    font-size: 1.2em;
    border: 0;
    background-color:var(--color-primary);
}
.learn_btn{
    background: transparent;
    outline: 2px solid white;
}
.contact_btn:hover{
    outline: 2px solid var(--color-primary);
}
.learn_btn:hover{
    background-color:var(--color-primary);
    transition: 0.5s;
    outline: none;
}
.main_btns{
    display: flex;
    gap: 20px;
}
/*About*/
.about_container{
    width: var(--container-width-lg);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 5rem 0;
}
.about_papyrus{
    align-self: flex-end;
    margin-bottom: 2rem;
}
.about_papyrus h2{
    position: relative;
}
.about_papyrus h2::before{
    content: "";
    width: 8rem;
    max-width: 10rem;
    height: 1.2px;
    background-color: black;
    position: absolute;
    top: 45%;
    left: -80%;
    transform: translatey(-50%);
}

.about_papyrus span{
    color: var(--color-primary);
}
.about_text{
    display: flex;
    gap: 4rem;
}
.about_header{
    margin-bottom: 70px;
}
.about_body p{
    font-size: 20px;
    
}
.first{
    margin-bottom: 30px;
}
.number{
    text-align:center;
    border: 10px solid var(--color-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}
.number h1{
    font-size: 5em;
}
@media screen and (max-width:1024px){
.about_papyrus h2::before{
     max-width: 5rem;
     left: -45%;
}
.number{
     align-self: flex-end;
     width: 50%; 
}

}

@media screen and (min-width:1200px){
    .bar2{ 
        width: 24.rem;
    }
.bar3{
     height: 17.5rem;
     
}
    }

@media screen and (min-width:1024px){
.bar3{
      height: 17.3rem;
}

    }

@media screen and (max-width:768px){
        .main_text{
            font-size: 3rem;
        }
        .btn{
            font-size: 1rem;
            
        }
        .bar1{
            top:-35%;
        }
        
        .bar2{
            width: 17rem;
            top:-35%;
        }
        .bar3{
            height: 13.9rem;
            left:44%;
        }
        .bar4{
            left: 38%;
        }  
    }

    @media screen and (max-width:600px){
        .main_text{
            font-size: 3rem;
        }
        .btn{
            font-size: 1rem;
            
        }
        .main_btns{
           flex-direction: column;
           text-align: center;
        }
        .bar1{
            top:-35%;
        }
        
        .bar2{
            width: 17.5rem;
            top:-35%;
        }
        .bar3{
            height: 13.4rem;
            left:80%;
        }
        .bar4{
            left: 70%;
        } 
        .about_text{
            flex-direction: column;
        } 

        @media screen and (max-width:400px){
            
            .bar1{
                top:-35%;
            }
            
            .bar2{
                width: 17.4rem;
                top:-35%;
            }
            .bar3{
                height: 13.4rem;
                left:90%;
            }
            .bar4{
                left: 78%;
            } 
        } 
        @media screen and (max-width:320px){
            .bar2{
                width: 17rem;
            }
            .bar3{
                height: 13.5rem;
                left:103%;
            }
            .bar4{
                left: 93%;
                width: 2rem;
            } 
        } 
    }

footer{
    background-color:#f9f9f9;
    color:#222;
    padding:60px 20px 30px;
    margin-top:60px;
    border-top:1px solid #e5e5e5;
}
.footer-content{
    max-width:1200px;
    margin:0 auto;
    display:flex;
    justify-content:space-between;
    gap:40px;
    flex-wrap:wrap;
}
.contact-info,
.social-links{
    flex:1 1 250px;
}
.contact-info h3,
.social-links h3{
    margin-bottom:15px;
    color:#f04c2f;
    letter-spacing:1px;
}
.contact-info p{
    margin-bottom:8px;
    line-height:1.4;
}
.contact-info a{
    color:#222;
    text-decoration:underline;
}
.contact-info a:hover{
    color:#f04c2f;
}
.contact-info i{
    margin-right:10px;
    color:#f04c2f;
}
.social-links ul{
    list-style:none;
    display:flex;
    gap:15px;
    padding:0;
    flex-wrap:wrap;
    justify-content:flex-start;
}
.social-links a{
    color:#666;
    background-color:#ffffff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:50px;
    height:50px;
    border-radius:50%;
    box-shadow:0 14px 28px rgba(0,0,0,0.08);
    border:1px solid rgba(0,0,0,0.05);
    transition:transform 0.25s ease,color 0.25s ease, box-shadow 0.25s ease;
    font-size:1.2rem;
}
.social-links a:hover{
    color:#f04c2f;
    transform:translateY(-4px);
    box-shadow:0 18px 32px rgba(0,0,0,0.16);
}
.social-icon{
    width:22px;
    height:22px;
    fill:currentColor;
}
.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.2);
    margin-top:30px;
    padding-top:15px;
    text-align:center;
    font-size:0.9rem;
    color:#777;
}