body {
  padding-top: 70px;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: #f7f7f7;
}

body,
html {
  margin-top: 0;
  padding-top: 0;
}

.navbar {
  margin-top: 0;
}

.navbar-nav a.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-nav a.nav-link i {
  margin-right: 8px;
}

#home .social-icons {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 1.9em;
  text-decoration: none;
}

#home .social-icons a {
  color: #555;
  margin: 0 10px;
  text-decoration: none;

}

#home .social-icons a:hover {
  color: #084298;
  /* Darker shade for hover effect */
}


h1 {
  color: #555;
  font-size: 3rem;
}

h2 {
  color: #555;
  font-size: 2.5rem;
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
  /* Added padding for section spacing */
}

.section-title {
  font-weight: bold;
  font-size: 2.5rem;
  /* Increased size for section titles */
  margin-bottom: 1rem;
  /* Space between title and description */
}

.section-description {
  font-size: 1.25rem;
  /* Larger font size for description */
  margin-bottom: 2rem;
  /* Increased bottom margin */
}

.skill-box {
  background-color: #fff;
  /* Changed to white for a cleaner look */
  border: 1px solid #ddd;
  /* Added border for definition */
  border-radius: 5px;
  padding: 10px 20px;
  /* Increased padding for visual space */
  margin: 10px;
  /* Increased margin for spacing */
  font-size: 1rem;
  /* Unified font-size */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* Added shadow for depth */
}

.d-flex.flex-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  /* Responsive grid */
  gap: 10px;
}

.project-title {
  font-weight: 600;
  /* Slightly less bold than bold */
  font-size: 1.5rem;
  /* Standardized font sizes */
}

.project-image {
  max-width: 100%;
  /* Ensures image is not larger than its container */
  height: auto;
  /* Ensures image keeps its aspect ratio */
  object-fit: cover;
  border-radius: 5px;
}

#about,
#projects {
  padding-top: 100px;
  /* Uniform padding-top for sections */
}

.contact-button {
  display: none;
}

.contact-button-static {
  margin-top: 20px;
  /* Spacing for button */
}

.contact-form-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  padding: 20px;
  /* Increased padding for internal spacing */
  transition: right 0.3s;
  z-index: 1050;
  /* Same as contact-button for consistency */
}

.contact-form-panel .btn {
  width: auto;
  margin-top: 0;
}

/* .contact-close-btn {
  margin-top: 1rem;
  cursor: pointer;
  /* Makes it clear the button is clickable 
} */

.contact-form-panel.open {
  right: 0;
}


/* Responsive design adjustments */
@media (max-width: 768px) {
  .d-flex.flex-wrap {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    /* Adjust grid for smaller screens */
  }

  .contact-form-panel {
    width: 100%;
    /* Full width on small screens */
  }
}

/* Footer styles */
footer .social-media a {
  text-decoration: none;
  /* Removes underline from social media links */
}

footer .social-media a:hover,
footer .social-media a:focus {
  text-decoration: none;
  /* Ensures underline doesn't reappear on hover/focus */
}

footer .social-text {
  margin-right: 0.5rem;
  /* Adjust the right margin to bring the text closer to the icons */
  display: inline-flex;
  /* Align the text with icons vertically */
  align-items: center;
  /* Center alignment */
}

footer .social-links {
  display: inline-flex;
  /* Align the icons with the text */
  align-items: center;
  /* Center alignment */
}

footer .social-icon {
  margin: 0 0.5rem;
  /* Adjust left and right margins to control spacing between icons */
  text-decoration: none;
  /* Remove the underline from the links */
}

.project-card {
  margin-bottom: 2rem; /* Space between project cards */
}

.project-info h3 {
  font-size: 1.5rem;
  margin-top: 0;
}

.project-tags {
  margin: 1rem 0;
}

.tag {
  display: inline-block;
  background-color: #f0f0f0;
  padding: 5px 15px;
  margin-right: 10px;
  border-radius: 5px;
  font-size: 0.9rem;
}

.project-links a {
  display: inline-block;
  margin-right: 10px;
  color: #0d6efd; /* Bootstrap primary color */
  text-decoration: none;
}

.project-links a:hover {
  text-decoration: underline;
}
