/* prerequisites */
* {
    margin: 0;
    padding: 0;
    user-select: none;
    box-sizing: border-box;
}

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

/* code starts from here  */

body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* header section */

header {
    width: 85%;
    min-height: 4.6rem;
    display: flex;
    gap: 6.5vw;
    align-items: center;
    justify-content: space-between;
    border-bottom: 0.2px solid #EDDED5;
}

section.logo {
    margin-top: 0.6rem;
    min-width: 4.5rem;
    height: 90%;
    display: flex;
    gap: 1rem;
    align-items: center;
}

section.logo div {
    width: 4.5rem;
    height: 50%;
}

section.logo img {
    height: 100%;
    width: 100%;
}

section.logo span {
    font-size: 12px;
    background-color: #EDDED5;
    padding: 0.2rem 0.3rem;
    border-radius: 12px;
    white-space: nowrap;

}

section.navbar {
    margin-top: 0.6rem;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar {
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
    height: 60%;
    width: 59%;
}

.navbar p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    position: relative;
}

.navbar p::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;

    width: 0%;
    height: 1.5px;
    background: black;

    transition: 0.3s;
}

.navbar p:hover::after {
    width: 100%;
}

.navbar p img {
    width: 12px;
    height: 12px;
}

.navbar span {
    background-color: #EDDED5;
    padding: 0 0.2rem;
    font-size: 13px;
    white-space: nowrap;
    border-radius: 25px;
}

section.navbar button {
    padding: 0.6rem 0.7rem;
    border: 0.5px solid black;
    background-color: transparent;
    border-radius: 25px;
    font-size: 12.5px;
    font-family: serif;
}

section.navbar button:hover {
    background-color: black;
    color: white;
}

/* main starts from here  */

main {
    min-height: 100vh;
    width: 87%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;


}

/* section heading */

section.heading {
    width: 100%;
    min-height: 80vh;
}

section.heading h1 {
    margin-top: 9rem;
    font-weight: 500;
    line-height: 4.6rem;
    font-family: sans-serif;
    font-size: 5rem;
}

section.heading p {
    margin-top: 2rem;
    font-size: 1.22rem;
    line-height: 1.7rem;
}

section.heading button {
    margin-top: 1.8rem;
    padding: 0.9rem 1.4rem;
    border: none;
    color: whitesmoke;
    background-color: black;
    border-radius: 25px;
    font-size: 13px;
}

/* marquee effect images */

.images {
    width: 100%;
    height: 8.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: scroll-left 20s linear infinite;
}

.marquee-track img {
    height: 2rem;
    margin: 0 3rem;
}

