/* General Styles */
html {
  scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  #about {
    padding-top: 100px; /* Adds space at the top of the "About Me" section */
  }
  body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
  }
  
  .container {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
  }
  
  .section {
    padding: 50px 0;
    border-bottom: 1px solid #333;
  }
  
  h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #f1c40f;
  }
  .highlighted-heading {
    color: #f9f8f5; /* Bright yellow color */
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  h3 {
    margin-top: 15px;
  }
  
  p {
    margin-bottom: 15px;
  }
  
  /* Navigation */
  nav {
    background-color: #1e1e1e;
    color: #fff;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    
  }
  
  nav .logo {
    float: left;
    font-size: 1.5rem;
    
  }
  
  .nav-links {
    float: right;
    list-style: none;
  }
  
  .nav-links li {
    display: inline;
    margin-left: 20px;
  }
  
  .nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: #f1c40f;
  }
  
  /* Portfolio Items */
  .portfolio-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .portfolio-item {
    flex: 1 1 45%;
    background: #333;
    padding: 10px;
    border-radius: 8px;
  }
  
  .portfolio-item img {
    max-width: 100%;
    border-radius: 8px;
  }
  .portfolio-image {
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .portfolio-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
  }
  
  

  /* Footer */
  footer {
    background: #1e1e1e;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
  }
  .education-stairs {
    padding: 20px;
    color: #fff; /* Text color */
    font-family: Arial, sans-serif;
  }
  
  .education-stairs h2 {
    color: #ffcc00; /* Highlighted yellow */
    text-align: center;
    margin-bottom: 20px;
  }
  
  .stairs {
    display: flex;
    flex-direction: column;
    position: relative;
  }
  
  .step {
    background-color: #333; /* Dark card background */
    border: 1px solid #444;
    padding: 15px;
    margin: 0 0 20px 20px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    width: 70%;
  }
  
  .step:nth-child(even) {
    margin-left: 40px; /* Staggered effect for steps */
  }
  
  .step .year {
    color: #ffcc00; /* Yellow year */
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  .step h3 {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
  }
  
  .step p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: #ccc;
  }
  /* Skills Section */
#skills {
    width: 80%;
    margin: 50px auto;
    font-family: Arial, sans-serif;
  }
  
  #skills h2 {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .skill {
    margin: 20px 0;
  }
  
  .skill p {
    margin: 0;
    font-weight: bold;
  }
  
  .progress-bar {
    width: 0; /* Initial width set to 0 for animation */
    height: 20px;
    background-color: #ccc; /* Default background */
    position: relative;
    overflow: hidden;
  }
  
  .progress-bar::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 0; /* Filled width */
    background: linear-gradient(to right, #007bff, #00c6ff); /* Adjust color */
    transition: width 1.5s ease-in-out; /* Animation */
  }
  

  h4 {
    text-align: center;
    margin-top: 10px;
  }
  /* About Section Container */
.about-container {
  display: flex; /* Use flexbox */
  align-items: center; /* Vertically align content */
  justify-content: space-between; /* Add space between text and image */
  gap: 20px; /* Adds space between text and image */
}

/* Left Content Styling */
.about-text {
  flex: 1; /* Takes available space */
}

/* Right Image Styling */
.about-image img {
  width: 300px; /* Adjust width of the image */
  height: auto; /* Maintain aspect ratio */
  border-radius: 10px; /* Optional: Adds rounded corners */
}
/* Contact Section */
#contact {
  padding: 0px 0; /* Spacing above and below */
  text-align: center;
  background-color: #121212; /* Match the dark theme background */
  color: #ffffff; /* White text for contrast */
  border-top: 2px solid #f4a261; /* Add a subtle theme-colored top border */
}

#contact h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #ffcc00; /* Highlighted theme color for the heading */
}

#contact p {
  font-size: 1.1rem;
  color: #cccccc; /* Lighter gray for better readability */
  margin-bottom: 30px;
}

/* Social Media Links */
.social-links a {
  display: inline-block;
  margin: 0 15px;
  font-size: 1.8rem;
  
  
}

.social-links a:hover {
   /* Slightly darker hover effect */
  transform: scale(1.1); /* Smooth zoom on hover */
}

.social-links img {
  width: 35px;
  height: 35px;
  margin: 0 10px;
  
}

/* Email Link Styling */
.email-link {
  text-decoration: none;
  color: #ffcc00; /* Theme color */
  font-size: 1.2rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

.email-link:hover {
  color: #e76f51; /* Darker shade for hover */
}

/* For mobile devices */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  nav ul {
    flex-direction: column;
  }
}
/* Portfolio Items */
.portfolio-items {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.portfolio-item {
  flex: 1 1 calc(33% - 20px);
  background: #333;
  padding: 10px;
  border-radius: 12px; /* Increased radius for smoother corners */
  text-align: center;
  overflow: hidden; /* Ensure images stay within the rounded corners */
}

.portfolio-item img {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  object-fit: cover; /* Ensure uniform size and trim extra content */
  border-radius: 12px; /* Matches the container's rounded corners */
  transition: transform 0.3s;
}

.portfolio-item a:hover img {
  transform: scale(1.05); /* Slight zoom effect */
}

.portfolio-item h4 {
  margin-top: 10px;
}
/* Portfolio Item Image */
.portfolio-item img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s, border 0.3s; /* Adding transition for border */
  border: 3px solid #000; /* Adding a slight black border */
}
.step {
  background-color: #333; /* Dark card background */
  border: 1px solid #444;
  padding: 15px;
  margin: 0 0 20px 20px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  width: 70%;
  border-radius: 10px; /* Smooth corners */
  transition: transform 0.3s, box-shadow 0.3s; /* Smooth transitions for movement and shadow */
}

.step:nth-child(even) {
  margin-left: 40px; /* Staggered effect for steps */
}

.step:hover {
  transform: translateY(-10px); /* Move slightly upward */
  box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.5); /* Enhanced shadow on hover */
}

.step .year {
  color: #ffcc00; /* Yellow year */
  font-weight: bold;
  margin-bottom: 5px;
}

.step h3 {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
}

.step p {
  margin: 5px 0 0;
  font-size: 0.9rem;
  color: #ccc;
}


