/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background-color: #0c1b33;
    color: #ffffff;
    line-height: 1.6;
    scroll-behavior: smooth;
    font-size: 16px;
  }
  
  /* Header */
  header {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #13294b;
    border-bottom: 3px solid #f4c10f;
  }
  
  .profile-pic {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid #f4c10f;
    margin-bottom: 1rem;
  }
  
  header h1 {
    font-size: 2.5rem;
    color: #f4c10f;
  }
  
  header p {
    font-size: 1.2rem;
    color: #e0e0e0;
  }
  
  /* Navigation */
  nav {
    background-color: #1a2f4d;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
  }
  
  nav a:hover {
    background-color: #f4c10f;
    color: #0c1b33;
    border-radius: 5px;
  }
  
  /* Sections */
  section {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: auto;
  }
  
  section h2 {
    color: #f4c10f;
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  ul {
    list-style: none;
    padding-left: 0;
  }
  
  ul li {
    margin: 1rem 0;
    font-size: 1.1rem;
  }
  
  /* Skills Section */
.skills {
    text-align: center;
  }
  
  .skill-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .skill-icons img {
    width: 60px;
    height: 60px;
    object-fit: contain;
  }
  
  .skill-icons div {
    background-color: #1a2f4d;
    padding: 1.5rem;
    border: 2px solid #f4c10f; /* Gold border */
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .skill-icons div:hover {
    transform: scale(1.1);
    background-color: #243d63;
    box-shadow: 0 0 12px #f4c10f;
  }
  
  
  /* Contact */
  .contact p {
    margin-bottom: 0.5rem;
  }
  
  .contact h3 {
    margin-top: 2rem;
    color: #f4c10f;
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #13294b;
    color: #aaaaaa;
    font-size: 0.9rem;
    border-top: 2px solid #f4c10f;
  }
  
  /* Animations */
  .fade-in {
    animation: fadeIn 1.2s ease-in;
  }
  
  .slide-in {
    animation: slideIn 1s ease-in-out;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes slideIn {
    from { opacity: 0; transform: translateX(-100%); }
    to { opacity: 1; transform: translateX(0); }
  }
  
  /* Media Queries for Responsive Design */
  @media (max-width: 768px) {
    header h1 {
      font-size: 2rem;
    }
  
    nav {
      flex-direction: column;
      gap: 0.5rem;
    }
  
    .skill-icons {
      gap: 1rem;
    }
  
    section {
      padding: 2rem 1rem;
    }
  }
.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
  padding: 10px;
}

.project-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.fade-in {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
  
  @media (max-width: 480px) {
    .profile-pic {
      width: 100px;
      height: 100px;
    }
  
    header h1 {
      font-size: 1.8rem;
    }
  
    nav a {
      padding: 0.5rem;
      font-size: 0.95rem;
    }
  
    @media (max-width: 480px) {
        .skill-icons div {
          width: 80px;
          height: 80px;
          padding: 1rem;
        }
      
        .skill-icons img {
          width: 40px;
          height: 40px;
        }
      }
      
  }
  