body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #121212;
    color: white;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #000;
}
header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #222;
    text-shadow: #dddddd;
    height: fit-content;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center; /* Center me lane ke liye */
    padding: 0;
}

nav ul li {
    margin: 0 20px;
    position: relative; /* Hover effect ke liye */
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 15px;
    transition: color 0.3s ease-in-out;
}

/* Hover Effect */
nav ul li a:hover {
    color: #ff5722;
}

/* Underline Animation */
nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background-color: #ff5722;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

nav ul li a:hover::after {
    transform: scaleX(1);
}


#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90vh;
    position: relative;
}

#threejs-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-text {
    position: relative;
    text-align: center;
    z-index: 10;
    width: 100%;
    padding-top: 20px;
}
.hero-text h1 {
    margin: 0;
    padding-top: 40px;
    position: relative;
    text-align: center;
    color: white;
    transform: none; /* remove rotation */
  }  

section {
    padding: 50px;
    text-align: center;
}
#projects h2{
    font-size: 32px;
    margin-bottom: 30px;
    color: whitesmoke;
    position: relative;
    z-index: 2;
}

.project {
    margin: 20px;
    padding: 20px;
    background: #222;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 300px;
    text-align: left;
}
.project a {
    text-decoration: none;
    display: inline-block; /* Agar button ki tarah behave karna hai to */
    color: inherit;
}

.project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Projects boxes ko center me lane ke liye */
    gap: 20px; /* Boxes ke beech gap dene ke liye */
    max-width: 1000px;
    margin: 0 auto; /* Adjust according to your design */
}
.project a .project-btn {
    background-color: #ff5722;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}


.project-btn:hover {
    background-color: #e64a19;
    opacity: 0.9;
}

#contact {
    display: flex;
    justify-content: center;
}

form input, form textarea {
    display: block;
    width: 100%;
    margin: 10px auto;
    padding: 10px;
}
form button {
    display: block;
    width: 80%;
    margin: 10px auto;
    padding: 10px;
    background: #222;
    color: white;
    border: none;
    border-radius: 5px;
}
form button:hover {
    background: white;
    color: #222;
}
footer {
    content: center;
    background-color: #222;
    color: white;
    text-align: center;
    padding: 0.5px 0;
    margin-top: auto;
}
.footer h2 {
    margin-bottom: 5px;
    font-size: 2.5px;
}
.footer p {
    font-size: 1px;
    opacity: 0.7;
}
.footer a {
    color: white;
    text-decoration: none;
}
@media screen and (min-width: 80rem) {
    .container {
      margin: 1em 2em;
    }
  }

  
  @keyframes move {
    0% {
      offset-distance: 0%;
    }
    100% {
      offset-distance: 100%;
    }
  }
  canvas#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.custom-shape-divider-bottom-1743564389 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1743564389 svg {
    position: relative;
    display: block;
    width: calc(110% + 1.3px);
    height: 140px;
}

.custom-shape-divider-bottom-1743564389 .shape-fill {
    fill: #8A1F1F;
}