@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap'); */
:root {
    --secondary-color: #A9B5DF;
    --primary-color: #113F67;
    --regular-size: 15px;
    --medium-size: 30px;
}
body {
    overflow-x: hidden;
    /* background-image: url("assets/test6.jpg"); */
    /* background-attachment: fixed; */
    /* background-size: cover; */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
img {
    width: 100vw;
    height: 100vh;
}
/* Header */
header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    background-color: white;
    z-index: 10;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    width: 100vw;
    height: 5rem;
}
header .logo-container img{
    width: 4rem;
    height: 4rem;
}
header .home-links-container {
    grid-column-start: 2;
    grid-column-end: 5;
    display: flex;
    gap: 20px;
}
header .home-links-container a{
    text-decoration: none;
    color: var(--primary-color);
    font-size: var(--regular-size);
    font-weight: 500;
}
.logo {
    width: 5rem;
    height: 3rem;
}

/* Landing page */
.landing-page-container {
    background-color: white;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 0px 20px; */
    padding-top: 50px;
}
.landing-page-container .landing-page-content-container{
    background-color: var(--primary-color);
    /* width: 37rem; */
    font-size: var(--regular-size);
    padding: 20px;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    color: white;
}
/* Making animation */
#landing-heading-text, #landing-button {
    transform: translateX(-310px);
}
#landing-heading-text {
    transition: all 0.5s ease-in-out;
}
#landing-content-text {
    transition: all 1s ease-in-out;
}
#landing-button {
    transition: all 1.5s ease-in-out;
}

#landing-heading-text.remove-left, #landing-content-text.remove-left, #landing-button.remove-left {
    transform: translateX(0px);
}

/* .landing-page-container .landing-page-content-container.remove-opacity{ */
/*     opacity: 1; */
/*     transform: translateX(0px); */
/* } */

.landing-page-container .landing-page-content-container h1{
    font-size: 45px;
    font-weight: 1000;
    /* color: white; */
}
.landing-page-container .landing-page-content-container button{
    padding: 15px;
    width: 20rem;
    border-radius: 5px;
    color: white;
    border: none;
    background-color: var(--secondary-color);
    font-size: var(--regular-size);
    /* font-weight: 500; */
}
.landing-page-picture {
    width: 37rem;
    height: 37rem;
    border-radius: 30px;
    object-fit: cover;
    position:relative;
    right: 120px;
}
/* Legal solutions */
.stats-container {
    padding: 10px;
    margin-top: 20px;
    color: var(--primary-color);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    /* display: grid; */
    /* grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); */
}
.stats-container .stats-content-container{
    border-top: 1px solid var(--secondary-color);
    width: fit-content;
    text-align: center;
    position: relative;
}

.stats-container .stats-content-container .icon-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    z-index: -20;
    color: rgba(180, 215, 243, 0.26);
}
.stats-container .stats-content-container h1{
    font-size:50px
}

/* about section */
.about-section-container {
    padding: 50px 20px;
}
.about-section-container .about-section-content-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr));
    gap: 20px;
    justify-items: center;
}
.about-section-container .about-section-content-container .about-section-image{
    height: 28rem;
    width: 23rem;
    background-image: url("assets/Hassan.webp");
    background-size: cover;
    background-position: center;
    position: relative;
    isolation: isolate;
}

.about-section-container .about-section-content-container .about-section-image::before {
    content: "";
    position: absolute;
    inset: 0; /* (Same as top:0, left:0, right:0, bottom:0) */
    background-image: url("assets/Hassan.webp");
    background-size: cover;
    background-position: center;
    z-index: -1; /* Furthest back */
}
.about-section-container .about-section-content-container .about-section-image::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    top: 40px;
    right: 20px;
    z-index: -2;
}

/* Legal solutions */
.legal-solutions {
    background-color: white;
    padding: 50px 20px;
}
.legal-solutions p{
    font-size: var(--regular-size);
}

