/* General Styling */
body {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: #333;
  }
  
  h1, h2 {
    margin: 0;
  }
  
  .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #444;
  }
  
  a {
    text-decoration: none;
  }
  
  /* Navigation Styling */
  nav {
    background-color: #333;
    padding: 0px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
  }
  
  nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
  }
  
  nav ul li {
    font-size: 1.1rem;
  }
  
  nav ul li a {
    color: white;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    transition: color 0.3s ease, text-decoration 0.3s ease;
  }
  
  nav ul li a:hover,
  nav ul li a:focus {
    color: #f76c6c;
    text-decoration: underline;
  }

  
  
/* Hero Section (Home) */
#home {
    height: 100vh;
    background: url('https://e0.pxfuel.com/wallpapers/846/344/desktop-wallpaper-portfolio.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 60px; /* To prevent overlap with navigation */
  }
  
  .hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
  }
  
  .text-section {
    flex: 1;
    text-align: left;
  }
  
  .text-section h1 {
    font-size: 3rem; /* Slightly smaller size for closer lines */
    margin-bottom: 10px;
    line-height: 1.1; /* Reduced line height for compact lines */
  }
  
  .hi {
    display: inline-block;
    color: yellow; /* Yellow color for 'Hi' */
  }
  
  .name {
    display: inline-block;
    font-size: 3.5rem; /* Slightly larger font for emphasis */
    font-weight: bold;
    color: white; /* White color for Abdul Sadiq */
  }
  
  .subtitle {
    font-size: 1.5rem; /* Adjusted for better readability */
    margin-top: 10px;
    line-height: 1.4; /* Reduced line height for compactness */
  }
  
  .text-section .btn {
    display: inline-block;
    padding: 10px 20px;
    background: #f76c6c;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
  }
  
  .text-section .btn:hover {
    background: #d05c5c;
  }

  .hero-buttons {
    display: flex;
    gap: 15px; /* Space between buttons */
    margin-top: 20px;
}

.download-btn {
    background: #4682b4; /* Steel blue for contrast */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

.download-btn:hover {
    background: #36648b; /* Darker steel blue on hover */
    transform: scale(1.05); /* Subtle zoom effect */
}

/* Social Media Links below buttons */
.social-links {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px; /* Add some space between buttons and icons */
}

.social-icon {
  font-size: 30px; /* Set the size of icons */
  margin: 0 15px; /* Space between icons */
  color: white; /* Default color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: gray; /* Change to a color of your choice on hover */
}

/* Optional: Style for each icon */
.social-icon i {
  font-size: 35px; /* Adjust icon size */
}
  
.image-section {
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.profile-img {
  width: 500px !important; /* Force the size */
  height: auto !important; /* Maintain aspect ratio */
}

  
.profile-img {
  width: 400px; /* Increase the width */
  height: auto; /* Maintain the image's aspect ratio */
  border-radius: 50%; /* Optional: Makes the image circular */
  margin-left: auto; /* Centers it horizontally */
}

.profile-img {
  width: 30%; /* Use a percentage for responsiveness */
  max-width: 500px; /* Set a maximum width to prevent it from becoming too large */
  height: auto;
}

  
  
  
  
  /* Highlighted Text */
  .highlight {
    color: #f76c6c;
    font-weight: bold;
  }
  
/* About Section */
#about {
  padding: 50px 20px;
  background: url('https://e0.pxfuel.com/wallpapers/846/344/desktop-wallpaper-portfolio.jpg') no-repeat center center/cover;
  background-size: cover;
  color: white;
}

.about-container {
  max-width: 1200px;
  display: flex;
  align-items: flex-start; /* Align items at the top */
  gap: 150px;
  margin: 0 auto;
}

.more-about-btn {
  display: inline-block;
  margin-top: 5px;
  padding: -1px 10px; /* Reduced padding for smaller size */
  background: #f76c6c;
  color: white;
  font-size: 0.9rem; /* Slightly smaller text */
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.2s ease;
  text-align: center;
  width: 150px; /* Set fixed width for the button */
  margin-left: 50px;
}

.more-about-btn:hover {
  background: #d05c5c;
  transform: scale(1.05);
}




/* Profile Image Styling */
.profile-imgs {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 100px;
}

.profile-imgs {
  width: 30%; /* Use a percentage for responsiveness */
  max-width: 200px; /* Set a maximum width to prevent it from becoming too large */
  height: auto;
  margin-top: 100px;
}

/* About Text Styling */
.about-text {
  flex: 1;
  font-size: 1.1rem;
  text-align: left; /* Align the text to the left */
  display: flex;
  flex-direction: column;
  gap: 10px; /* Add spacing between heading and text */
}

/* About Me Heading Styling */
.about-heading {
  font-size: 2.5rem;
  color: white;
  font-weight: bold;
  margin-top: 100px; /* Add space below the heading */
  margin-left: 50px;
}

.ok{
  font-size: 1.9rem;
  color: white;
  margin-top: 5px;
  margin-bottom: -10px;
  margin-left: 50px;
}

.okk{
  font-size: 1.1rem;
  color: white;
  margin-left: 50px;
}

/* Experience Section */
#experience {
  padding: 50px 20px;
  background: url('https://e0.pxfuel.com/wallpapers/846/344/desktop-wallpaper-portfolio.jpg') no-repeat center center/cover;
  color: white;
}


