* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #121212;
  color: #e0e0e0;
}

a,
button {
  transition: all 0.3s ease-in-out;
}

#bgvideo video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  object-fit: cover;
}

#navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  width: 100%;
  backdrop-filter: blur(10px);
  padding: 0 2rem;
  position: absolute;
  z-index: 100;
}

.links {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #2c2846d5;
  height: 45px;
  width: auto;
  border-radius: 30px;
  box-shadow: 0 0 15px #3f396386;
  backdrop-filter: blur(10px);
}

.links a {
  padding: 20px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease, transform 0.2s ease;
}

.links a:hover {
  color: #00adb5;
  transform: scale(1.05);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #d0ff00;
  text-shadow: 0 0 10px #b0ce0aa6;
}

.main-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  color: white;
}

.name {
  font-size: 5rem;
  font-weight: 700;
  padding-bottom: 20px;
}

.tag {
  font-size: 20px;
  color: #9ca3af;
  padding-bottom: 40px;
}

.social-icons {
  display: flex;
  flex-direction: row;
  color: #9ca3af;
  gap: 40px;
  font-size: 2rem;
}

.social-icons a {
  color: #9ca3af;
  text-decoration: none;
}

.social-icons i:hover {
  color: #00adb5;
  text-shadow: 0 0 10px #00adb5;
  transform: scale(1.2);
  transition: 0.3s ease;
}

.about {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(12, 12, 12, 0.85);
  color: #e0e0e0;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.about-container {
  display: flex;
  flex-direction: row;
  gap: 4rem;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  width: 100%;
}

.about-left {
  flex: 1;
  display: flex;
  justify-content: center;
}

.profile-pic {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #00adb5;
  box-shadow: 0 0 25px #00adb580;
  transition: transform 0.3s ease;
}

.profile-pic:hover {
  transform: scale(1.05) rotate(2deg);
}

.about-right {
  flex: 2;
}

.about h2 {
  font-size: 3rem;
  color: #00adb5;
  margin-bottom: 1rem;
  text-shadow: 0 0 8px #00adb545;
}

.about p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #ccc;
}

.about-stats {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat {
  font-size: 1rem;
  color: #9ca3af;
}

.stat span {
  color: #00adb5;
  font-weight: bold;
}

.education-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 4rem 2rem;
  background-color: rgba(
    18,
    18,
    18,
    0.95
  ); /* Deep black with a touch of transparency */
  color: #e0e0e0;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #00adb5;
}

.edu-container {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.edu-card {
  background-color: #393e46;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(0, 173, 181, 0.2);
  transition: transform 0.3s ease;
}

.edu-card:hover {
  transform: scale(1.02);
}

.skills-section {
  min-height: 100vh;
  background: linear-gradient(to right, #121212, #1c1c1c);
  padding: 5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #e0e0e0;
}

.section-title {
  font-size: 2.5rem;
  color: #00adb5;
  margin-bottom: 0.5rem;
}

.sub-text {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 2rem;
}

.skills-battle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1000px;
}

.skill-tile {
  background: #1f1f1f;
  padding: 1.5rem;
  text-align: center;
  font-size: 1.1rem;
  border-radius: 20px;
  font-weight: 600;
  color: #00adb5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 0 10px #00adb548;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px #00adb5a1;
}

.glow {
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.glow::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  background: linear-gradient(45deg, #00adb5, #393e46);
  z-index: -1;
  filter: blur(8px);
  border-radius: 20px;
}

.site-footer {
    background-color: #121212;
    padding: 2rem;
    color: #9ca3af;
    text-align: center;
    position: relative;
    z-index: 10;
    border-top: 1px solid #2c2c2c;
    box-shadow: 0 -5px 20px rgba(0, 173, 181, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00ADB5;
    text-shadow: 0 0 10px #00ADB5;
}

@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}


@media (max-width: 768px) {
  .name {
    font-size: 3rem;
  }

  .tag {
    font-size: 1rem;
  }

  .about h2 {
    font-size: 2rem;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-content {
  animation: fadeInUp 1.5s ease forwards;
}

@media (max-width: 600px) {
  .links {
    flex-direction: column;
    height: auto;
    padding: 0.5rem;
    width: auto;
  }

  nav {
    flex-direction: column;
    height: auto;
    gap: 1rem;
  }
}
