@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Merriweather+Sans:ital,wght@0,300..800;1,300..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Varta:wght@300..700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

/*  ------------------------------- ALL THE GENERALS --------------------------  */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: #212529;
}
main{
    margin: 3rem auto ;
}
ul li, ol li{
    list-style-type: none;
    padding: none;
    margin: none;
    font-family: 'Montserrat';
    font-size: 14px;
}
a, button{
    color: inherit;
    text-decoration: none;
    font-family: 'Roboto';
    font-size: 15px;
}
a:hover, button:hover{
    cursor: pointer;
}
h1,h2,h3,h4{
    font-family: 'Varta';
}
h2{
    font-size: 18px;
}
h3{
    font-size: 18px;
}
h4{
    font-size: 16px;
}
p{
    font-family: 'Montserrat';
    font-size: 14px;
}
span{
    font-family: 'Montserrat';
}

@media (max-width:450px) {
    main{
        margin: 1.5rem auto;
    }
    a, button{
        font-size: 13px;
    }
    h2{
        font-size: 18px;
    }
    h3{
        font-size: 16px;
    }
    h4{
        font-size: 14px;
    }
    p{
        font-size: 12px;
    }
    ul, ol{
        margin: 0;
        padding: 0;
        font-size: 12px;
    }
}

/* ----------------------- THE HEADER SECTION --------------------------  */
header{
    background: url(images/links_bg.jpg) center no-repeat;
    background-size: cover;
    padding-top: 30px;
    padding-bottom: 70px;
}
.hidden_logo{
    display: none;
}
.main_nav{
    width: 100%;
    margin: auto;
    margin-bottom: 4rem;
    padding: 5px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030; /* Ensure it stays above other content */
    transition: background-color 0.3s ease-in-out;
}
/* Initial header style */
#header.default {
    background-color: transparent;
  }
  
  /* Header style after scrolling */
  #header.scrolled {
    background-color: #212529;
  }
.home_logo{
    width: 130px;
    height: 40px;
}
.home_logo img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.head_navigations{
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav_items{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}
.nav_items a{
    font-size: 15px;
    font-weight: bolder;
    color: #fff;
    transition: ease-in-out all 0.5s;
}
.nav_items a:hover{
    color: chocolate;
}
.login{
    background-color: chocolate;
    border: chocolate 2px solid;
    outline: none;
    color: #fff;
    transition: ease-in-out all 0.5s;
}
.login:hover{
    background-color: #fff;
    border: chocolate 2px solid;
    color: chocolate;
}
.navbar-toggler{
    border: none;
    background-color: none;
    padding: 3px 7px;
}
.navbar-toggler:focus{
    box-shadow: none;
}


/* NEW SECTION STARTS */
.hero{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 7rem;
}
.hero img{
    width: 220px;
    height: auto;
}
.hero h1{
    font-size: 15px;
    font-family: 'montserrat';
}
.hero h1 span{
    font-size: 50px;
    font-weight: bolder;
    text-transform: capitalize;
    font-family: 'Quicksand', sans-serif;
}
.hero i{
    margin-right: 10px;
}
.small_caption{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 3rem;
}
.small_caption>h3{
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
}
.small_caption p{
    color: #fff;
    text-align: center;
    width: 70%;
}

/* NEW SECTION STARTS */
.features{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 3rem;
}
.feat_img{
    width: 550px;
    height: 450px;
}
.feat_img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.feat_text h3{
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
}
.feat_text ol li{
    list-style-type:decimal;
    margin-bottom: 10px;
}

/* NEW SECTION STARTS */

.history{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 3rem;
    margin-bottom: 4rem;
}
.history p{
        color: #fff;
        text-align: center;
        width: 80%;
        margin: auto;
}
/* NEW SECTION HERE */
.cap{
    width: 80%;
    margin: auto;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
}


/* NEW SECTION STARTS*/
footer{
    background-color: #212529;
    padding: 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
footer img{
    width: 110px;
    height: auto;
}
.foot{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: calc(50rem - 60vw);
}
.foot ul{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.foot ul li>a, .foot h4{
    font-size: 14px;
    transition: ease-in-out all 0.4s;
}
.foot ul li>a:hover{
    color: chocolate;
}






@media (max-width:450px) {
    header{
        padding-top: 10px;
    }
    #header.default {
        background-color: #212529;
      }
      
      /* Header style after scrolling */
      #header.scrolled {
        background-color: #212529;
      }
    .hidden_logo{
        display: block;
    }
    .main_nav{
        margin-bottom: 4rem;
        top: 0;
        left: 0;
        right: 0;
    }
    .home_logo{
        width: 100px;
        height: 30px;
    }
    .home_logo img{
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .head_navigations{
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        margin-left: 20px;
        margin-top: 10px;
        margin-bottom: 10px;
        gap: 20px;
    }
    .no_mobile{
        display: none;
    }
    .nav_items{
        gap: 5px;
        justify-content: flex-start;
        align-items: flex-start;

    }
    .navbar-toggler-icon {
        width: 28px;
        height: 2px;
        background-image: none;
        content: "";
        background-color: #fff;
        border-radius: 5px;
        position: relative;
    }
    .navbar-toggler-icon::before {
        position: absolute;
        width: 28px;
        height: 2px;
        background-image: none;
        content: "";
        background-color: #fff;
        border-radius: 5px;
        left: 0;
        right: 0;
        bottom: 7px;
    }
    .navbar-toggler-icon::after {
        position: absolute;
        width: 28px;
        height: 2px;
        background-image: none;
        content: "";
        background-color: #fff;
        border-radius: 5px;
        left: 0;
        right: 0;
        top: 7px;
    }
    .login{
        width: 100%;
    }

    /* NEW SECTION STARTS */
    .hero{
        gap: 30px;
    }
    .hero img{
        width: 170px;
        height: auto;
    }
    .hero h1{
        font-size: 15px;
    }
    .hero h1 span{
        font-size: 30px;
    }
    .hero a button{
        margin: auto;
    }
    .small_caption{
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .small_caption p{
        width: 100%;
    }

    /* NEW SECTION STARTS */
    .history p, .cap{
        width: 100%;
}

    /* NEW SECTION STARTS */
    .feat_img{
        width: 300px;
        height: 250px;
    }
    .feat_text ol li{
        margin-left: 20px;
    }
    

/* NEW SECTION STARTS */
footer{
    padding: 1.5rem 0.7rem;
    gap: 30px;
}
.foot{
    
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.foot ul{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
}