.legal-solutions-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-row-gap: 20px;
    margin-top: 20px;
}
.legal-solutions-card-container .legal-solutions-card-inner-container{
    cursor: pointer;
    width: 90%;
    height: 414px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.legal-solutions-card-container .legal-solutions-card-inner-container.education{
    background-image: url("https://plus.unsplash.com/premium_photo-1694281930432-18b307e102b5?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTN8fGxpdGlnYXRpb258ZW58MHx8MHx8fDA%3D&auto=format&fit=crop&q=60&w=500");
}
.legal-solutions-card-container .legal-solutions-card-inner-container.health{
    background-image: url("https://images.unsplash.com/photo-1508385082359-f38ae991e8f2?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NHx8Q29ycG9yYXRlfGVufDB8fDB8fHww&auto=format&fit=crop&q=60&w=500");
}
.legal-solutions-card-container .legal-solutions-card-inner-container.training{
    background-image: url("https://plus.unsplash.com/premium_photo-1723478510260-dec9f7188540?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NjJ8fGRpc3B1dGV8ZW58MHx8MHx8fDA%3D&auto=format&fit=crop&q=60&w=500");
}
.legal-solutions-card-container .legal-solutions-card-inner-container.food{
    background-image: url("https://plus.unsplash.com/premium_photo-1707146617695-884c18a3fcff?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTIwfHxzb2NpYWwlMjBqdXN0aWNlfGVufDB8fDB8fHww&auto=format&fit=crop&q=60&w=500");
}
.legal-solutions-card-container .legal-solutions-card-inner-container div{
    height: 60%;
    padding-left: 5px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9));
    position: absolute;
    top: 50%;
    /* transform: translateY(-15%); */
    transform: translateY(70%);
    color: white;
    transition: all .3s linear;
}
.legal-solutions-card-container .legal-solutions-card-inner-container:hover .legal-solutions-card-content-container {
    transform: translateY(-15%);
}

/* Articles */
.articles {
    padding: 0px 20px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}
.articles .last-article {
    color: white;
    height: 28rem;
    padding: 10px;
    width: 23rem;
    background-image: url("assets/article-background.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.articles .last-article .last-article-title div {
    width: 10rem;
    height: 2px;
    background-color: white;
}
.articles .articles-container {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid var(--secondary-color);
    height: fit-content;
    padding: 10px;
}
.articles .articles-container h3{
    color: var(--primary-color);
    cursor: pointer;
}
.articles .articles-container .article-date{
    font-weight: bold;
}
.articles .articles-container img{
    width: 8rem;
    height: 8rem;
    border-radius: 10px;
    object-fit: cover;
}

/* Trusted expertise */
.trusted-legal-expertise {
    background-color: var(--primary-color);
    margin-top: 80px;
    padding: 50px 15px;
    font-size: var(--regular-size);
    color: white;
}
.trusted-legal-expertise .trusted-legal-expertise-container {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    justify-items: center;
    gap: 30px;
}
.trusted-legal-expertise .trusted-legal-expertise-container .trusted-legal-expertise-card {
    color: black;
    padding: 25px;
    width: 25rem;
    text-align: center;
    height: 17rem;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-direction: column;
    transition: all .3s ease-in-out;
    position: relative;
    isolation: isolate;
    background-color: white
}

.trusted-legal-expertise .trusted-legal-expertise-container .trusted-legal-expertise-card::after {
    content: "";
    position: absolute;
    inset: 0; /* (Same as top:0, left:0, right:0, bottom:0) */
    background-color: white;
    z-index: -1; /* Furthest back */
}

.trusted-legal-expertise .trusted-legal-expertise-container .trusted-legal-expertise-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    right: 20px;
    background-color: var(--secondary-color);
    z-index: -2;
}
.trusted-legal-expertise .trusted-legal-expertise-container .trusted-legal-expertise-card:hover {
    transform: scale(1.02);
}

/* Members */
.members {
    background-color: white;
    margin-top: 80px;
    padding: 20px 15px;
}
.members .members-container{
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(23rem, 1fr));
    justify-items: center;
    gap: 30px;
}
.members .members-card{
    width: 20rem;
    height: 16rem;
    border-radius: 50px 0px 50px 0px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    background-color: white;
    position: relative;
    isolation: isolate;
}

.members .members-card .socials{
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.members .members-card::after {
    content: "";
    position: absolute;
    inset: 0; /* (Same as top:0, left:0, right:0, bottom:0) */
    background-color: white;
    z-index: -1; /* Furthest back */
}

.members .members-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px 0px 50px 0px;
    top: 20px;
    right: 20px;
    background-color: var(--secondary-color);
    z-index: -2;
}

.members .members-card img{
    position: absolute;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    object-fit: cover;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}
