*{
    margin: 0;
    padding: 0;
}
body{
    background-color: rgb(0, 0, 5);
    font-family: "Ubuntu", sans-serif;
    color: #fff;
}
nav{
    display: flex;
    background-color: rgb(6, 6, 31);
    box-shadow: 10px 10px 54px rgba(41, 40, 58, 0.6);
    justify-content:space-around;
    align-items: center;
    height:9vh;
    text-decoration: none;
    z-index: 999;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}
nav ul{
    display: flex;
    justify-content: center;
    text-decoration: none;

}
nav ul li{
    list-style:none;
    color: #fff;
    margin: 0 23px;
}
nav ul li a{
    color: #fff;
    text-decoration: none;
    font-family: "Ubuntu", sans-serif;;
}
nav ul li a:hover{
    color: lavender;
} 
 
.left{
    font-size:32px;
}
/* Projects Section */
.projects {
    padding: 40px 20px;
    text-align: center;
    margin-top: 120px;
}

.projects h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: rgb(187, 182, 17); 
}

.carousel {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 0 auto;
    width: 95%;
}

.card-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.card {
    background-color:rgb(3, 3, 17);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
    min-width: 300px;
    transition: transform 0.3s, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card img {
    max-width: 100%;
    border-radius: 8px;
}

.card h3 {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: rgb(187, 182, 17);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.left-btn {
    left:10px;
}

.right-btn {
    right: 10px;
}

/* Common hover style */
.card:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Unique hover effects for each card */
.card:nth-child(1):hover {
    box-shadow: 10px 10px 54px rgba(0, 255, 0, 0.6); 
}

.card:nth-child(2):hover {
    box-shadow: 10px 10px 54px rgba(0, 0, 255, 0.6); 
}

.card:nth-child(3):hover {
    box-shadow: 10px 10px 54px rgba(0, 255, 0, 0.6); 
}

.card:nth-child(4):hover {
    box-shadow: 10px 10px 54px rgba(0, 0, 255, 0.6); 
}

.card:nth-child(5):hover {
    box-shadow: 10px 10px 54px rgba(0, 255, 0, 0.6); 
}

.card:nth-child(6):hover {
    box-shadow: 10px 10px 54px rgba(0, 0, 255, 0.6);  
}
.card:nth-child(7):hover {
    box-shadow: 10px 10px 54px rgba(0, 255, 0, 0.6); 
}

.card:nth-child(8):hover {
    box-shadow: 10px 10px 54px rgba(0, 0, 255, 0.6);  
}

/* Responsive Design */
@media (max-width: 768px) {
    header .menu {
        display: none;
    }

    .carousel {
        width: 100%;
    }

    .card {
        min-width: 260px;
    }
}
.footer{
    background-color:rgb(3, 3, 17);
    width: 100%; 
    height:150%;
    margin-top: 35px;
    margin-bottom: 25px;
}
.centerfooter{
    background-color:rgb(3, 3, 17);
    text-align: center;
    justify-content: center;
}

.containerfooter{
    display: flex;
    justify-content: space-around;
    margin-top: 45px;
    
}
.centerfooter h1{
    padding-top: 38px;
}
.centerfooter p{
    color: #b0b0b0;
    line-height:1.5rem;
    word-spacing:3px;
    margin-top: 10px;
    
    
}

.leftfooter p{  
    color: #b0b0b0;
    margin-bottom: 25px;

}
.rightfooter{
    display:inline;
    width:30%;
    text-align: start;
    padding: 25px 15px;
    box-shadow: 20px 20px 34px rgba(0, 0, 0, 0.03);
    border-radius:10px;
    margin-bottom: 35px;
    background-color: rgb(6, 6, 27);

}
.rightfooter:hover{
    box-shadow: 10px 10px 54px rgba(41, 40, 58, 0.6);

}
.rightfooter #namein,#textin{
    display:flex;
    height: 40px;
    width:30vh;
    border-radius: 10px;
    margin-top: 20px;
    margin-right: 15%;
    justify-content: space-between;
    text-align: center;
    background-color: #b0b0b0;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    border:0;
}
.rightfooter #textcm{
    margin-top: 10px;
}
.rightfooter #btn{
    margin-top:20px;
    border: 0;
    background: none;
    color: #1a1a1a;
    background-color:  rgb(187, 182, 17);
    height:6vh;
    width:40%;
    border-radius:5px;
    font-size: 16px;
    font-family: "ubuntu","sans-sarif";
    cursor: pointer;
    word-spacing:5px;
}
.rightfooter #btn:hover{
    background-color:rgb(230, 225, 100) ;
    
}