body {
    background-color: #f0f2f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.all {
    background-color: #ffffff;
    padding: 30px 40px;
    max-width: 800px;
    width: 90%;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.hero {
    text-align: center;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #333;
}

.hero a {
    display: inline-block;
    margin: 5px 10px;
    color: #0077cc;
    text-decoration: none;
    font-weight: 500;
}

.hero a:hover {
    text-decoration: underline;
}

.skills, .projects, .education, .certificates, .summary, .social {
    margin-bottom: 30px;
}

h2 {
    color: #0077cc;
    border-bottom: 2px solid #0077cc;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

h3, h4 {
    color: #333;
    margin-bottom: 10px;
}

ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
}

.projects div {
    background-color: #f5f5f5;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.project h4 {
  display: flex;
  align-items: center;
  justify-content: space-between; /* project name left, icons right */
  margin-bottom: 10px;
  font-size: 1.2em;
  color: #333;
}

.project-links a {
  margin-left: 10px;
  color: #007acc;
  text-decoration: none;
  font-size: 1.2em;
  transition: color 0.3s ease;
}

.project-links a:hover {
  color: #005f99;
}

.projects h4 a {
    text-decoration: none;
    color: #0077cc;
}

.projects h4 a:hover {
    text-decoration: underline;
}

.social{
    text-align: center;
}

.social span {
    margin-right: 15px;
}

.social a {
    color: #555;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.social a:hover {
    color: #0077cc;
}

.summary p {
    line-height: 1.6;
    color: #333;
}

@media (max-width: 600px) {
    .all {
        padding: 20px;
        width: 95%;
    }

    .hero h1 {
        font-size: 2em;
    }
}