.experience-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px; /* Adjust space between columns */
  max-width: 1200px;
  margin: 0 auto;
}

.experience-item {
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.experience-item h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.experience-item p {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.section-title{
  color: white;
  margin-top: 10px;
}
  
  /* Projects Section */
  #projects {
    padding: 50px 20px;
    background: url('https://e0.pxfuel.com/wallpapers/846/344/desktop-wallpaper-portfolio.jpg') no-repeat center center/cover; /* Same background */
    background-size: cover;
    color: white;
  }
  
  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .project-card {
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .project-card h3 {
    margin: 10px 0;
  }
  
  .project-card p {
    margin: 10px 0;
    color: #ddd;
  }
  
  
  .project-card:hover {
    transform: translateY(-5px);
  }
  
  /* Skills Section */
  #skills {
    padding: 50px 20px;
    background: url('https://e0.pxfuel.com/wallpapers/846/344/desktop-wallpaper-portfolio.jpg') no-repeat center center/cover; /* Same background */
    background-size: cover;
    color: white;
    text-align: center;
  }
  
  .skills-title h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }

  .sub h3{
    font-size: 1.5rem;
   margin-left: 0 ;
  }
  
  
  .skills-container {
    max-width: 800px;
    margin: 0 100px;
    text-align: left;
  }
  
  .skill {
    margin-bottom: 20px;
  }
  
  .skill-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }
  
  .progress-wrapper {
    position: relative;
    display: flex;
    align-items: center;
  }
  
  .progress-wrapper progress {
    width: 50%;
    height: 5px;
    border-radius: 5px;
    background: #ddd;
  }
  
  .percentage {
    position: absolute;
    top: -25px; /* Move it above the bar */
    right: 415px; /* Align it to the right side of the progress bar */
    font-weight: bold;
    color:white;
  }
  
  /* Contact Section */
  #contact {
    padding: 50px 20px;
    background: url('https://e0.pxfuel.com/wallpapers/846/344/desktop-wallpaper-portfolio.jpg') no-repeat center center/cover;
    background-size: cover;
    color: white;
    text-align: center;
  }

  /* Left Side: Contact Info */
.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 2rem;
  text-align: left;
  margin-top: 100px;
  margin-left: 370px;
}

.contact-info p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
  margin-left: -600px;
}

/* Contact Details Styling */
.contact-details p {
  text-align: center;
  font-size: 1.1rem;
  margin: 5px 0;
  margin-left: -635px;
}

.contact-details strong {
  font-weight: bold;
  margin-left: 60px;

}

/* Social Media Links below buttons */
.social-link {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px; /* Add some space between buttons and icons */
  margin-left: 310px;
}

.social-icons {
  font-size: 30px; /* Set the size of icons */
  margin: 0 15px; /* Space between icons */
  color: white; /* Default color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons:hover {
  color: gray; /* Change to a color of your choice on hover */
}

/* Optional: Style for each icon */
.social-icons i {
  font-size: 35px; /* Adjust icon size */
}

  
  form {
    display: flex;
    align-items: end;
    margin-right: 80px;
    margin-top: -275px;
    flex-direction: column; /* Arrange children vertically */
    gap: 20px; /* Space between each input box */
  }
  
  form input, form textarea {
    width: 25px; /* Full width of the container */
    padding: 15px; /* Internal padding for a larger look */
    font-size: 1rem; /* Text size */
    border: 1px solid #ccc; /* Border style */
    border-radius: 5px; /* Rounded corners */
    box-sizing: border-box; /* Include padding in width calculation */
    margin-right: 10px;
  }
  
  form textarea {
    height: 150px; /* Height for the message box */
    resize: none; /* Prevent resizing */
  }
  
  
  
  .contact-container {
    max-width: 200px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.6); /* Add a slight overlay to make text readable */
    padding: 40px;
    border-radius: 10px;
  }
  
  .contact-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  form label {
    display: block;
    margin: 10px 0;
    font-size: 1.1rem;
  }
  
  form input, form textarea {
    width: 30%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
  }
  
  form button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    margin-right: 130px;
    width: 150px;
  }
  
  form button:hover {
    background-color: #0056b3;
  }
  
  
  footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
  }
  