/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
  }
  
  a {
    text-decoration: none;
    color: #0077cc;
  }
  
  a:hover {
    color: #005fa3;
  }
  
  header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .navbar {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }
  
  .logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #0077cc;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
  }
  
  .nav-link {
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    position: relative;
  }
  
  .nav-link.active,
  .nav-link:hover {
    color: #005fa3;
  }
  
  .nav-link.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #005fa3;
    bottom: -4px;
    left: 0;
    border-radius: 2px;
  }
  
  /* Hero Section */
  .hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1rem;
    gap: 2rem;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-text h1 span {
    color: #0077cc;
  }
  
  .hero-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #555;
  }
  
  .btn {
    background-color: #0077cc;
    color: white;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  .btn:hover {
    background-color: #005fa3;
  }
  
  .hero-image img {
    width: 350px;
    border-radius: 10px;
    object-fit: cover;
  }
  
  /* Sections */
  section {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1rem;
    text-align: center;
  }
  
  h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #0077cc;
  }
  
  /* About Section */
  .about-section p {
    max-width: 700px;
    margin: auto;
    font-size: 1.1rem;
    color: #444;
  }
  
  /* Skills Section */
  .skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  
  .skill {
    width: 250px;
    text-align: left;
  }
  
  .skill h3 {
    margin-bottom: 0.5rem;
  }
  
  .skill-bar {
    background-color: #ddd;
    border-radius: 25px;
    height: 20px;
    overflow: hidden;
  }
  
  .skill-level {
    background-color: #0077cc;
    height: 100%;
    width: 0;
    border-radius: 25px;
    transition: width 1.5s ease-in-out;
  }
  
  /* Projects Section */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 2rem;
  }
  
  .project-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 1rem;
    text-align: left;
    transition: transform 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-8px);
  }
  
  .project-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
  }
  
  .project-card h3 {
    margin-bottom: 0.5rem;
    color: #0077cc;
  }
  
  .project-card p {
    color: #555;
  }
  
  /* Contact Section */
  .contact-container {
    max-width: 700px;
    margin: auto;
    text-align: left;
  }
  
  .social-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .social-links a {
    font-weight: 600;
    color: #0077cc;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
  }
  
  .social-links a:hover {
    border-color: #005fa3;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    resize: vertical;
  }
  
  .contact-form button {
    align-self: flex-start;
    background-color: #0077cc;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: #005fa3;
  }
  
  /* Back to Top Button */
  #backToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background-color: #0077cc;
    color: white;
    border: none;
    padding: 0.7rem 1rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  }
  
  #backToTopBtn:hover {
    background-color: #005fa3;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .hero-section {
      flex-direction: column;
      text-align: center;
    }
  
    .hero-image img {
      width: 250px;
      margin-top: 1.5rem;
    }
  
    .skills-container {
      justify-content: center;
    }
  
    .contact-container {
      padding: 0 1rem;
    }
  }
  
