* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #0f172a;
  color: white;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #222;
    color: #fff;
    position: fixed; /* 🔁 CHANGED: from relative to fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  
  .logo {
    font-size: 1.8rem;
    font-weight: bold;
  }
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  .nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
  }
.nav-links a:hover,
.nav-links .active {
  color: #00eaff;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 10% 50px; /* 🔁 Added top padding for space below fixed header */
    min-height: 100vh;
    flex-wrap: wrap;
  }
  
  
.content {
  max-width: 600px;
}
.content h3 {
  font-size: 24px;
  margin-bottom: 10px;
}
.content h1 {
  font-size: 48px;
  font-weight: bold;
}
.content h2 {
  font-size: 24px;
  margin: 10px 0 20px;
}
.content h2 span {
  color: #00eaff;
}
.content p {
  margin-bottom: 20px;
  color: #ccc;
}
.socials {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.socials a {
  color: #00eaff;
  font-size: 18px;
  border: 1px solid #00eaff;
  padding: 8px;
  border-radius: 50%;
  transition: 0.3s;
}
.socials a:hover {
  background-color: #00eaff;
  color: #0f172a;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #00eaff;
  color: #0f172a;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 0 10px #00eaff;
  transition: 0.3s;
}
.btn:hover {
  background-color: #0f172a;
  color: #00eaff;
  border: 1px solid #00eaff;
}

.image-container {
  position: relative;
}
.hexagon {
  width: 300px;
  height: 350px;
  background: #00eaff;
  clip-path: polygon(
    50% 0%, 
    93% 25%, 
    93% 75%, 
    50% 100%, 
    7% 75%, 
    7% 25%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px #00eaff;
}
.hexagon img {
  width: 90%;
  height: auto;
  border-radius: 10px;
}

@media (max-width: 768px) {
    .hero {
      flex-direction: column-reverse;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 40px 5%;
    }
    .logo {
        font-size: 1.5rem;
        font-weight: bold;
      }
    .content {
      max-width: 100%;
      align-items: center;
    }
  
    .socials {
      justify-content: center;
    }
  
    .image-container {
      margin-bottom: 30px;
    }
  
    .hexagon {
      width: 220px;
      height: 260px;
    }
  
    .hexagon img {
      width: 90%;
    }
  }
  
  /* Hamburger Icon */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
    }
  
    .nav-links {
      position: absolute;
      top: 70px;
      right: 0;
      background: #333;
      width: 100%;
      flex-direction: column;
      align-items: center;
      display: none;
    }
  
    .nav-links.show {
      display: flex;
    }
  
    .nav-links li {
      padding: 15px 0;
      width: 100%;
      text-align: center;
      border-top: 1px solid #444;
    }
  
    .nav-links li a {
      display: block;
      width: 100%;
    }
  }

  /* Animation Keyframes */
@keyframes fadeSlideIn {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Apply to content and image */
  .content, .image-container {
    opacity: 0;
    animation: fadeSlideIn 1s ease forwards;
  }
  
  /* Add delay for staggered effect */
  .image-container {
    animation-delay: 0.5s;
  }
  

  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-100%);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(100%);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  .hero h2 {
    opacity: 0;
    animation: slideInLeft 1s ease-out forwards;
    animation-delay: 0.3s;
  }
  
  .hero p {
    opacity: 0;
    animation: slideInRight 1s ease-out forwards;
    animation-delay: 0.6s;
  }
    .hero .btn {
        opacity: 0;
        animation: slideInLeft 1s ease-out forwards;
        animation-delay: 0.9s;
    }   

   
