/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  color: #333;
  background-color: #827e7e;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #333;
  color: #fff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  margin: 0; 
  padding: 0; 
  gap: 0.8rem;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-weight: bold;
  font-size: 1.2rem;

}
header nav ul li:last-child {
  margin-right: 0; 
}

header nav ul li a:hover {
  color: #787a7d;
}

header h1 a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  background-color: #007bff;
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h2 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.hero p {
  font-size: 1.2rem;
}

/* Content Sections */
.content-section {
  padding: 2rem;
  text-align: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
  flex-wrap: wrap;
}

#about a:visited {
  color: #40ee;
}

#about a:hover {
  color: #0056b3;
}

.about-image {
  max-width: 200px;
  height: auto;
  border-radius: 10px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.project img {
  max-width: 100%;
  display: block;
}

.project h4 {
  margin: 1rem 0 0.5rem;
}

.project p {
  padding: 0 1rem 1rem;
}

/* Footer */
footer {
  text-align: center;
  background-color: #333;
  color: white;
  padding: 1rem 0;
  font-size: 0.9rem;
}

footer .social-links {
  margin-top: 0.5rem;
}

footer .social-links a {
  color: #007bff;
  text-decoration: underline;
  margin: 0 0.5rem;
  font-size: inherit;
}

/* Global Links */
a:visited {
  all: unset;
  color: inherit;
}

a:hover {
  color: #0056b3;
}

/* Extra for resume-specific */
.contact-info a {
  text-decoration: underline;
}

.contact-info a[href^="tel:"] {
  text-decoration: none;
}
