*{
    /* border: 1px solid red; */
    box-sizing: border-box;
    font-weight: 300;
    /* letter-spacing: 1px; */
    font-size: 16px;
    scroll-behavior: smooth;
    font-family: var(--font-family-sans);
}

:root {
    --primary-offset-color: #A5ADC4;
    --primary-color: #D8DEE1;
    --light-primary-color: #FFF;

    --secondary-color: #0B2240;
    --dark-secondary-color: #345DAE;

    --font-family-sans: "Work Sans", serif;
}
/* About Intro */

.about-intro{
    width: 100%;
    height: auto;
    padding: 60px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
}

.about-intro-details{
    width: 70%;
    height: auto;
}

.about-intro-details h2, 
.about-intro-details p{
    width: 100%;
    text-align: center;
    color: var(--secondary-color);
}


.about-intro-overview{
    width: 50%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.about-intro-overview-card{
    width: 100%;
    margin: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-intro-overview-card i{
    width: 50px;
    height: 50px;
    font-size: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.about-intro-overview-card p{
    width: 100%;
    text-align: center;
    color: var(--secondary-color);
}

/* Mobile */
@media screen and (max-width: 900px) {
    
    .about-intro-details,
    .about-intro-overview{
        width: 100%;
    }

    .about-intro-details p,
    .about-intro-overview-card p{
        font-size: 14px;
    }
}


/* about-overview */
.about-overview{
    width: 100%;
    height: auto;
    padding: 60px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    background-color: var(--secondary-color);
}

.about-overview-img-holder{
    width: 40%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    position: relative;
    overflow: hidden;
}

.about-overview-img{
    background-color: var(--dark-secondary-color);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.about-overview-img.main{
    width: 90%;
    height: 60vh;
}

.about-overview-img.sub-top{
    width: 50%;
    height: 30vh;
    position: absolute;
    top: -16%;
    z-index: 2;
    left: -30px;

}
.about-overview-img.sub-bottom{
    width: 50%;
    height: 30vh;
    position: absolute;
    bottom: -15%;
    z-index: 2;
    right: -30px;

}

.about-overview-details{
    width: 50%;
    height: auto;
    margin: 0 0 0 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.about-overview-details h2{
    width: 100%;
    text-align: left;
    color: var(--light-primary-color);
}

.about-overview-details p{
    width: 90%;
    text-align: left;
    color: var(--primary-color);
}

/* Mobile */
@media screen and (max-width: 900px) {
    .about-overview{
        flex-direction: column;
    }

    .about-overview-img-holder{
        width: 100%;
    }

    .about-overview-img.main{
        width: 100%;
        height: 60vh;
    }

    .about-overview-img.sub-top{
        width: 30%;
        height: 20vh;
        position: absolute;
        top: 0;
        z-index: 2;
        left: 0;
    
    }
    .about-overview-img.sub-bottom{
        width: 30%;
        height: 20vh;
        position: absolute;
        bottom: 0;
        z-index: 2;
        right: 0;
    
    }
    
    
    .about-overview-details{
        width: 100%;
        margin: 16px 0 0 0;
    }

    .about-overview-details p{
        width: 96%;
        font-size: 14px;
    }

}

/* about-team */
.about-team{
    width: 100%;
    height: auto;
    padding: 60px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-team h2,
.about-team h1,
.about-team p{
    width: 70%;
    text-align: center;
    color: var(--secondary-color);
}

.about-team-holder{
    width: 90%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.about-team-cards{
    width: 100%;
    height: 50vh;
    margin: 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--light-primary-color);
}

.about-team-profile{
    width: 150px;
    height: 150px;
    margin: 30px 30px;
    border-radius: 50%;
    background-color: var(--dark-secondary-color);
    background-position: 150% 10%;
    background-repeat: no-repeat;
    background-size: cover;
}

.about-team-name{
    width: 90%;
    text-align: center;
    font-weight: 600;
    color: var(--secondary-color);
}

.about-team-cards p{
    width: 90%;
    text-align: center;
    font-size: 14px;
    color: var(--secondary-color);
}


/* Mobile */
@media screen and (max-width: 900px) {
    .about-team h2,
    .about-team h1,
    .about-team p{
        width: 100%;
    }
    .about-team-holder{
        width: 100%;
        flex-direction: column;
    }

    .about-team-cards{
        width: 100%;
    }

    .about-team-profile{
        width: 150px;
        height: 150px;
    }

    .about-team p{
        font-size: 14px;
    }
    
    .about-team-cards p{
        width: 90%;
    }
}

/* about-core */

.about-core{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color);

}

.about-core-img{
    width: 100%;
    height: 120vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('/assets/imgs/mansion.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.about-core-img::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.about-core h2,
.about-core h1,
.about-core p{
    width: 70%;
    height: auto;
    text-align: center;
    color: var(--primary-color);
    z-index: 2;
}

.about-core h2{
    font-size: 36px;
}
.about-core h1{
    font-size: 60px;
}

.about-core a{
    width: 15%;
    margin: 30px auto;
    background-color: var(--dark-secondary-color);
    color: var(--primary-color);
    text-align: center;
    padding: 16px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 3px;
}


.about-core a:hover{
    background-color: var(--secondary-color);
    color: var(--light-primary-color);
}


/* Mobile */
@media screen and (max-width: 900px) {
    .about-core h2{
        font-size: 24px;
        width: 100%;
    }
    .about-core h1{
        width: 100%;
        font-size: 36px;
    }
    .about-core p{
        width: 100%;
        font-size: 14px;
    }
    .about-core a{
        width: 90%;
    }
}

/* Location-map */

.location-map{
    width: 100%;
    height: auto;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
}

.location-map h1{
    width: 100%;
    text-align: center; 
    color: var(--light-primary-color);
}

.location-map p{
    width: 70%;
    text-align: center; 
    color: var(--light-primary-color);
}

.location-map iframe{
    width: 100%;
    height: 100vh;
    margin: 30px auto;
}

/* Mobile */
@media screen and (max-width: 900px) {
    .location-map iframe{
        height: 80vh;
    }

    .location-map p{
        width: 100%;
        font-size: 14px;
    }
}

/* Blogs */
.blogs{
    width: 100%;
    padding: 60px 16px;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.blogs p{
    width: 70%;
    text-align: center;
    color: var(--secondary-color);
}

.blogs-topbar{
    width: 90%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.blogs-topbar h3{
    color: var(--secondary-color);
    text-align: left;
}

.blogs-topbar a{
    width: 15%;
    padding: 16px 16px;
    text-decoration: none;
    color: var(--secondary-color);
    text-align: center;
    border: 1px solid var(--primary-offset-color);
    transition: all 0.3s ease-in-out;
}

.blogs-topbar a:hover{
    border: 1px solid var(--secondary-color);
}

.blogs-holder{
    width: 90%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.blogs-card{
    width: 100%;
    height: auto;
    margin: 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--light-primary-color);
    text-decoration: none;
}

.blogs-card-img-holder{
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blogs-card-img{
    width: 100%;
    height: 50vh;
    background-color: var(--dark-secondary-color);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.blogs-card:hover .blogs-card-img{
    transform: scale(1.2);
}

.blogs-card-name{
    width: 100%;
    height: auto;
    text-align: left;
    padding: 16px 16px 0 16px;
    font-weight: 500;
    color: var(--secondary-color);
}

.blogs-card p{
    width: 90%;
    height: 80px;
    max-height: 80px; 
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    color: var(--secondary-color);
    margin: 16px auto;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Mobile */
@media screen and (max-width: 900px) {
    .blogs-topbar{
        width: 100%;
    }

    .blogs-topbar a{
        width: 50%;
    }

    .blogs-topbar h3{
        width: 50%;
    }

    .blogs-holder{
        width: 100%;
        flex-direction: column;
    }

    .blogs p,
    .blogs-topbar a,
    .blogs-card-name{
        font-size: 14px;
    }

    .blogs-card p{
        width: 90%;
    }
}
