*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* Custom Scrollbar with RGB Gradient */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #6bff3a, #94ff3d, #3dff8f, #6bff3a);
  border-radius: 10px;
  background-size: 200% 200%;
  animation: gradient-animation 5s ease infinite;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.audio {
  display: block;
  margin: 0 auto;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px #94ff3d, 0 0 20px #94ff3d, 0 0 30px #94ff3d, 0 0 40px #94ff3d;
  border-radius: 29px;                             
}

body{
  position: relative;
  height: fit-content;
  width:100%;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  padding: 30px 0;
  justify-content: center;
  align-items: center;
}

.back-vid {
  position: fixed;
  left: 0;
  top: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  object-fit: cover;
  background-color: #000;
}

@media (max-width: 768px) {
  .back-vid {
    position: fixed;
    width: auto;
    height: 100vh;
    min-height: 100%;
    object-position: center;
  }
  
  body {
    background-color: #000;
  }
}

.main-section{
  width: 90%;
  min-height: 90vh;
  background-color:#0e121785;
  backdrop-filter: blur(10px);
  border-radius: 50px;
  box-shadow: 5px 5px 20px 1px #94ff3d;
  overflow: hidden;
  padding-bottom: 50px;
}

nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px;
}

nav h1{
  color: white;
  font-size: 30px;
  font-weight: 900;
}

.navigation {
  display: flex;
}

.navigation a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: 0.2s;
  padding: 0px 25px;
}

.navigation a:hover,
.navigation a.active {
  color: #94ff3d;
  text-decoration: underline;
}

.menu-btn {
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  z-index: 2;
}

.menu-btn::before {
  content: '';
  position: absolute;
  width: 1.5rem;
  height: 3px;
  background: #fff;
  transform: translateY(-10px);
  box-shadow: 0 10px 0 #fff;
  transition: 0.2s;
}

.menu-btn::after {
  content: '';
  position: absolute;
  width: 1.5rem;
  height: 3px;
  background: #fff;
  transform: translateY(10px);
  transition: 0.2s;
}

.menu-btn.active::before {
  transform: translateY(0) rotate(45deg);
  box-shadow: 0 0 0 #fff;
}

.menu-btn.active::after {
  transform: translateY(0) rotate(-45deg);
}

.hero{
  display: flex;
  align-items: center;
  padding: 30px 5%;
  color: white;
  justify-content: center;
  text-align: center;
}

.hero-info {
  max-width: 800px;
}

.hero h1{
  font-size: 60px;
  margin-bottom: 20px;
}

.hero p{
  max-width: 700px;
  margin: 0 auto;
  margin-top: 7px;
  margin-bottom: 20px;
  font-size: 18px;
}

/* Glowing text effect for main heading */
.glow-text {
  position: relative;
  color: #fff;
  text-shadow: 0 0 10px rgba(107, 255, 58, 0.7),
             0 0 20px rgba(107, 255, 58, 0.7),
             0 0 30px rgba(107, 255, 58, 0.7),
             0 0 40px rgba(107, 255, 58, 0.7),
             0 0 70px rgba(107, 255, 58, 0.7);
  background: linear-gradient(90deg, #4acfee, #fff, #4acfee);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShine 5s ease-in-out infinite;
}

@keyframes textShine {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #4acfee, #f130e1, #4acfee);
  border-radius: 10px;
  background-size: 200% 200%;
  animation: gradient-animation 5s ease infinite;
}
/* Projects Container and Cards */
.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px 5%;
}

.project-card {
  width: 350px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(74, 207, 238, 0.3);
}

.project-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.1);
}

.project-info {
  padding: 20px;
  color: white;
}

.project-info h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #94ff3d;
}

.project-info p {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.project-links {
  display: flex;
  gap: 15px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #94ff3d;
  border: 2px solid #94ff3d;
  border-radius :#94ff3d;
  box-shadow: 0 0 10px #94ff3d;
  font-size: 14px;
  font-weight: 700;
  color: #0e1217;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  text-align: center;
}

.btn:hover {
  background-color: transparent;
  box-shadow: none;
  color: #94ff3d;
}

.btn.secondary {
  background-color: transparent;
  color: #94ff3d;
  box-shadow: none;
}

.btn.secondary:hover {
  background-color: #94ff3d;
  color: #0e1217;
  box-shadow: 0 0 10px #94ff3d;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .project-card {
    width: 300px;
  }
}

@media (max-width: 980px) {
  body {
    height: fit-content;
    overflow: auto;
  }
  
  .main-section {
    height: auto;
    min-height: 90vh;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 20px 5%;
  }
  
  .hero h1 {
    font-size: 40px;
  }
  
  .project-card {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .menu-btn {
    display: flex;
  }
  
  .navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(14, 18, 23, 0.9);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    z-index: 1;
  }
  
  .navigation.active {
    right: 0;
  }
  
  .navigation a {
    display: block;
    font-size: 24px;
    margin: 20px 0;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .project-card {
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 20px;
  }
  
  nav h1 {
    font-size: 24px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .project-img {
    height: 180px;
  }
  
  .project-info h3 {
    font-size: 20px;
  }
  
  .project-info p {
    font-size: 14px;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 12px;
  }
}