@keyframes scroll-left {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* section one begin here */

section.one {
    width: 100%;
    height: 18rem;
    display: grid;
    gap: 2rem;
    margin: 1rem 0 3rem 0;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 3rem 3rem 0 2rem;
    background-color: #F4F4F5;
}

.container h1 {
    font-size: 1.8vw;
    font-weight: 500;
}

.container p {
    line-height: 1.4rem;
    font-size: 0.9rem;
    color: #52525C;
}

.container a {
    color: black;
    font-size: 0.8rem;
}

/* section work starts from here */

section.work {
    min-height: 100vh;
    width: 100%;
    margin-bottom: 3rem;
}

.small-heading {
    font-size: 0.7rem;
    padding: 0.8rem 0;
    color: #52525C;
    border-bottom: 0.1px solid rgb(228, 228, 231);
}

.big-heading {
    height: 7rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.big-heading h1 {
    font-size: 2.7rem;
    font-weight: 500;
}

.big-heading button {
    font-family: serif;
    padding: 0.6rem 0.8rem;
    border: 0.5px solid black;
    color: black;
    background-color: transparent;
    border-radius: 25px;
    font-size: 12.5px;
}

.big-heading button:hover {
    background-color: black;
    color: white;
}

.work-space {
    min-height: 150vh;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.6rem;
}

.work-containers {
    height: 100%;
    width: 100%;
}

.work-img {
    width: 100%;
    height: 89%;
    overflow: hidden;
}

.work-containers img {
    width: 100%;
    height: 100%;
    transition: transform 1s ease;
    cursor: pointer;
}

.work-containers img:hover {
    transform: scale(1.15);
}

.work-details {
    width: 100%;
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.work-details h6 {
    font-size: 1rem;
    font-weight: 500;
}

.work-details button {
    font-family: serif;
    padding: 0.3rem 0.5rem;
    border: 0.5px solid black;
    color: black;
    background-color: transparent;
    border-radius: 25px;
    font-size: 11px;
}

.work-details button:hover {
    color: white;
    background-color: black;
}

/* our values section is on the way */

section.our-values {
    min-height: 100vh;
    width: 100%;
}

.value-container {
    margin: 3.5rem 0;
    min-height: 105vh;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "box1 box2 box3 ."
        ". box4 box5 box6";
    gap: 2rem;
}

.value-box {
    width: 100%;
    height: 100%;
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.value-box p {
    font-size: 12px;
}

.value-box h5 {
    margin-top: -3.5rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.value-box h6 {
    font-size: 1rem;
    font-weight: 500;
}

.value-box button,
.contact-detail button, .templates {
    width: fit-content;
    padding: 0.9rem 1.5rem;
    border: none;
    color: whitesmoke;
    background-color: black;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    font-family: serif;
    justify-content: center;
    gap: 0.2rem;
}

.value-box button img,
.contact-detail button img {
    width: 12px;
    height: 12px;
}

/* crafting section starts from here  */

section.crafting {
    min-height: 80vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem 0 0 0;
    gap: 2rem;
}

section.crafting h1 {
    margin-left: -6rem;
    font-size: 2.5rem;
    font-weight: 500;
}

section.crafting p {
    font-size: 0.9rem;
    line-height: 1.5rem;
    color: #52525C;
}

section.crafting div {
    min-height: fit-content;
    display: flex;
    gap: 1.5rem;
}

/* our team section begin here */

section.our-team {
    min-height: 100vh;
    width: 100%;
    margin-bottom: 3rem;
}

.team-det {
    width: 100%;
    min-height: 60vh;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: start;
}

.team-container {
    width: 100%;
    height: 24rem;
}

.team-img {
    width: 100%;
    height: 88%;
    overflow: hidden;
    position: relative;
    object-fit: cover;
}

.team-img img {
    width: 100%;
    height: 100%;
}

.det-logo {
    position: absolute;
    height: 2rem;
    display: none;
    bottom: -2rem;
    right: 1rem;
    display: flex;
    gap: 0.2rem;
    transition-duration: 0.4s;
    justify-content: space-around;

}

.det-logo button {
    height: 1.8rem;
    width: 1.8rem;
    border-radius: 50%;
    border: none;
    overflow: hidden;
}

.det-logo button img {
    height: 100%;
    width: 100%;
}

.team-img:hover {
    .det-logo {
        display: flex;
        bottom: 0.6rem;
    }
}

section.description {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    padding: 0 2rem;
}

.description-details {
    width: 72%;
    min-height: 17rem;
    display: flex;
    justify-content: space-between;
}

.description-img {
    height: 1.5rem;
}

.description-img img {
    width: 100%;
    height: 100%;
}

.description-content {
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.9rem;
    padding-bottom: 1rem;
}

.description-content h1 {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2rem;
}

.description-content p {
    font-size: 0.8rem;
    line-height: 1.2rem;
}

/* contact section starts from here */

section.contact {
    width: 100%;
    min-height: 28rem;
    margin-bottom: 3rem;
    padding: 5rem 5rem 4rem 5rem;
    display: flex;
    justify-content: space-between;
    background-color: #F1F6F5;
}

.contact {
    width: fit-content;
    height: fit-content;
}

.contact p {
    font-size: 0.8rem;
}

.contact-detail {
    width: 75%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-detail h1 {
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 3.5rem;
}

.contact-detail p {
    font-size: 1.2rem;
    line-height: 1.4rem;
}

/* Blog section starts from here */

section.blog {
    width: 100%;
    min-height: 80vh;
}

.blogs {
    width: 100%;
    height: 20rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-container {
    width: 100%;
    height: 100%;
}

.blog-img-container {
    width: 100%;
    height: 80%;
    overflow: hidden;
}

.blog-img-container img {
    width: 100%;
    height: 100%;
    transition: transform 1s ease;
    cursor: pointer;
}

.blog-img-container img:hover {
    transform: scale(1.15);
}

.blog-details {
    width: 100%;
    height: 20%;
    display: flex;
    margin-top: 0.5rem;
    flex-direction: column;
    justify-content: space-between;
}

.blog-details h6 {
    font-size: 1rem;
    font-weight: 500;
}

.blog-details p {
    font-size: 0.8rem;
}

/* footer starts here */

footer {
    width: 87%;
    min-height: 65vh;
}

.footer-container {
    width: 100%;
    height: 20rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.footer-boxes{
    width: 100%;
    height: 100%;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.footer-logo{
    align-self: flex-start;
    height: 1.3rem;
}
.apps{
    height: 3rem;
    display: flex;
    align-items: center;
    gap: 0.1rem;
}
.apps button{
    width: 2rem;
    height: 1.5rem;
    border: none;
    border-radius: 50%;
    overflow: hidden;
}
.apps button img{
    width: 100%;
    height: 100%;
}
.footer-boxes h6{
    font-size: 1rem;
    font-weight: 500;
    padding-bottom: 0.3rem;
    border-bottom: 0.1px solid rgb(228, 228, 231);
}
.footer-boxes p{
    width: fit-content;
    font-size: 0.8rem;
    position: relative;
}

.footer-boxes p::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;

    width: 0%;
    height: 1.5px;
    background: black;

    transition: 0.3s;
}

.footer-boxes p:hover::after {
    width: 100%;
}

/* end div of footer */

.end{
    width: 100%;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 0.1px solid rgb(228, 228, 231);
}
.end p{
    font-size: 0.7rem;
    color: #52525C;
}
.end div{
    width: 6.5rem;
    display: flex;
    justify-content: space-between;
}