*{
    margin: 0%;
    padding: 0%;
    font-family: 'Raleway', sans-serif;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(milky-way-2695569_960_720.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 150px;
    padding: bottom 20px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: #ffff;
    text-decoration: none;
    font-size: 17px;
}
.nav-links ul li::after{
    content: " ";
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
}
.nav-links ul li:hover::after{
    width: 100%;
    transition: 0.5s;
}
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-size: 42px;
    padding: top 20px;
    font-weight: 600;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 24px;
    color: #fff;
    font-weight: 400;
}
.btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transform: 1s;
}
nav .fa-solid{
    display: none;
}


/* services */
.services{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
p{
    color: rgb(247, 14, 14);
    font-size: 24px;
    font-weight:300 ;
    line-height: 22px;
    padding: 10px;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.row p{
    color: rgb(247, 14, 14);
    font-size: 14px;
    font-weight:400 ;
    line-height: 22px;
    padding: 10px;
}
.services-col{
    flex-basis: 31%;
    background: #f6dbdb;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.services-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}

/* recommendation */
.recommendation{
    width: 80%;
    margin: auto;
    text-align: center;
    padding: 50px;
    align-items: center;
}
.recommendation-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    background: #f6dbdb;
    background-color: #f443366d;
}
.recommendation-col img{
    width:100%;
    display: block;
}
.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position:absolute ;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.layer:hover{
    background: rgba(226,0,0,0.7);
}
.layer h3{
    width: 100%;
    font-weight: 500;
    font-size: 15px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
    color: #fff;
}
.layer:hover h3{
    bottom: 45%;
    opacity:1;
}
.g-btn{
    border: 1px solid white;
    border-color: #fff;
    background-color: transparent;
    opacity: 0.7;
    transition: 0.5s;
    left: 120px;
    top: 220px;
    color: #fff;

}
.g-btn:hover{
    opacity: 1;   
}
/* footer */
.footer{
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background-color: rgba(226,0,0,0.7);
    border: 1px solid black ;
    border-left-width: 0px;
    border-right-width: 0px;
}
.footer h3{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
    font-size: 40px;
}
.footer p{
    color: black;
    font-weight: 400;
    font-size: 17px;
}

/* ------about us page----- */

.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(milky-way-2695569_960_720.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.sub-header h1{
    margin-top: 30px;
    font-size: 50px;
}

.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
    align-items: center;
}
.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}
.row1{
    align-items: center;
    background: radial-gradient(circle at 10% 20%, rgb(253, 239, 132) 0%, rgb(247, 198, 169) 54.2%, rgb(21, 186, 196) 100.3%);
    padding: 20px;
    border-radius: 50px;
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.about-col img{
    width: 40%;
    border: 1px rgb(0, 0, 0);
    border-radius: 15px 2px 15px 2px;
}
.about-col h1{
    padding-top: 0;
}
.about-col p{
    padding: 15px 0 25px;
    font-weight: 500;
    font-size: 17px;
}
.red-btn{
    border: 1px solid#f44336;
    background: transparent;
    color: #f44336;
}
.red-btn:hover{
    color: #fff;
}