* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #3a2e25; 
  background: #f5efe6; 
}


header {
  background: #d6bfa8;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .prenom {
  font-family: "Georgia", sans-serif;
  color: #3a2e25;
  font-size: 1.4rem;
  font-weight: 600;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li a {
  color: #3a2e25;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #fff;
}


.contact {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #efe1d1, #f7f0e7);
  color: #3a2e25;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}


.profile-photo {
  width: 180px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #b89b84; 
  margin-bottom: 20px;
}


section h3 {
  text-align: center;
  font-size: 1.6rem;
  margin: 40px 0 20px;
  color: #4b3f33;
  position: relative;
}

section h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #b89b84; 
  margin: 10px auto 0;
  border-radius: 2px;
}

section {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}


.degree {
  background: #fff8f0;
  padding: 20px;
  margin: 15px 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-left: 4px solid #b89b84;
}

.degree h4 {
  color: #a1744d;
  margin-bottom: 5px;
}

.degree h5 {
  font-weight: 400;
  color: #5c4b3b;
}

.degree h3 {
  color: #4b3f33;
  margin-bottom: 5px;
}

.degree p {
  font-size: 0.95rem;
}


ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 8px;
  color: #3a2e25;
}


.lien {
  text-align: center;
  margin: 15px 0;
}

.lien a {
  color: #a1744d;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.lien a:hover {
  color: #7a5636;
}

footer {
    background: #b89b84;
    color: #fff;
    padding: 40px 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 900px;
    margin: auto;
}

.footer-logo {
    text-align: center;
}

.footer-logo .logo {
    width: 80px;
    margin-bottom: 10px;
}

.footer-form {
    flex: 1;
    min-width: 250px;
}

.footer-form h3 {
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 6px;
}

.footer-form button {
    width: 100%;
    padding: 10px;
    background-color: #4b3f33;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.footer-form button:hover {
    background-color: #3a2e25;
}




.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 20px;
  text-align: center;
}

.skill-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.skill-item p {
  font-size: 14px;
  margin: 0;
  color: #3a2e25;
}


.cv-container {
  display: flex;
  min-height: 100vh;
}


.sidebar {
  background-color: #d9c7b8;
  color: #3a2e25;
  width: 300px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  border-right: 4px solid #b89b84;
}


.sidebar h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}


.subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
  color: #5c4b3b;
  border-bottom: 2px solid #b89b84;
  display: inline-block;
  padding-bottom: 5px;
}

.sidebar h3 {
  font-size: 1.1rem;
  margin-top: 25px;
  margin-bottom: 10px;
  color: #3a2e25;
  border-bottom: 2px solid #b89b84;
  display: inline-block;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
}

.sidebar ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.sidebar a {
  color: #4b3f33;
  text-decoration: none;
}

.sidebar a:hover {
  text-decoration: underline;
}


.contenue {
  flex: 1;
  padding: 20px;
  background-color: #f5efe6;
}


.contenue .education .intro-link {
  text-align: center;
  font-size: 1rem;
  color: #a1744d;
  margin-bottom: 15px;
}
.video-btn {
  display: inline-block;
  background-color: #b89b84;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
}

.video-btn:hover {
  background-color: #a1744d; 
  
}


.main-content h1 {
  color: #3a2e25;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.main-content p {
  margin-bottom: 25px;
  line-height: 1.6;
}

section h2 {
  font-size: 1.4rem;
  color: #3a2e25;
  margin-top: 30px;
  border-bottom: 2px solid #b89b84;
  display: inline-block;
  padding-bottom: 4px;
}

.experience ul {
  margin-top: 10px;
  padding-left: 20px;
}

.experience li {
  margin-bottom: 8px;
}
