@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;800&display=swap');


*,
*::after *::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    /* --Primary  colors-- */
    --orange: hsl(35, 77%, 62%);
    --red: hsl(5, 85%, 63%);

    /* --Neutral colors-- */
    --off-white: hsl(36, 100%, 99%);
    --grayish-blue: hsl(233, 8%, 79%);
    --dark-grayish-blue: hsl(236, 13%, 42%);
    --very-dark-blue: hsl(240, 100%, 5%);

    /* --Font-family-- */
    --pri-font-fam: 'Inter', sans-serif;

    /* --Font-weight-- */
    --fw-4: 400;
    --fw-7: 700;
    --fw-8: 800;
}

body {
    font: normal 15px/1.5 'Inter', sans-serif;
    color: var(--grayish-blue);
}

a {
    text-decoration: none;
    color: var(--very-dark-blue);
}

ul {
    list-style: none;
}

img {
    width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: inherit;
}

.container {
    width: 80%;
    margin: auto;
}

.navbar,
.navbar-nav {
    display: flex;
    align-items: center;
}

.navbar-nav {
    margin-left: auto;
}

.navbar-nav .nav-link {
    padding: 1.4rem;
}

.navbar-nav .nav-link:hover{
    color: var(--red);
    transition: color 0.5s ease-in;
}

.navbar-nav .nav-link:last-child {
    padding-right: 0;
}

.btn-menu {
    background-color: transparent;
    border: none;
    width: 45px;
    height: 45px;
    margin-left: auto;
    display: none;
}

.section {
    padding: 30px 0;
}

.row {
    display: flex;
    gap: 1.5rem;

}

.col-8 {
    width: 72.5%;
}

.col-4 {
    width: calc(100%/4);
}

/* header */
.main-header {
    padding: 40px 0 0;
}


.showcase-img-wrap .mobile {
    display: none;
}

/* about */
.about {
    display: flex;
    flex: 0 1 auto;
}

.about .title, .about .caption{
    width: 50%;
}

.about .title{
    font-size: 50px;
    color: var(--very-dark-blue);
    font-weight: 600;
    line-height: 1.15;
    word-spacing: 10px;
    padding: 15px 0 15px 0;
}

.about .caption{
    padding: 15px;
}

.about .desc{
    color: var(--dark-grayish-blue);
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn{
    display: flex;
    align-items: center;
    border: 0;
    padding: 13px 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    font-size: 14px;
}

.btn-primary{
    color: var(--off-white);
    background-color: var(--red);
}

.btn-primary:hover{
    background: var(--very-dark-blue);
    transition: background 0.5s ease-in;
}
/* .caption */

/* news */
.news {
    background-color: var(--very-dark-blue);
    padding: 20px 15px;
}

.news .card-title {
    color: var(--orange);
    font-size: 28px;
    letter-spacing: 1;
    font-weight: 600;
    /* margin-bottom: 15px; */
}

.new-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--dark-grayish-blue);
}

.new-item:last-child {
    border-bottom: none;
    padding-bottom: 0;

}

.new-item .title {
    color: var(--off-white) !important;
    font-weight: 600;
    cursor: pointer;
}

.new-item .title:hover,
.new-item a:hover {
    color: var(--orange) !important;
}

.new-item .short-desc {
    margin-top: 5px;
}
.bottom{
    display: flex;
    justify-content: center;
    gap: 30px;
    
}

.bottom .img-one{
    width: 100px;
   
}
.sub-head{
    font-weight:700;
    font-size: 30px;
    margin-top: -9px;
   
}
.sub-cap{
    padding-top: 5px;
    color: var(--very-dark-blue);
    cursor: pointer;
   
}
.sub-cap:hover{
    color: var(--red);
    
}
.sub-para{
    padding-top: 7px;
    color: var(--dark-grayish-blue);
    font-weight: 300;
    
}


@media (max-width:546px) {
    body{
        padding: 10px;
    }
    .container {
        width: 100%;
    }
    .btn-menu {
        display: block;
        z-index: 100;
    }

    .navbar-nav {
        display: none;
        position: absolute;
        align-items: start;
        flex-direction: column;
        width: 200px;
        right: 0;
        padding: 0 15px;
        height: 100vh;
        top: -15px;
        justify-content: center;
        background-color: var(--off-white);
    }

    .navbar-nav.show{
        display: flex;
    }

    .navbar-nav .nav-item{
        margin-block: 10px;

    }

    .navbar-nav .nav-link{
        font-size: 18px;
        font-weight: 500;
    }

    .showcase-img-wrap .desktop {
        display: none;
    }

    .showcase-img-wrap .mobile {
        display: block;
        width: 100%;
    }

    .row {
        display: block;
    }

    .col-4,
    .col-8 {
        width: 100%;
    }

    .about{
        flex-direction: column;
        margin: 15px 0 30px;
    }

    .about .title, .about .caption{
        width: 100%;
    }

    .about .caption{
        padding: 0;
    }


    .about .title{
        font-size: 40px;
        word-spacing: 0;
        font-weight: 600;
    }
    .bottom{
        width: 100%;
        flex: none;
       flex-direction: column;
       /* display: inline; */
       position: relative;
       padding-bottom: 15px;
      
    }
    
    .subtitle{
        
        /* padding-top: -50%; */
        padding-left: 35%;
        /* margin-top: -40px; */
       
        
    } 
    .sub-head{
        
        margin-top: -49%;
        position: absolute;
    }
    .sub-cap{
        margin-top: -35%;
        position: absolute;
    }
    .sub-para{
        margin-top: -25%;
        position: absolute;
        font-size: 14px;
    }
    
}