/* ---------- 1. WHOLE SECTION ---------- */
.cv {
  font-family: 'Exo', Arial, sans-serif;   /* paragraph font */
  padding-top: 90px;
  padding-bottom: 90px;
  padding-left: 24px;
  padding-right: 24px;
}

.cv * {
  box-sizing: border-box;
}

.cv .wrap {
  max-width: 1280px;
  margin: 0 auto;
}


/* ---------- 2. HEADING (label, title, subheading) ---------- */
.cv .head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

/* small orange text above the title */
.cv .label {
  font-family: 'Bricolage Grotesque', Arial, sans-serif;
  color: #F67F01;         /* orange */
  font-weight: 600;
  margin: 0 0 6px;
}

/* main heading */
.cv h2 {
  font-family: 'Bricolage Grotesque', Arial, sans-serif;
  color: #0F2A47;          /* navy */
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 12px;
}

/* subheading under the main heading */
.cv .head p {
  font-family: 'Bricolage Grotesque', Arial, sans-serif;
  color: #5f6f86;
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}


/* ---------- 3. BIG BOX (left tabs + right content) ---------- */
.cv .box {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 42, 71, 0.25);
}


/* ---------- 4. LEFT SIDE: NAVY TABS ---------- */
.cv .tabs {
  width: 320px;
  background-color: #0F2A47;   /* navy */
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cv .tab {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: none;
  border: none;
  border-radius: 10px;
  padding: 16px 18px;
  color: #c9d6e6;
  font-family: 'Bricolage Grotesque', Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.cv .tab small {
  color: #FF7F46;              /* small orange number */
  font-size: 13px;
  font-weight: 600;
  width: 24px;
}

.cv .tab:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* the selected (active) tab */
.cv .tab.on {
  background-color: #FF7F46;   /* orange */
  color: #ffffff;
}

.cv .tab.on small {
  color: #ffffff;
}


/* ---------- 5. RIGHT SIDE: WHITE CONTENT ---------- */
.cv .content {
  flex: 1;
  background-color: #ffffff;
}

/* every panel is hidden at first */
.cv .panel {
  display: none;
  position: relative;
  padding: 56px 50px;
}

/* only the active panel is shown */
.cv .panel.on {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* navy icon box */
.cv .ico {
  width: 76px;
  height: 76px;
  background-color: #0F2A47;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.cv .ico svg {
  width: 36px;
  height: 36px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 1.8;
}

/* value title */
.cv h3 {
  font-family: 'Bricolage Grotesque', Arial, sans-serif;
  color: #0F2A47;
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 10px;
  padding-bottom: 12px;
  border-bottom: 4px solid #FF7F46;   /* orange line under title */
  display: inline-block;
}

/* description text */
.cv .panel p {
  font-family: 'Exo', Arial, sans-serif;
  color: #5f6f86;
  font-size: 16px;
  line-height: 1.8;
  margin: 10px 0 24px;
  max-width: 700px;
}

/* 3 key points */
.cv ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cv li {
  font-family: 'Exo', Arial, sans-serif;
  color: #0F2A47;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
}

.cv li::before {
  content: "» ";
  color: #FF7F46;
  font-weight: 700;
}


/* ---------- 6. MOBILE (screen smaller than 860px) ---------- */
@media (max-width: 860px) {

  .cv {
    padding: 50px 16px;
  }

  .cv h2 {
    font-size: 32px;
  }

  .cv .box {
    flex-direction: column;
  }

  .cv .tabs {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    padding: 12px;
  }

  .cv .tab {
    width: auto;
    white-space: nowrap;
    padding: 12px 16px;
    font-size: 15px;
  }

  .cv .tab small {
    display: none;
  }

  .cv .panel {
    padding: 32px 22px;
  }
}