@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500&display=swap');

*{
    box-sizing: border-box; 
    margin: 0px;
    padding: 0px;
}

html{
    font-size: 62.5%;
}

body{
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
}

ul li{
    list-style: none;
}

a{
    font-size: 1.6rem;
    text-decoration: none;
}

p, li{
    font-size: 1.6rem;
    margin-bottom: 0.5em;
    letter-spacing: 0.15rem;
}

h1,h2,h3{
    margin-bottom: 0.5em;
    letter-spacing: 0.15rem;
    font-weight: 500;
}

/* ############################ utility class ########################## */

.container{
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}
.lg-heading{
    font-size: 3.5rem;
}

.md-heading{
    font-size: 2.2rem;
}

.text-red{
    color: #e63946;
}

.text-light{
    color: #f4f4f4;
}

.text-black{
    color: #333;
}

.text-gray{
    color: #555;
}

.bg-color{
    background-image: radial-gradient( circle farthest-corner at 16.5% 28.1%,  rgba(15,27,49,1) 0%, rgba(0,112,218,1) 90% );
}

.btn{
    display: inline-block;
    padding: 0.5em 1.5em;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0.5em 0;
}

.btn-primary{
    background-color: #fff;
    border-radius: 10rem;
}

.btn-primary:hover{
    background: #ddd;
}

.btn-secondary{
    border: 2px solid #e63946;
    border-radius: 1.5em;
    color: #e63946;
}

.btn-secondary:hover{
    background: #ddd;
}
/* ######################################################################### */