#about {
    background-color: #1e1e1e;
    color: #fff;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  #about .container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 100vh;
  }
  
  #about .sidebar {
    width: 35%;
    background-color: #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
  }
  
  #about .sidebar .profile-pic {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #f04e4e;
    margin-bottom: 20px;
  }
  
  #about .sidebar h1 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  #about .sidebar .role {
    color: #f04e4e;
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  /* ✅ Updated Social Icons Section */
  #about .sidebar .socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
  }
  
  #about .sidebar .socials a {
    color: #0ff;
    font-size: 24px;
    border: 2px solid #0ff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.9s ease;
  }
  
  #about .sidebar .socials a:hover {
    background-color: #0ff;
    color: #111;
  }
  
  #about .content {
    width: 65%;
    background-color: #2a2a2a;
    padding: 50px 40px;
    overflow-y: auto;
  }
  
  #about .fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 5s ease forwards;
    animation-delay: 0.8s;
  }
  
  @keyframes fadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  #about .about h2 {
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  
  #about .about .details {
    color: #f04e4e;
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  #about .about .description {
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 30px;
  }
  
  #about .about .services {
    margin-top: 30px;
  }
  
  #about .about .services h3 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  #about .about .service {
    margin-bottom: 20px;
  }
  
  #about .about .service h4 {
    color: #f04e4e;
    margin-bottom: 5px;
    font-size: 18px;
  }
  
  /* Responsive Design */
  @media screen and (max-width: 991px) {
    #about .container {
      flex-direction: column;
    }
  
    #about .sidebar,
    #about .content {
      width: 100%;
    }
  
    #about .sidebar {
      padding: 30px 15px;
    }
  
    #about .content {
      padding: 30px 20px;
    }
  }
  
  @media screen and (max-width: 480px) {
    #about .sidebar .profile-pic {
      width: 140px;
      height: 140px;
    }
  
    #about .sidebar h1 {
      font-size: 24px;
    }
  
    #about .about h2 {
      font-size: 26px;
    }
  
    #about .about .description,
    #about .about .service p {
      font-size: 14px;
    }
  
    #about .about .services h3 {
      font-size: 20px;
    }
  
    #about .about .service h4 {
      font-size: 16px;
    }
  }
  
  .skills {
    background-color: #1e1e1e;
    color: #fff;
    padding: 180px 80px;
    text-align: center;
  }
  
  .skills-container {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .skills h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #0ff;
    text-transform: uppercase;
  }
  
  .skills-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .skill-item {
    background-color: #2a2a2a;
    padding: 30px;
    width: 220px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.1);
    opacity: 0;
    transition: transform 7s ease, opacity 7s ease, box-shadow 0.5s ease;
  }
  
  /* Hover effect */
  .skill-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2);
  }
  
  /* Icons */
  .skill-item i {
    font-size: 36px;
    color: #0ff;
    margin-bottom: 10px;
  }
  
  .skill-item h4 {
    font-size: 18px;
    color: #fff;
  }
  
  /* Slide-in positions BEFORE becoming active */
.slide-in-right {
    transform: translateX(100px);
  }
  
  .slide-in-left {
    transform: translateX(-100px);
  }
  
  .slide-in-bottom {
    transform: translateY(100px);
  }
  
  /* When visible */
  .skill-item.active {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
  @media (max-width: 768px) {
    .skills-list {
      flex-direction: column;
      align-items: center;
    }
  }
  
  .experience {
    background-color: #1e1e1e;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
  }
  
  .experience-container {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .experience h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #0ff;
    text-transform: uppercase;
  }
  
  .experience-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 15px;
    opacity: 0;
    transform: translateY(100px);
    transition: transform 1s ease, opacity 1s ease;
    text-align: left;
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.1);
  }
  
  .experience-item.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  .experience-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #0ff;
  }
  
  .experience-item h3 span {
    font-size: 16px;
    color: #aaa;
  }
  
  .experience-item ul {
    list-style-type: disc;
    padding-left: 20px;
    line-height: 1.6;
  }
  
  @media (max-width: 768px) {
    .experience-item {
      padding: 20px;
    }
  
    .experience-item h3 {
      font-size: 20px;
    }
  }
  .contact {
    background-color: #1e1e1e;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
  }
  
  .contact-container {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1s ease, transform 1s ease;
  }
  
  .contact-container.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  .contact h2 {
    font-size: 36px;
    color: #0ff;
    margin-bottom: 20px;
    text-transform: uppercase;
  }
  
  .contact p {
    font-size: 16px;
    margin-bottom: 40px;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 15px;
    border: none;
    border-radius: 10px;
    background-color: #2a2a2a;
    color: #fff;
    font-size: 16px;
  }
  
  .contact-form button {
    padding: 15px;
    background-color: #0ff;
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: #00cccc;
  }
  
  @media (max-width: 768px) {
    .contact h2 {
      font-size: 28px;
    }
  
    .contact-form input,
    .contact-form textarea {
      font-size: 14px;
    }
  }
  .contact-info {
    margin-bottom: 30px;
    font-size: 16px;
    color: #0ff;
  }
  
  .contact-info a {
    color: #0ff;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .contact-info a:hover {
    color: #00cccc;
  }
      