@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", SansSerif;
}

body {
  background-color: lightblue;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.container {
  position: relative;
  width: 100%;
  max-width: 1300px;
  min-height: 1000px;
  background-color: #fff;
  margin: 50px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  box-shadow: 0 35px 55px rgba(0, 0, 0, 0.1);
}
.container .left_Side {
  position: relative;
  background-color: #003147;
  padding: 40px;
}
.profileText {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.profileBadge {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 20px;
}
.profileText .imgBx {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
}
.profileText .imgBx img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo {
  width: 100%;
  height: auto;
}
.Badge {
  width: 120px;
  height: auto;
}
.profileText h2 {
  color: #fff;
  font-size: 1.5em;
  margin-top: 20px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
  line-height: 1.4em;
}
.profileText h2 span {
  font-size: 0.8em;
  font-weight: 300;
}
.contactInfo {
  padding-top: 40px;
}
.title {
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.contactInfo ul {
  position: relative;
}
.contactInfo ul li {
  list-style: none;
  position: relative;
  margin: 10px 0;
}
.contactInfo ul li .icon {
  display: inline-block;
  width: 30px;
  font-size: 18px;
  color: #03a9f4;
}
.contactInfo ul li span {
  color: #fff;
  font-weight: 300;
}
.contactInfo.education li {
  margin-bottom: 15px;
}
.contactInfo.education h5 {
  color: #03a9f4;
  font-weight: 500;
}
.contactInfo.education h4:nth-child(2) {
  color: #fff;
  font-weight: 500;
}
.contactInfo.education h4 {
  color: #fff;
  font-weight: 300;
}
.contactInfo.certification li {
  margin-bottom: 15px;
}
.contactInfo.certification h5 {
  color: #03a9f4;
  font-weight: 500;
}
.contactInfo.certification h4:nth-child(2) {
  color: #fff;
  font-weight: 500;
}
.contactInfo.certification h4 {
  color: #fff;
  font-weight: 200;
}
.contactInfo.language .percent {
  position: relative;
  width: 100%;
  height: 6px;
  background-color: #081921;
  display: block;
  margin-top: 5px;
}
.contactInfo.language .percent div {
  position: relative;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #03a9f4;
}
.container .right_Side {
  position: relative;
  background-color: #fff;
  padding: 40px;
}
.about {
  margin-bottom: 50px;
}
.about:last-child {
  margin-bottom: 0;
}
.title2 {
  color: #003147;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
p {
  color: #081921;
}
.about .box {
  display: flex;
  flex-direction: row;
  margin: 20px 0;
}
.about .box .year_company {
  min-width: 200px;
}
.about .box .year_company h5 {
  text-transform: uppercase;
  color: #848c90;
  font-weight: 600;
}
.about .box .text h4 {
  text-transform: uppercase;
  color: #2a7da2;
  font-size: 16px;
}
.about .box .text ul {
  list-style-type: "- ";
}
.skills .box {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 200px 1fr;
  justify-content: center;
  align-items: center;
}
.skills .box h4 {
  text-transform: uppercase;
  color: #848c90;
  font-weight: 500;
}
.skills .box .percent {
  position: relative;
  width: 100%;
  height: 10px;
  background-color: #f0f0f0;
}
.skills .box .percent div {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #03a9f4;
}
.interest ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.interest ul li {
  list-style: none;
  color: black;
  font-weight: 500;
  margin: 10px 0;
}
.interest ul li .fa {
  color: #03a9f4;
  font-size: 18px;
  width: 20px;
}
@media (max-width: 1000px) {
  .container {
    margin: 10px;
    grid-template-columns: repeat(1, 1fr);
  }
  .interest ul {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .about .box {
    flex-direction: column;
  }
  .about .box .year_company {
    margin-bottom: 5px;
  }
  .interest ul {
    grid-template-columns: repeat(1, 1fr);
  }
  .skills .box {
    grid-template-columns: repeat(1, 1fr);
  }
}
.francais100 { width: 100%; }
.anglais85   { width: 85%; }
.Espagnol85  { width: 85%; }
.flag svg {
  width: 30px;
  height: 23px;
  position: relative;
  float: right;
  padding-right: 0px;
  border: 2px solid;
  border-color: rgba(255, 255, 255, 0.2);
}
.PSws70  { width: 70%; }
.PSws75  { width: 75%; }
.PSws80  { width: 80%; }
.PSws85  { width: 85%; }
.PSws90  { width: 90%; }
.PSws95  { width: 95%; }
.PSws100 { width: 100%; }
a:link    { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover   { text-decoration: none; }
a:active  { text-decoration: none; }

/* =================================================================
   ACCORDION STYLES  (used by index.html and index-en.html)
   ================================================================= */

/* Each h4+ul pair is wrapped in .exp-block */
.exp-block { margin-bottom: 4px; }

/* li hidden by accordion */
.li-hidden { display: none; }

/* Gradient fade — sits in normal flow below the 3rd visible li,
   using negative margin-top so it overlays the last visible item.
   No overflow clipping → list-style-type markers stay visible. */
.acc-gradient {
  display: block;
  height: 1.8em;
  margin-top: -1.8em;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 1;
}
.acc-gradient.hidden { opacity: 0; }

/* "See more / Voir plus" toggle button */
.acc-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 0.78em;
  color: #2c7be5;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  transition: color 0.2s;
  user-select: none;
}
.acc-btn:hover { color: #1a5cbf; text-decoration: underline; }
.acc-btn .acc-icon {
  display: inline-block;
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

/* =================================================================
   SKILLS TEXT GRID
   ================================================================= */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
  margin-top: 12px;
}
.skills-family {
  border-left: 3px solid #03a9f4;
  padding-left: 12px;
}
.skills-family-title {
  color: #2a7da2;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.skills-family-text {
  color: #081921;
  font-size: 1em;
  line-height: 1.6;
}
.skills-family-text strong {
  color: #2a7da2;
  font-weight: 600;
}
@media (max-width: 1000px) {
  .skills-grid { grid-template-columns: 1fr; }
}
