body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7f9;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 3.5em;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 700;
}

.header .subtitle {
    font-size: 1.4em;
    color: #7f8c8d;
    margin-top: 0;
}

.contact-info {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-link {
    display: flex;
    align-items: center;
    color: #34495e;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-link i {
    font-size: 1.2em;
    margin-right: 8px;
    color: #3498db;
}

.contact-link:hover {
    color: #2980b9;
    transform: translateY(-2px);
}

.projects-section, .certificates-section, .about-section, .education-section, .experience-section {
    margin-top: 50px;
}

.projects-section h2, .certificates-section h2, .about-section h2, .education-section h2, .experience-section h2 {
    text-align: center;
    color: #2c3e50;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-size: 2em;
    font-weight: 600;
}

.projects-section h2::after, .certificates-section h2::after, .about-section h2::after, .education-section h2::after, .experience-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3498db;
    margin: 10px auto 0;
    border-radius: 2px;
}

.project-list, .certificate-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.project-item, .certificate-item, .experience-item, .education-item {
    background-color: #ecf0f1;
    border: 1px solid #e0e6e8;
    border-radius: 10px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 15px; 
}

.project-item:hover, .certificate-item:hover, .experience-item:hover, .education-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.project-item h3, .certificate-item h3, .experience-item h3, .education-item h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.4em;
    font-weight: 600;
}

.project-item p, .certificate-item p, .experience-item p, .education-item p {
    font-size: 1em;
    color: #7f8c8d;
    margin: 10px 0 0;
}

.project-item a, .certificate-item a {
    display: inline-block;
    margin-top: 15px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
}

.project-item a:hover, .certificate-item a:hover {
    border-bottom: 2px solid #3498db;
}

.footer {
    text-align: center;
    margin-top: 60px;
    font-size: 0.9em;
    color: #95a5a6;
}

/* Seção Sobre Mim */
.about-content p {
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.skills-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.skill-item {
    background-color: #3498db;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .projects-section h2, .certificates-section h2, .about-section h2, .education-section h2, .experience-section h2 {
    font-size: 1.7em;
  }
}