.header{
    position: relative;
    height: 95vh;
    background:linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(../img/header-image.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.navbar{
    padding: 1rem;
}

.navbar a:link,
.navbar a:visited{
    color: #f4f4f4;
    padding-bottom: 0.3rem;
}

.navbar a:hover{
    color: cyan;
    border-bottom: 1px solid #fff;
    border-color: cyan;
}

.navbar .list{
    display: inline-block;
    padding: 0rem 1rem;
    text-transform: uppercase;
}

.navbar .logo{
    float: left;
}

.navbar .list{
    float: right;
    margin-top: 1rem;
}

.clear{
    clear: both;
}


/* ########################### header content ########################## */
.header-content{
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.header-content h1{
    text-transform: uppercase;
    font-size: 3.5rem;
    font-weight: bold;
}

.header-content p{
    text-transform: uppercase;
}

/* #################### Show Case ##################### */
.showcase{
    padding: 10rem 0;
}

.row{
    height: 35rem;
    box-shadow: 0px 0px 20px 0px #aaa;
}

.row1{
    margin-bottom: 10rem;
}

.row1 .img,.row2 .text{
    float: left;
    width: 50%;
}

.row2 .img,.row1 .text{
    float: right;
    width: 50%;
}

.row .img{
    height: 100%;
}
.row .text{
    padding: 3rem;
    height: 100%;
}

.row .img img{
    display: inline-block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.row::after{
    content: "";
    display: block;
    clear: both;
}

/* ######################### FEATURE STYLING ######################## */
.showcase{
    padding: 10rem 0;
}

.box-wrapper{
    box-shadow: 5px 5px 20px 5px rgba(0, 0, 0, 0.247);
    margin-bottom: 10rem;
}

.box{
    width: 33.3333333%;
    float: left;
    padding: 2rem;
    text-align: center;
}

.box-1,.box-3{
    background: #263228;
    color: #fff;
}

.box-2{
    background-image: radial-gradient( circle 602px at 2.1% 5.1%,  rgba(233,0,120,1) 0%, rgba(0,0,0,1) 90.1% );
    color: #fff;
}

.features .box-wrapper h2{
    text-transform: uppercase;
}

.box-wrapper::after{
    content: "";
    display: block;
    clear: both;
}

.social-media-links{
    background: #263238;
    color: #fff;
    text-align: center;
    padding: 2rem;
}

.social-media-links i{
    margin: 2rem;
}

/* ########################## About Page ########################### */
.about{
    padding-top: 5rem;
}

.about-heading{
    border-bottom: 6px solid #e63946;
}

.text-wrapper{
    margin-top: 4rem;
    text-align: center;
}

.text-wrapper .left{
    float: left;
    width: 50%;
}

.text-wrap .right{
    float: right;
    width: 50%;
}

.text-wrapper::after{
    content: "";
    display: block;
    clear: both;
}

.text-wrapper li::before{
    content: "\2713";
    color: #e63946;
    font-weight: bold;
    padding-right: 1.5rem;
}

/* ######################### content styling ######################### */
.content-display{
    text-align: center;
    margin-top: 2.5rem;
}

.disp-1{
    float: left;
    width: 25%;
}
.disp-2{
    float: left;
    width: 25%;
}
.disp-3{
    float: left;
    width: 25%;
}
.disp-4{
    float: left;
    width: 25%;
}

.content-display::after{
    content: "";
    display: block;
    clear: both;
}

.content-display .content-disp span{
    font-size: 3rem;
    font-weight: 700;
    color: #e63946;
}

/* ####################### cta banner ###################### */
.cta-banner{
    background-image: radial-gradient( circle farthest-corner at 16.5% 28.1%,  rgba(15,27,49,1) 0%, rgba(0,112,218,1) 90% );
    color: #fff;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.205);
    padding: 1rem;
    margin-top: 2.5rem;
}

.cta-left{
    width: 60%;
    float: left;
    padding-left: 10rem;
}

.cta-right{
    width: 40%;
    float: right;
}

.cta-banner::after{
    content: "";
    display: block;
    clear: both;
}

.cta-line{
    font-weight: 700;
    font-size: 2rem;
    margin-top: 1.2rem;
}

.cta-submit{
    text-align: center;
    display: inline-block;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 700;
    padding: 1rem;
    background: #e6394794;
    border-radius: 100px;
    margin-left: 8rem;
    letter-spacing: .5rem;
    color: #fff;
}

.cta-submit:hover{
    background: #e63947c4;
    
}

/* ######################## contact page ######################## */
.contact-form{
    font-size: large;
    margin-top: 2.5rem;
}

.form-wrap::after{
    content: "";
    display: block;
    clear: both;
}

.address{
    background: #f2f2f2;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.219);
    width: 49%;
    float: left;
    padding: 1rem;
}

.address-1{
    margin-bottom: 2rem;
}

.form{
    width: 49%;
    float: right;
    padding: 1rem;
}

.form-wrap .address i{
    display: inline-block;
    margin-right: 1rem;
}

.form-wrap .address h2{
    display: inline-block;
}

.form-wrap .address img{
    max-width: 90%;
    min-height: 40%;
    object-fit: right;
}

/* #################### form style ###################### */
.form h1{
    border-bottom: 4px solid #e63946;
    padding-bottom: 1px;
}

.form label{
    display: block;
}

.form input{
    padding: 0,5px;
    width: 100%;
}

.form textarea{
    width: 100%;
    height: 300px;
}

.form button{
    display: block;
    margin: 0 auto;
    padding: 0.5em 3em;
    text-transform: uppercase;
    background: #e63946;
    color: #fff;
    cursor: pointer;
    border: none;
    border-radius: 10rem;
}

.form button:hover{
    background: #e42132;
}

.form{
    background: #f2f2f2;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.219);
}

.form .form-group label::after{
    content: "*";
    color: #e63946;
}

@media (max-width: 500px){
    html{
        font-size: 50%;
    }

    .navbar .logo, .navbar .list{
        float: none;
        display: block;
        width: 100%;
        text-align: center;
    }

    .header-content h1{
        display: none;
    }

    .header-content a{
        margin-top: 10rem;
    }

    .show{
        height: auto;
        width: 100%;
    }

    .show .img,
    .show .text{
        float: none;
        width: 100%;
        text-align: center; 
    }

    .show .row1,
    .show .row2{
        margin-bottom: 35rem;
    }

    .features .box{
        float: none;
        width: 100%;
        text-align: center;
        box-shadow: 0px 0px 20px 0px #aaa;

    }

    .features .box-1,
    .features .box-2{
        margin-bottom: 2rem;
    }

    .row{
        box-shadow: none;
    }

    .cta-banner .cta-left,
    .cta-banner .cta-right{
        float: none;
        width: 100%;
    }

    .cta-banner .cta-right{
        text-align: center;
    }

    .contact-form .address{
        float: none;
        width: 100%;
        height: auto;
        text-align: center;
        margin-bottom: 5rem;
    }

    .contact-form .form{
        float: none;
        width: 100%;
        height: auto;
        text-align: center;
        margin-bottom: 5rem;
    }   
    
}

@media (min-width: 501px) and (max-width: 768px){
    html{
        font-size: 50%;
    }

    .navbar .logo, .navbar .list{
        float: none;
        display: block;
        width: 100%;
        text-align: center;
    }

    .header-content a{
        margin-top: 10rem;
    }

    .show{
        height: auto;
        width: 100%;
    }

    .show .img,
    .show .text{
        float: none;
        width: 100%;
        text-align: center; 
    }

    .show .row1,
    .show .row2{
        margin-bottom: 35rem;
    }

    .features .box{
        float: none;
        width: 100%;
        text-align: center;
        box-shadow: 0px 0px 20px 0px #aaa;

    }

    .features .box-1,
    .features .box-2{
        margin-bottom: 2rem;
    }

    .row{
        box-shadow: none;
    }

    .cta-banner .cta-left,
    .cta-banner .cta-right{
        float: none;
        width: 100%;
    }

    .cta-banner .cta-right{
        text-align: center;
    }

    .contact-form .address{
        float: none;
        width: 100%;
        height: auto;
        text-align: center;
        margin-bottom: 5rem;
    }

    .contact-form .form{
        float: none;
        width: 100%;
        height: auto;
        text-align: center;
        margin-bottom: 5rem;
    }   
    
}