*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.print-page{
  float: right;
  width: max-content;
  opacity: 0.2;
}

.print-page:hover{
  opacity: 0.5;
  cursor: pointer;
}

@media print {
  body {
      -webkit-print-color-adjust: exact;
  }

  @page {
    size: landscape;
  }

  #action-print-view {
      display: none;
  }

  .skill-card{
      margin-top: 10px;
      page-break-before: always;
  }
}

.tooltip:hover span {
  opacity: 1;
  filter: alpha(opacity=100);
  top: -6em;
  left: 20em;
  z-index: 99;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  }

.tooltip span {
  background: none repeat scroll 0 0 #222; /*-- some basic styling */
  color: #F0B015;
  font-family: 'Helvetica';
  font-size: 0.8em;
  font-weight: normal;
  line-height: 1.5em;
  padding: 16px 15px;
  width: 240px;
  top: -4em;  /*-- this is the original position of the tooltip when it's hidden */
  left: 20em;
  margin-left: 0;	
  /*-- set opacity to 0 otherwise our animations won't work */
  opacity: 0;
  filter: alpha(opacity=0);  	
  position: absolute;
  text-align: center;	
  z-index: 2;
  text-transform: none;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease-in-out;
}

.tooltip span:after {
  border-color: #222 rgba(0, 0, 0, 0);
  border-style: solid;
  border-width: 15px 15px 0;
  bottom: -15px;
  content: "";
  display: block;
  left: 31px;
  position: absolute;
  width: 0;
}


body {
  font-family: "Arial", sans-serif;
}

.container {
  margin: 64px;
  padding: 0;
}

/* Profile block */
.profile {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #ffffff;
}

.profle__line {
  height: 2px;
  background-color: #767676;
  width: 100%;
}

.profile__image-container {
  flex: 0 0 auto;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #0093c2;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("Assets/UserImage.png") no-repeat center center;
  background-size: cover;
}

.profile__name {
  font-size: 32px !important;
  color: #0093c2 !important;
  margin-bottom: 4px !important;
}

.mailContainer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 3px;
  margin-top: 13px;
}
.locationContainer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.profile__location {
  font-size: 16px;
  color: #777;
}
.profile__email {
  font-size: 16px;
  color: #777;
}

.profile__wallet-card {
  background: #ffffff;
  border: 2px solid #0093c2 !important;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
}

.profile__wallet-card__id,
.profile__wallet-card__net-worth {
  font-size: 16px;
  color: #333 !important;
  margin: 5px 0;
}

.profile__wallet-card__id-number {
  font-size: 22px;
  font-weight: bold !important;
}

.profile__wallet-card__net-worth-label {
  font-size: 18px;
  font-weight: bold !important;
  margin-top: 10px;
}

.profile__wallet-card__net-worth-value {
  font-size: 48px;
  color: #00d145 !important;
  font-weight: bold !important;
}

.line {
  height: 4px;
  background-color: #000;
  width: 100%;
  margin: 64px 0px;
}

.about_sec{
  margin-bottom: 50px;
}

/* SKILL CARD AND ROLE SECTION */

.skill-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.skill-card__skills-container {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  width: 50%;
  box-shadow: 40px 12px 40px 0 rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.skill-card__heading {
  color: #767676;
  border: 3px solid #0093c2;
  display: inline-block;
  padding: 3px 17px;
  border-radius: 10px;
  font-weight: bold !important;
  margin-bottom: 10px;
}

.skill-card__skill {
  display: flex;
  /* justify-content: space-between; */
  gap: 20px;
  align-items: center;
  padding: 5px 0;
}

.skill-card__skill-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-basis: 28%;
  flex-shrink: 0;
  font-size: 17px;
  font-weight: bold !important;
}

.skill-card__progress {
  background: #e6e6e6;
  border-radius: 20px;
  position: relative;
  height: 20px;
  width: 100%;
  overflow: hidden;
  flex-basis: 50%;
}

