@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&display=swap');
*{
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;  
}
header {
    background-color:black;
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 200px ;

}
.Logo img{
    position: absolute;
    height: 150px;
    width: auto;
    left: 100px;
    top: -20px;
}
.Navigation a{
    text-decoration: none;
    color:white;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.1em;
    padding-left: 30px;
}
.Navigation a:hover{
    color: blanchedalmond;
}

section{

    padding: 100px 200px;
    background-color: black;

}

.Main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(Images/Home.png) no-repeat;
    background-size: cover;
    background-position: center;
    
} 
.Main h2 {
    color:#fff;
    font-size: 3em;
    font-weight: 500;
}
.Main h2 span{
    display: inline-block;
    margin-top: 10px;
    color: blanchedalmond;
    font-size: 1.5em;
    font-weight: 100;
}
.Main h3 {
    color: #fff;
    font-size: 2em;
    font-weight: 100;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 30px;
}
.Main h4{
    color: #fff;
    font-size: 0.9em;
    font-weight: 30;
    letter-spacing:0.2px;
    margin-top: 10px;
    margin-bottom: 30px;
}
.Main-btn {
    color: black;
    background-color: blanchedalmond;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    display: inline-block;
    padding : 0.9375em 2.1875em;
    letter-spacing: 1px;
    border-radius: 15px;
    margin-bottom: 40px;
    transition: 0.7s ease;
}
.Main-btn:hover{
    background-color: bisque;
    transform: scale(1.1 , 1.1);
    box-shadow: 0 0 10px rgba(255, 235, 205, 0.8), 
    0 0 20px rgba(255, 235, 205, 0.6), 
    0 0 30px rgba(255, 235, 205, 0.4);
}
.Social-icons a{
    color: #fff;
    padding-right: 30px;
    font-size: 2em;
}
.Title{
    display: flex;
    justify-content: center;
    color: blanchedalmond;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 30px;

}
.Content{
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;

}
.Card{
    background-color: blanchedalmond;
    width: 19em;
    box-shadow: 0 0 10px rgba(255, 235, 205, 0.8), 
    0 0 20px rgba(255, 235, 205, 0.6), 
    0 0 30px rgba(255, 235, 205, 0.4);
    padding: 25px;
    margin: 15px;
    transition: 0.7s ease;
    

}
.Card:hover{
    transform: scale(1.1 , 1.1);

}
.Icon{
    color: black;
    font-size: 8em;
    text-align: center;
}
.Info{
    text-align: center;

}
.Info h3{
    color: black;
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
}
.Projects .Content {
    margin-top: 30px;
}
.Project-card{
    background-color: blanchedalmond;
    border: 1px solid #fff;
    min-height: 14em;
    width: 19em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    transition: 0.7s ease;

}
.Project-card:hover {
transform: scale(1.1 , 1.1);
}
.Project-card:hover .Project-img {
   opacity: 0.9;
    }
.Project-img img{
    width: 100%
    
}
.Project-info{
    padding: 1em;
}
.Project-Category{
    font-size: 0.8em;
}
.Project-name{
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 10px;
}
.More-details{
    text-decoration: none;
    color: #DC143C;
    
}
.More-details:hover{
    text-decoration: none;
    color:#B22222 ;
}
.Contact .Info{
    font-size: 4.5em;
}
.Footer{
    background-color: black;
    color: blanchedalmond;
    padding: 3em;
    display: flex;
    justify-content: space-between;
}
.Footer-title{
    font-size: 1.3em;
    font-weight: 600;
}
.Footer-title span{
color: #B22222;
}
@media (max-width: 430px) {
    header {
        padding: 10px 20px;
    }

    .Logo img {
        height: 100px;
        left: 20px;
        top: 0;
    }

    .Navigation a {
        font-size: 0.9em;
        padding-left: 10px;
    }

    section {
        padding: 80px 20px;
    }

    .Main h2 {
        font-size: 2em;
    }

    .Main h2 span {
        font-size: 1.2em;
    }

    .Main h3 {
        font-size: 1.5em;
    }

    .Main h4 {
        font-size: 0.8em;
    }

    .Main-btn {
        font-size: 1em;
        padding: 0.8em 2em;
    }

    .Social-icons a {
        font-size: 1.5em;
        padding-right: 15px;
    }

    .Title {
        font-size: 1.8em;
    }

    .Card, .Project-card {
        width: 100%;
        margin: 10px 0;
    }

    .Project-card {
        width: 100%;
    }

    .Contact .Info {
        font-size: 2em;
    }

    .Footer {
        flex-direction: column;
        text-align: center;
    }

    .Footer-title {
        font-size: 1em;
    }
    .Card, .Project-card {
        width: calc(50% - 20px); /* Adjust card width to fit two cards in a row */
        margin: 10px; /* Add margin between cards */
    }
}
/* Media Query for iPad Pro and Air */
@media (min-width: 768px) and (max-width: 1024px) {
    header {
        padding: 10px 40px;
    }

    .Logo img {
        height: 100px;
        left: 20px;
        top: 0;
    }

    .Navigation a {
        font-size: 1em;
        padding-left: 20px;
    }

    section {
        padding: 80px 40px;
    }

    .Main h2 {
        font-size: 2.5em;
    }

    .Main h2 span {
        font-size: 1.5em;
    }

    .Main h3 {
        font-size: 2em;
    }

    .Main h4 {
        font-size: 1em;
    }

    .Main-btn {
        font-size: 1.1em;
        padding: 0.8em 2.5em;
    }

    .Social-icons a {
        font-size: 2em;
        padding-right: 20px;
    }

    .Title {
        font-size: 2em;
    }

    .Content {
        flex-wrap: wrap; /* Allow cards to wrap to the next row */
    }

    .Project-card {
        width: calc(33.33% - 20px); /* Set width for three cards in a row */
        margin: 10px; /* Add margin between cards */
    }

    .Project-card:nth-child(3n+1) {
        margin-left: 0; /* Remove left margin for the first card in each row */
    }

    .Project-card:nth-child(3n) {
        margin-right: 0; /* Remove right margin for the last card in each row */
    }

    .Contact .Info {
        font-size: 2.5em;
    }

    .Footer {
        padding: 3em 40px;
    }

    .Footer-title {
        font-size: 1.2em;
    }
}
