* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

main{
    font-family: 'Times New Roman', Times, serif 'Arial Narrow Bold', sans-serif;
    padding-inline: 100px;
    width:100%;
    height: 100vh;
    position: relative;
    box-sizing: border-box;
    margin: 0;
    border: 0 solid;
}

nav {
    width: 95%;
    margin:20px auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.logo img {
    width:120px;
    object-fit: contain;
}

.logo-name{
    font-size:30px;
}

.nav-hire {
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    background-color: antiquewhite;
    border: none;
    cursor: pointer;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-services{
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-services a {
    position: relative;   
    text-decoration: none;
    color: black;
    padding-bottom: 4px;
}

.nav-services a::after {
    content: "";          
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;                     
    height: 2px;
    background-color: black;
    transition: width 0.3s ease;  
}

.nav-services a:hover::after {
    width: 100%;                 
}

.nav-last {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 18px;
}

.Cart-item{
    width:max-content;
    padding:2px;
    border-radius: 50%;
    background-color: rgb(240, 219, 191);
}
.get-in-touch {
    padding: 12px 22px;
    border: 2px solid black;
    border-radius: 50px;
    white-space: nowrap;
    cursor: pointer;
}

.get-in-touch:hover{
    color:aliceblue;
    background-color: black;
    cursor: pointer;
}

section{
    width:95%;

}

.main {
    font-size: 125px;
    font-weight: 100;
    line-height: 1.1;
    margin-top: 13%;
    padding:0 2% ;
}

.main-sub {
    font-size: 32px;
    margin-top: 30px;
    padding:0 2%;
    color: #555;
}

.services {
    display: inline-block;
    margin: 60px 0 0px 2%;
    padding: 15px 30px;
    border: 2px solid black;
    border-radius: 50px;
    cursor: pointer;
    font-size: 25px;
    font-weight: 500;
    color: aliceblue;
    background-color: black;
}

#scroll{
    margin: 40px auto 20px;
    height: 20vh;
    width: 95%;
    white-space: nowrap;
    overflow-x: hidden;
    overflow-y: hidden;
    display: flex;
    justify-content: space-between;
}

#container {
    height: 100%;
    width: 100%;
    display: inline-block;
    animation-name:scrol;
    animation-duration: 25s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes scrol {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

#container img {
    height: 5vh;
    display: inline;
    margin: 50px 0px 60px 120px;
    align-items: center;
}

.features{
    width:95%;
    margin:0 auto 15vh;
    display:flex;
    justify-content: space-between ;
    align-items: center;
    gap:30px;
}

.features .card {
    width: 25%;
    min-height: 40vh;        
    height: auto;            
    background-color: #f3f1f1;
    padding: 0;              
    display: flex;
    flex-direction: column;
}

.card .heading {
    font-size: 32px;
    font-weight: 500;
    padding: 30px 25px 15px;
}

.card .feat-content {
    font-size: 18px;
    color: #555;
    padding: 5px 25px;
    line-height: 1.6;       
}

.card .feat-about {
    font-size: 18px;
    padding: 20px 25px;
    text-decoration: underline;
    cursor: pointer;
    margin-top: auto;       
}

p{
    width:95%;
    margin:60px auto 20px;
    font-size: 20px;
    color: #555;
}

.line{
    width:95%;
    height:2px;
    margin:20px auto;
    background-color: #a4a4a4;
}

.work{
    width:95%;
    margin: auto;
    display:flex;
    flex-direction: column;
}

.work-heading{
    width:100%;
    display: flex;
    justify-content: space-between;
    margin:40px auto;
}

h1{
    font-size: 50px;
    font-weight: 500;
}
.all-work{
    font-size: 20px;
    padding:20px;
    border-radius: 50px;
    background-color: aliceblue;
}

.all-work:hover{
    background-color: black;
    color: aliceblue;
}

.work-sub {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.work-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.work-card .img {
    width: 100%;
    overflow:hidden;
    border-radius: 12px;
}

.work-card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.work-card .img img:hover{
    transform: scale(1.1);
}

.work-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cont-name {
    font-size: 28px;
    font-weight: 500;
}

.Work-cont-btn {
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid black;
    background: transparent;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
}
.Work-cont-btn:hover{
    background-color: black;
    color:aliceblue
}

.values {
    width: 95%;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.values-row1, .values-row2 {
    width: 100%;
    display: flex;
    gap: 30px;
}

.values-row2 {
    justify-content: flex-end;
}

.box1, .box2, .box3, .box4, .box5, .box6 {
    width: 30%;
    min-height: 350px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 30px;
}
.box1{background-color: rgb(223, 252, 252);}
.box2{background-color: rgba(197, 218, 210, 0.363);}
.box3{background-color: #eae9e9bd;}
.box4{background-color: #eae9e9bd;}
.box5{background-color: rgb(255, 239, 208);}
.box6{background-color: rgb(255, 255, 205);}


.val-top {
    font-size: 20px;
    margin: 0;
}

.val-bot {
    font-size: 32px;
    margin: 0;
    line-height: 1.2;
}

.box1 .val-con {
    font-size: 32px;
    margin: 15px 0 30px;
    line-height: 1.2;
}

.box1 .btn {
    width: max-content;
    padding: 15px 25px;
    font-size: 14px;
    border-radius: 50px;
    color: aliceblue;
    background-color: black;
    border: none;
    cursor: pointer;
    margin-top: auto;
}

.val-top{
    font-size: 25px;
    margin:50px 30px;
}

.val-bot{
    font-size:40px;
    margin:50px 30px;
}

.cont-2{
    width:60%;
    margin:100px auto;
}

.main-cont-2{
    font-size: 50px;
    margin:25px;
}
.sub{
    display:flex;
    gap:30px;
    margin:2px 10px;
}
.sub-cont-2{
    margin:0 20px 0;
    font-size: 22px;
    line-height:4vh;
    color: #555;
}

.team{
    width:95%;
    margin:auto;
    display: flex;
    flex-direction: row;
    gap:50px;
}

.team-card {
    width: 25%;
    min-height: 60vh;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
}

.team-card-title {
    padding: 30px 30px 15px;
    font-size: 16px;
    letter-spacing: 1px;
}

.team-card-cont {
    padding: 10px 30px;
    font-size: 32px;
    line-height: 1.1;
}

.team-card-subcont {
    padding: 20px 30px;
    font-size: 16px;
    line-height: 1.5;
    color: #a4a4a4;
}

.team-btn {
    width: max-content;
    padding: 18px 30px;
    margin: 20px 30px;
    font-size: 14px;
    border-radius: 50px;
    background-color: black;
    color: aliceblue;
    border: none;
    cursor: pointer;
}

.team-card {
    width: 25%;
    height: 60vh;
    position: relative; 
}

.team-img img{
    position: relative;
    top:0px;
    max-width: 100%;
    height:100%;
    object-fit: cover;
    overflow: hidden;
}

.team-socials {
    position: absolute;
    bottom: 50px;    
    left: 70%;
    display: flex;
    justify-content:flex-end;
    gap: 12px;
    opacity: 0;
    transform: translateX(-50%) translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.team-socials a {
    width: 42px;
    height: 42px;
    background-color: black;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content:center;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
}

.team-card:hover .team-socials {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.team-details{
    padding:15px 8px;
    display: flex;
    justify-content: space-between;
}

.team-name{
    font-size: 25px;
    font-weight: 400;
}

.team-job{
    padding:10px;
    font-size: 18px;
    border-radius: 50px;
    background-color: aliceblue;
}

.team-job:hover{
    background-color: black;
    color: aliceblue;
}

.review {
    width: 70%;
    margin: 100px auto 100px 30%;  
    position: static;
}

.review-com {
    display: flex;
    margin-top: 40px;
    flex-direction: row;
    align-items: flex-start;    
    width: 100%;
    gap: 30px;
}

.com-name {
    width: 25%;
    flex-shrink: 0;
}

.com-name img {
    width: 80%;
    object-fit: cover;
}

.com-stat1, .com-stat2 {
    width: 75%;
    padding: 0 20px;
}

.main-stat {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    padding: 0 0 20px;
}

.sub-stat {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #555;
    padding: 10px 0;
}}

.contact{
    width:90%;
    margin:60px auto;
    display: flex;
    flex-direction: row;
    background-color: rgb(240, 243, 243);
}

.contact p{
    width:25%;
    margin:10% 5%;
}

.cont-right{
    width:100%;
    padding:50px;
}

.main-contact{
    font-size: 60px;
    padding:20px;
}
.sub-contact{
    font-size: 35px;
    padding:20px;
}

.touch-contact{
    font-size: 18px;
    margin:20px;
    padding:20px;
    border-radius: 50px;
    background-color: black;
    color:aliceblue;
    cursor: pointer;
}

.blog{
    width:95%;
    margin:auto;
    display: flex;
    flex-direction: row;
    gap:40px;
}

.blog .blog-card{
    width:25%;
    height: 60vh;
    display: flex;
    flex-direction: column;
}

.blog-img{
    width:100%;
    height: 80%;
    overflow:hidden;
}
.blog-card .blog-img img{
    width:100%;
    height: 100%;
    object-fit:cover;
    display: block;
    transition: transform 0.7s ease;
}

.blog-card .blog-img:hover img{
    transform: scale(1.1);
}

.blog-head{
    padding-top: 10px;
    font-size: 20px;
}

.readmore{
    font-size: 20px;
    margin:5px 0;
    padding:10px;
    width:fit-content;

}
.end {
    width: 90%;
    margin: 80px auto 40px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.end-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.end-card:first-child img {
    width: 50%;
    height: auto;
}

.card-heading {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000;
    margin-bottom: 8px;
}

.line {
    width: 100%;
    height: 1px;
    background-color: #ddd;
    margin-bottom: 12px;
}

.end-card > a {
    position: relative;
    align-self: flex-start;
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-weight: 500;
    padding-bottom: 3px;
}

.end-card > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1.5px;
    background-color: black;
    transition: width 0.3s ease;
}

.end-card > a:hover::after {
    width: 100%;
}

.more-templates {
    margin-top: 30px;
    padding: 15px 30px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    align-self: flex-start;
}


.end-socials {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.end-socials a {
    text-decoration: none;
    font-size: 30px;
    color: #000000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.end-bottom {
    width: 90%;
    margin: 40px auto 50px;
    padding-top: 25px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    color: #888;
}

.end-bottom a {
    color: #888;
    text-decoration: none;
}

.end-bottom a:hover {
    color: black;
}

.end-right {
    display: flex;
    gap: 30px;
}
