/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --bg-dark: #0e0e10;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.2);
    --text-main: #f5f5f5;
    --accent: #d4af37;
    --bg-dark: #0e0e10;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --border-glass: rgba(255, 255, 255, 0.2);
  --text-main: #f5f5f5;
  --accent: #feea58;
  }
  body {
    font-family: "Roboto", sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  .video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
  }
  
  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* NAVBAR */
  .navbar {
    display: flex;
  justify-content: space-between;   
  align-items: center;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .nav-links {
    list-style: none;
  display: flex;
  gap: 20px;
  transition: all 0.3s ease-in-out;
  }
  
  .nav-links li a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  
  .nav-links li a:hover {
    background-color: #575757;
    color: wheat;
  }
  
  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .hamburger .line {
    height: 3px;
    width: 25px;
    background-color: #fff;
    margin: 4px 0;
  }
  .logo{
    margin-bottom: 5px;
  }
  .logo img{
    height: 100%;
  }
  
  /* ABOUT SECTION */
  #about {
    padding: 2rem;
    display: flex;
    justify-content: center;
  }
  
  .about-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.467);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    flex-wrap: wrap;
  }
  
  .profile-picture {
    flex: 1 1 250px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .profile-picture img {
    width: 100%;
    max-width: 200px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  
  .about-content {
    flex: 2 1 400px;
  }
  
  .about-content ul {
    padding-left: 1rem;
  }
  
  .about-content ul li {
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    color: black;
    transition: 0.6s;
  }
  .about-content ul li:hover{
    background: rgb(239, 230, 212);
    font-size: xx-large;
  }
  /* PROJECTS */
  .showcase-section {
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
  }
  
  .title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent);
    text-shadow: 3px 1px rgba(155, 155, 155, 0.732);
  }
  
  .projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
    border-radius: 20px;
  }
  
  .project-card {
    /* background: var(--glass-bg); */
    background: rgba(255, 255, 255, 0.467);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(40px);
  }
  
  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  }
  
  .project-card h2 {
    color: var(--accent);
    margin-bottom: 1rem;
    
    text-shadow: 0.5px 1.5px rgba(84, 84, 84, 0.704);
  }
  
  .project-card img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    margin-bottom: 1rem;
  }
  
  .project-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, var(--accent), #fff700);
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(255, 229, 59, 0.4);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
  }
  
  .project-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    transform: skewX(-25deg);
    transition: 0.7s;
    text-decoration: none;
  }
  
  .project-btn:hover::before {
    left: 130%;
    text-decoration: none;
  }
  
  .project-btn:hover {
    /* transform: scale(1.05); */
    box-shadow: 0 10px 20px rgba(255, 229, 59, 0.6);
    text-decoration: none;
  }


  /* ----------------------Conatact------------------ */
  #contact{
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: rgba(255, 255, 255, 0.467); */
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    margin-top: 2rem;
  }
.sub-title1 {
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: 500;
    color: #000000;
}

.contact-left {
    flex-basis: 50%;

}

.contact-right {
    flex-basis: 50%;
}

.contact-left p {
    margin-top: 30px;
    font-size: 15px;
}

.contact-left p i {
    color: #ffc400;
    margin-right: 15px;
    font-size: 20px;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    text-decoration: none;
    margin-right: 50px;
    color: #ffffff;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover {
    color: linear-gradient(135deg, var(--accent), #fff700);
    transform: translateY(-5px);
}

.contact-right form {
    width: 100%;
}

form input,
form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}

form .btn2 {
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

.copyright {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
    font-weight: 300;
    margin-top: 20px;
}

  
  
  /* FOOTER */
  footer {
    text-align: center;
    padding: 20px;
    background: #222;
    color: #fff;
    margin-top: 3rem;
  }
  
  /* MOBILE NAV */
  @media (max-width: 768px) {
    .nav-links {
      position: fixed;
      top: 60px;
      left: -100%;
      /* right: -100%; */
      flex-direction: column;
      width: 40%;
      height: 70vh;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(30px);
      -webkit-backdrop-filter: blur(30px);
      padding-top: 30px;
      transition: all 0.3s ease-in-out;
    }
  
    .nav-links.active {
      left: 0;
    }
  
    .hamburger {
      display: flex;
    }
  
    .nav-links li {
      margin: 20px 0;
      text-align: center;
    }
    .contact-left,
    .contact-right {
        flex-basis: 100%;
    }
  }
  
  /* Loader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0e0e10;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  border: 6px solid rgba(255, 255, 255, 0.1);
  border-top: 6px solid var(--accent);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1.2s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