.members .members-card .members-card-content-container{
    padding: 10px;
    margin-top: 140px;
    text-align: center;
}

/* Reviews */
.reviews {
    padding: 40px 15px;
}
.reviews .reviews-title-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.reviews .reviews-title-container .reviews-buttons-container {
    display: flex;
    gap: 10px;
}
.reviews .reviews-title-container button{
    width: 5rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
}
.reviews .reviews-title-container button:nth-child(2) {
    background-color: var(--primary-color);
    color: white;
}
.reviews-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.reviews-container ul {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%);
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;

}
.reviews-container ul li {
    width: 20px;
    height: 20px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    margin: 3px;
    background: transparent;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}
.reviews-container ul li.selected {
    background-color: var(--secondary-color);
}

.reviews-container .track{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 55rem;
    overflow: hidden;
}
.reviews-card {
    text-align: center;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    width: 15rem;
    padding: 10px;
    height: 15rem;
    background-color: var(--primary-color);
    color: white;
    font-size: var(--regular-size);
    transition: all .5s ease-in;
    margin-bottom: 50px;
}

.reviews-card.main{
    width: 20rem;
    height: 20rem;
}
.reviews-card.main img{
    width: 10rem;
    height: 10rem;
}
.reviews-card img{
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    transition: all .5s ease-in;
}

/* footer */
footer {
    padding: 150px 20px;
    background-color: white;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}
footer .logo{
    width: 6rem;
    height: 6rem;
}

/* About page */
.about-landing-page {
    background-image: url("assets/about-landing-picture.webp");
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 50px;
}
.about-landing-page h1{
    font-size: 150px;
    color: white;
}

/* about section */
.about-section {
    padding: 40px 20px;
    align-items: center;
    background-color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    gap: 40px;
}
.about-section img{
    width: 30rem;
    height: 30rem;
}
/* vision mission */
.vision-mission-container {
    background-color: white;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.vision-mission-container .vision-mission-content-container{
    width: 24rem;
    padding: 20px;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    position: relative;
    isolation: isolate;
}

.vision-mission-container .vision-mission-content-container::before {
    content: "";
    position: absolute;
    inset: 0; /* (Same as top:0, left:0, right:0, bottom:0) */
    background-color: white;
    z-index: -1; /* Furthest back */
}
.vision-mission-container .vision-mission-content-container::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    top: 20px;
    right: 20px;
    z-index: -2;
}

/* Contact us page */
.contact-section {
    background-color: white;
    padding: 40px 20px;
}
.contact-section .contact-content{
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 20px 0px;
}
/* article */
#article-landing-picture {
    height: 60vh;
    margin-top: 80px;
    object-fit: cover;
}
.article-title {
    color: var(--secondary-color);
}
.article-content-container {
    padding: 50px;
}

/* Business Model */
.services-container h1{
    color: var(--primary-color);
    margin-top: 5rem;
    text-align: center;
}
.services-container .services-card-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    transition: all 1s ease-out;
}
.services-container .services-card-container#right.remove-right {
    transform: translateX(502px);
}
.services-container .services-card-container.remove {
    transform: translateX(-502px);
}
.services-container .services-card-container img{
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    position: relative;
    isolation: isolate;
}
.services-container .services-card-container .services-card-content-container{
    width: 30rem;
    font-size: var(--regular-size);
}

.services-container .services-card-container .services-card-content-container h2{
    color: #0B2F8A;
}


/* for mobile */
@media only screen and (max-width: 600px) {

    .articles {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    .articles .articles-container {
        flex-direction: column;
        gap: 0;
    }
    .articles .articles-container img{
        width: 100%;
        border-radius: 5px;
    }

    .trusted-legal-expertise {
        padding: 10px;
    }

    .trusted-legal-expertise .trusted-legal-expertise-container {
        grid-template-columns: repeat(auto-fill, minmax(23rem, 1fr));
    }
    .trusted-legal-expertise .trusted-legal-expertise-container .trusted-legal-expertise-card {
        width: 23rem;
    }

    .reviews .reviews-title-container .reviews-buttons-container {
        margin: 10px 0px;
    }

    .about-landing-page {
        padding: 10px;
    }
    .about-landing-page h1{
        font-size: 100px;
    }
    
    footer {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .landing-page-picture {
        display: none;
    }

}

