/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0d0d0d;
    color: #e0e0e0;
    line-height: 1.6;
    scroll-behavior: smooth;
  }
  
  /* Header layout */
  header.hero {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(to right, #1a1a1a, #111);
    animation: fadeInDown 1s ease-in-out;
  }
  
  .top-left-image img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #3f3f3f;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
    margin-right: 1.5rem;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    animation: fadeInRight 1.2s ease-out;
  }
  
  .hero-text p {
    font-size: 1.2rem;
    color: #bbbbbb;
    animation: fadeInRight 1.5s ease-out;
  }

  .details {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: #bbbbbb;
  }
  
  .details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.3rem 0;
  }
  
  .icon {
    font-size: 1.5rem; /* Increase the icon size */
    color: #00ffff; /* Optional: change icon color to cyan */
  }
  
  
  
  /* Navbar */
  .navbar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    background: #1a1a1a;
    padding: 1rem 0;
    animation: fadeInUp 1s ease-in-out;
  }
  
  .navbar a {
    text-decoration: none;
    color: #aaa;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  .navbar a:hover {
    color: #ffffff;
  }
  
  /* Sections */
  section {
    padding: 3rem 2rem;
    max-width: 800px;
    margin: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSection 1s forwards;
  }
  
  section:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
  }
  
  /* Scroll fade animation */
  @keyframes fadeInSection {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Entrance animations */
  @keyframes fadeInDown {
    0% {
      opacity: 0;
      transform: translateY(-30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInRight {
    0% {
      opacity: 0;
      transform: translateX(-30px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @media (max-width: 768px) {
    /* Stack navbar items vertically */
    .navbar {
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }
  
    /* Make top-right links flow below header to avoid overlap */
    .top-right-links {
      position: static;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-top: 1rem;
    }
  
    .link-item {
      font-size: 0.9rem;
      padding: 8px 12px;
    }
  
    .link-item::after {
      display: none; /* Optional: hide "Available Soon" text on small screens */
    }
  
    /* Stack hero content vertically */
    header.hero {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 2rem 1rem;
    }
  
    .top-left-image {
      margin-bottom: 1rem;
    }
  
    .top-left-image img {
      width: 120px;
      height: 120px;
    }
  
    .hero-text h1 {
      font-size: 1.8rem;
    }
  
    .hero-text p,
    .details {
      font-size: 1rem;
    }
  
    .details p {
      justify-content: center;
    }
  
    section {
      padding: 2rem 1rem;
    }
  }
  
  
  .top-left-image img {
    width: 250px;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 1.5rem;
    position: relative;
    z-index: 1;
    animation: pulseGlow 2s infinite ease-in-out;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4), 
                0 0 25px rgba(0, 255, 255, 0.3);
  }
  
  @keyframes pulseGlow {
    0% {
      box-shadow: 0 0 10px rgba(0, 255, 255, 0.4),
                  0 0 20px rgba(0, 255, 255, 0.2);
    }
    50% {
      box-shadow: 0 0 20px rgba(0, 255, 255, 0.7),
                  0 0 30px rgba(0, 255, 255, 0.5);
    }
    100% {
      box-shadow: 0 0 10px rgba(0, 255, 255, 0.4),
                  0 0 20px rgba(0, 255, 255, 0.2);
    }
  }

  .navbar a {
    text-decoration: none;
    color: #aaa;
    font-weight: bold;
    position: relative;
    transition: color 0.3s;
  }
  
  .navbar a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: cyan;
    box-shadow: 0 0 10px cyan;
    transition: width 0.3s ease-in-out;
  }
  
  .navbar a:hover {
    color: #00ffff;
    text-shadow: 0 0 5px cyan;
  }
  
  .navbar a:hover::after {
    width: 100%;
  }
  
  #social {
    background-color: #222222; /* Dark background to match the site theme */
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
  }
  
  #social h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  #social p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #00ffff; /* Cyan color for emphasis */
  }
  
  .top-right-links {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .link-item {
    background-color: #333; /* Dark background for the links */
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .link-item:hover {
    background-color: #00ffff; /* Cyan background when hovered */
  }
  
  .link-item:visited {
    color: #aaa; /* Change color of visited links */
  }
  
  .link-item::after {
    
    font-size: 0.9rem;
    color: #888;
  }
  
.projects-section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.projects-heading {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 2rem;
  text-align: center;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-card {
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.1);
  transition: transform 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-title {
  font-size: 1.8rem;
  color: #00ffff;
  margin-bottom: 1rem;
}

.project-summary {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.project-link {
  display: inline-block;
  background-color: #00ffff;
  color: #000;
  font-weight: bold;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.project-link:hover {
  background-color: #00cccc;
}


.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 12px;
}

.social-links img {
  width: 36px;
  height: 36px;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1); /* Makes icons white on dark bg */
}

.social-links img:hover {
  transform: scale(1.2);
}
