*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html, body{
    width: 100%;
    height: 100%;
}

a:link, a:visited {
    color: white; 
    text-decoration: none;
}

a:hover {
    color: #E1DCD0;
}

.navbar{
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 150px;
    padding-right: 150px;
    width: 100%;
    height: 8%;
    background-color: #00246B;
    font-weight: 300;
    color: white;
}

.webname{
    font-size: 35px;
    display: flex;
}

.webname p{
    padding-top: 6px;
}

#logo{
    width: 60px;
    height: auto;
}

.navlinks{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    font-size: 18px;
}


.OurStory{
    background-color: #E1DCD0;
    padding: 35px 150px;
}

.hero h1{
    font-size: 55px;
    line-height: 65px;
    color: #00246B; 
    padding-top: 50px;
}

#heropart{
    padding-top: 25px;
    font-size: 25px;
    font-weight: 700;
}

#storyhead{
    padding-top: 40px;
    font-size: 35px;
    color: #00246B;
}

#storypart{
    padding-top: 36px;
    font-size: 18px;
    font-weight: 600;
    line-height: 35px;
}

#storypoint{
    padding-left: 35px;
    font-size: 18px;
    font-weight: 600;
    line-height: 35px;
}

.storyimage{
    display: flex;
    justify-content: space-between;
}

.storyimage img{
    padding-top: 18px;
    padding-right: 40px;
    width: 410px;
    height: 500px;
}

.storypart2{
    padding-top: 30px;
    font-size: 18px;
    font-weight: 600;
    line-height: 35px;
}

span{
    color: #00246B;
}

.investinfo{
    background-color: black;
    padding: 35px 150px;
}

#investhead{
    color: white;
    font-size: 35px;
}

#investcontent{
    color: #E1DCD0;
    line-height: 35px;
    font-size: 18px;
    font-weight: 500;
}

.MisVis{
    padding: 35px 150px;;
    background-color: #E1DCD0;
}

#misvishead{
    font-size: 35px;
    color: #00246B;
    padding-bottom: 30px;
}

.misvissubhead{
    font-size: 25px;
    font-weight: 700;
}

.misvispart{
    padding-top: 10px;
    line-height: 30px;
    font-size: 18px;
    font-weight: 500;   
}

.list{
    padding-left: 25px;
    line-height: 35px;
    font-size: 18px;
    font-weight: 500;
}

.meetourteam {
    background-color: black;
    padding: 35px;
}

.heading {
    color: white;
    font-size: 35px;
    text-align: center;
    padding-bottom: 40px;
}

.teamimages {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px; 
    padding-bottom: 35px;
}

.card {
    position: relative; 
    height: 380px;
    width: 320px; 
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s, box-shadow 0.5s;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the card */
    transition: transform 0.5s;
}

.intro {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    background: rgba(27, 27, 27, 0.7);
    color: #E1DCD0;
    transition: height 0.5s, background 0.5s;
    height: 80px; /* Initial height */
    overflow: hidden;
}

.intro h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 5px;
}

.intro h2 {
    text-align: center;
    font-size: 15px;
    margin-bottom: 10px;
}

.intro p {
    text-align: center;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}

.card:hover {
    cursor: pointer;
    transform: scale(1.05); 
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.7);
}

.card:hover .intro {
    height: 180px; 
    background: rgba(27, 27, 27, 0.9);
}

.card:hover .intro p {
    opacity: 1;
    visibility: visible;
}

.card:hover img {
    transform: scale(1.1) rotate(-3deg); 
}

footer{
    height: 30%;
    width: 100%;
    background-color: #00246B;
    display: flex;

}

.webpagename{
    margin: 5px;
    width: 30%;
    height: 238px;
    padding: 18px 150px;
    border-right: 2px solid #808080;
    padding-right: 18px;
}

.logoname{
    display: flex;
}

#logoimg{
    width: 60px;
    height: 55px;
}

#websitename{
    font-size: 35px;
    color: white;
    padding-top: 7px;
    font-weight: 400;
}

.shead{
    padding-top: 10px;
    padding-left: 30px;
    color: white;
    font-size: 13px;
    font-weight: 500;
}

.webtext{
    color: white;
    padding-top: 22px;
    font-size: 16px;
    padding-left: 10px;
    font-weight: 400;
    line-height: 25px;
}

.navcontact{
    margin: 5px;
    width: 40%;
    height: 238px;
    padding: 30px 33px;
    border-right: 2px solid #808080;
    font-size: 22px;
    color: white;
    font-weight: 400;
}

.navigationlink{
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.contact{
    font-size: 24px;
    padding-top: 10px;
    font-weight: 600;
}

.navigationpart1{
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.navigationpart2{
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-right: 7px;
}

.follow{
    padding: 6px 150px;
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-left: 0;
}

.followpart1{
    width: auto;
    height: 47%;
    margin: 0px 20px;
    border-bottom: 2px solid #808080;
}

.followus
{
    font-size: 22px;
    padding-top: 30px;
    color: white;
    padding-bottom: 12px;
}

.icons{
    display: flex;
    flex-direction: row;
    gap: 33px;
    padding-bottom: 20px;
}

.icons i{
    font-size: 25px;
    color: white;
}

.followpart2{
    width: auto;
    height: 53%;
    margin: 0px 20px;
    padding: 10px 0;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#disclaim{
    font-size: 16px;
    padding-bottom: 3px;
}

#text1{
    font-size: 14px;
    line-height: 18px;
}