.skill-card__progress-bar {
  background: #0093c2;
  border-radius: 20px 0 0 20px;
  height: 100%;
  position: relative;
  left: 0;
  top: 0;
}

.progress-bar__percentage {
  color: white;
  position: absolute;
  right: 10px;
  top: 50%;
  left: 50%;
  transform: translateY(-50%);
  font-size: 12px;
}

.assessed-badge {
  flex-basis: 15%;
  display: flex;
  align-items: center;
  padding: 3px 8px;
  background-color: #00d415;
  border-radius: 20px;
  color: white;
  font-weight: bold !important;
  font-size: 12px;
  border: 2px solid #000;
  position: relative;
}

.tick-icon {
  width: 14px;
  height: auto;
  margin-right: 5px;
  background-color: white;
  border-radius: 100%;
}

.assessed__percentage {
  margin-left: 5px;
  color: white;
}

.skill-card__progress-bar {
  transition: width 0.3s ease;
}

/* DYNAMIC MODAL */
.view-all-btn {
  padding: 8px;
  background-color: #0093c2;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  float: right;
}

.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  /* display: none;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); */
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 1000px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation-name: animatetop;
  animation-duration: 0.4s;
}

.all-skills-list{
  margin-top: 10px;
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold !important;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.job-roles {
  background: linear-gradient(
    to right,
    #0093c1,
    #0188b2,
    #017ca3,
    #00617f,
    #015670,
    #01485f
  ); /* Changed to match the new color scheme */
  border-radius: 10px;
  padding: 20px;
  width: 48%;
  border: none;
  box-shadow: 40px 12px 40px 0 rgba(0, 0, 0, 0.3);
}

.job-roles {
  padding-top: 0px;
}

.job-roles__title {
  background-color: #fff;
  border-radius: 0px 0px 10px 10px;
  padding: 5px 17px;
  color: #767676;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: max-content;
  margin: auto;
  margin-bottom: 20px;
}

.job-roles__title h2 {
  font-size: 24px;
  display: inline-block;
}

.job-roles__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.job-roles__item {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  padding: 3px 17px;
  margin-bottom: 10px;
  font-size: 14px;
  display: flex;
  gap: 6px;
  color: #0093c2;
  background-color: #fff;
  border-radius: 20px;
}

.job-roles__percentage {
  color: #27ae60;
}

/* HANDS ON PROJECT SECTION */
.skill__heading-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 64px;
}

.projects__heading {
  font-size: 32px;
  margin-bottom: 20px;
}

.projects__list {
  list-style: none;
}

.projects-expanded-container {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  overflow: hidden;
  cursor: pointer;
  max-height: 100px;
}

.project-line {
  height: 2px;
  background-color: #000;
  width: 90%;
  margin: 0 auto;
  margin-bottom: 15px;
}

.projects-expanded-container.expanded {
  max-height: 500px;
}

.projects__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  margin-bottom: 20px;
}

.projects__expanded-content {
  display: none;
}

.projects-expanded-container.expanded .projects__expanded-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.projects__expanded-content h4 {
  margin-bottom: 20px;
  font-size: 14px;
}

