html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  background: #fff;
  color: #008C45; /* Default text color: green */
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #008C45;
  color: #fff;
  padding: 32px 0 16px 0;
  height: 400px; /* adjust as needed */
  border-bottom: 32px solid #CD212A;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 32px 0 16px 0;
  background: #008C45;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.header-content h1 {
  margin: 0 0 8px 0;
  color: #fff;
  font-size: 2.5rem;
}

.header-content h2 {
  margin: 0 0 12px 0;
  color: #fff;
  font-size: 1.5rem;
}

.header-content nav {
  margin-top: 8px;
}

.header-content nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 8px 16px;
  border-radius: 20px;
  background: #008C45;
  transition: background 0.2s;
}

.header-content nav a:hover {
  background: #CD212A;
  color: #fff;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: 40px;
  margin-right: 32px;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #CD212A; /* Red on hover */
  text-decoration: underline;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Example for feature cards or sections */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin: 20px auto 0 auto;
  max-width: 1100px;
  padding: 0 16px;
}

.feature-card {
  background: #fff;
  border: 2px solid #008C45; /* Green border */
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,140,69,0.06);
  padding: 32px 24px;
  flex: 1 1 220px;
  max-width: 250px;
  min-width: 220px;
  text-align: center;
}

.feature-card h2 {
  color: #CD212A; /* Red */
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.feature-card p {
  color: #008C45; /* Green */
  font-size: 1rem;
}

/* Example for links in content */
a {
  color: #008C45;
  text-decoration: underline;
}

a:hover {
  color: #CD212A;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 16px;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 12px;
  object-fit: cover;
}

header h1, header h2 {
  margin: 0;
  text-align: center;
}

h1 {
  margin: 0 0 8px 0;
  font-size: 2.5rem;
}

h2 {
  margin: 0 0 24px 0;
  font-weight: 400;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 12px;
}

nav {
  margin-bottom: 12px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 8px 16px;
  border-radius: 20px;
  background: #008C45; /* Example: Italy green */
  transition: background 0.2s;
}

nav a:hover {
  background: #CD212A; /* Example: Italy red */
  color: #fff;
}

section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,59,134,0.06);
  margin-bottom: 32px;
}

h3 {
  color: #CD212A;
  margin-top: 0;
}

.skills-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.skills-list li {
  background: #e6eef8;
  color: #CD212A;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
}

.experience-item, .project-item {
  margin-bottom: 24px;
}

.experience-item h4, .project-item h4 {
  margin: 0 0 4px 0;
  color: #CD212A;
}

.experience-item span {
  display: block;
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.experience-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 32px;
}

.exp-logo-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(1,12,128,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 220px;
  padding: 24px 16px;
  text-align: center;
}

.exp-logo-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 12px;
}

.exp-logo-item strong {
  color: #CD212A;
  font-size: 1.1rem;
}

.exp-logo-item .exp-date {
  color: #666;
  font-size: 0.95rem;
  font-weight: normal;
}

/* Certifications section */
.cert-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.cert-link {
  color: #003b86;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.2s;
}

.cert-link:hover {
  color: #25d366;
}

footer {
  background: #CD212A;
  color: #fff;
  text-align: center;
  padding: 6px 0;
  margin-top: 10px;
  font-size: 1rem;
  border-top: 4px solid #008C45; /* Green top border */
}