.projects__accordion {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.projects__item.expanded .projects__accordion {
  transform: rotate(180deg);
}

.projects__logo {
  width: 40px;
  height: auto;
  margin-right: 0px;
}

.projects__info {
  min-width: 286px;
}

.projects__title {
  font-size: 15px;
  font-weight: bold !important;
  color: black;
  margin-bottom: 10px;
  margin-top: 7px;
  max-width: 305px;
  min-width: 220px;
}

.projects__info,
.projects__duration {
  font-size: 16px;
  color: #666;
  margin-bottom: 5px;
}

.projects__actions {
  display: flex;
  gap: 10px;
}

.projects__button {
  background: #fff;
  color: #00d415;
  border: 2px black solid;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hidden {
  display: none;
}

/* EDUCATION DETAILS SECTION */
.education-container h2 {
  text-align: left;
  font-size: 24px;
  margin-bottom: 20px;
}

.education-grid {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.education-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: -2px -2px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 22%;
  text-align: center;
}

.education-card h3 {
  font-size: 14px !important;
  color: #333 !important;
  margin-bottom: 10px !important;
  color: #27ae60 !important;
  font-weight: bold !important;
  border-bottom: 3px solid #8d8d8d29;
  border-radius: 2px;
  padding-bottom: 15px;
  max-width: 78%;
  margin: auto;
}

.education-card h4 {
  font-size: 16px !important;
  color: #333 !important;
  margin-bottom: 10px !important;
}

.education-card p {
  font-size: 16px !important;
  color: #666 !important;
  margin-bottom: 10px !important;
}

.education-card:hover {
  transform: translateY(-5px);
  transition: transform 0.3s;
}

/* RESPONSIVE DESIGNS */
/* General Responsive Adjustments */

@media screen and (max-width: 1000px) {
  .projects__logo {
    width: 40px;
    height: auto;
  }

  .projects__title {
    font-size: 20px;
  }

  .projects__info,
  .projects__duration {
    font-size: 14px;
  }

  .projects__button {
    padding: 6px 10px;
    font-size: 12px;
  }

  .projects__expanded-content h4 {
    font-size: 12px;
  }
}

@media screen and (max-width: 850px) {
  .profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .profile__image-container {
    width: 175px;
    height: 175px;
  }

  .profile__wallet-card__net-worth-value {
    font-size: 28px;
  }

  .projects__logo {
    width: 30px;
    height: auto;
  }

  .projects__title {
    font-size: 16px;
  }

  .projects__info,
  .projects__duration {
    font-size: 12px;
  }

  .projects__button {
    padding: 5px 8px;
    font-size: 11px;
  }

  .projects__expanded-content h4 {
    font-size: 10px;
  }

  .projects-container {

    min-height: 116px;

  }

    .projects-expanded-container{
      text-align: center;
    }

  .projects__expanded-content h4{
    margin-bottom: 0px;
  }

  .skills{
    padding-bottom: 20px;
  }

  .job-roles__title h2 {
    font-size: 20px;
  }

    .job-roles__item {
      font-size: 13px;
    }
}

@media screen and (max-width: 800px) {
  .container {
    margin: 32px;
  }

  .profile,
  .skill-card,
  .education-container {
    flex-direction: column;
    align-items: center;
  }

  .skill-card__skills-container,
  .job-roles,
  .education-card {
    width: 100%;
  }

  .projects__item {
    flex-direction: column;
    /* align-items: flex-start; */
  }

  .projects__actions {
    flex-direction: column;
    width: 100%;
  }

  .projects__button {
    width: 100%;
    margin-bottom: 10px;
  }

    .education-grid {
      flex-direction: column;
    }

    /* EXTRA ADDITION */
    .projects__list,
    .projects__container,
    .skill__courses .projects__list,
    .skill__courses .projects__container {
      width: 100%;
    }

    .projects__item,
    .skill__courses .projects__item {
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }

    .projects__actions,
    .skill__courses .projects__actions {
      flex-direction: column;
      width: 100%;
    }

    .projects__button,
    .skill__courses .projects__button {
      width: 100%;
      margin-bottom: 10px;
    }

    .accordion__button,
    .skill__courses .accordion__button {
      align-self: stretch;
      text-align: right;
    }
}


@media screen and (max-width: 720px) {
  .education-grid{
    justify-content: center;
    align-items: center;
  }
}


/* Adjustments for very small screens */
@media screen and (max-width: 480px) {
  .container {
    margin: 16px;
  }

  .profile__image-container {
    width: 200px;
    height: 200px;
  }

  .skill-card__heading,
  .projects__heading {
    font-size: 24px;
  }

  /* EXTRA ADDITION */
  .projects__heading,
  .skill__courses .projects__heading {
    font-size: 20px;
  }

  .projects__info,
  .projects__duration,
  .skill__courses .projects__info,
  .skill__courses .projects__duration {
    font-size: 14px;
  }

  .projects__expanded-content {
    flex-direction: column;
    align-items: center;
  }
}
