* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.main-out-box{
  padding: 20px;
}

.content-holder-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 25px;
  padding: 40px 15px;
}

.content-headings {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.content-holder-box .content-holder-heading {
  font-family: Prompt;
  font-size: 32px;
  line-height: 34px;
  font-weight: 700;
  color: black;
  text-align: center;
}

.content-holder-box .lines {
  border: 4px solid #24366580;
  max-width: 60px;
  width: 100%;
  border-radius: 4px 0 0 4px;
}

.content-holder-box .line{
  border-radius:0 4px 4px 0;
}

.experience-box-holder {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}
.roundedimg{
  position: absolute;
  z-index: -10;
}
.roundedimg img{
  max-width: 150px;
  width: 100%;
}
.roundleft{
  left: 0;
  bottom: -150px;
}
.roundright{
  right: 0;
  bottom: -410px;
}
.experience-box {
  background-color: white;
  position: relative;
  /* max-width: 1500px; */
  width: 90%;
  box-shadow: 0px 4px 4px 0px #00000040;
  border: 0.5px solid #C7C7C7;
  border-radius: 10px;
  min-height: 180px;
  max-height: 300px;
  height: max-content;
  transition: all 0.3s ease-in, box-shadow 0.3s ease-in;
}

.experience-box:hover{
  transform: scale(1.03);
  box-shadow: 0px 6px 6px 0px #00000050;
}

.upper {
  display: flex;
  justify-content: space-between;
}

.upper-icon {
  /* min-width: 50px; */
  max-width: 60px;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.upper-icon img {
  max-width: 60px;
  width: 100%;
  object-fit: cover;
}

.upper-content-bx {
  display: flex;
  flex-direction: column;
  padding: 15px 15px;
}

.upper-part {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.exp-content {
  /* max-width: 1000px; */
  width: 100%;
}

.exp-head {
  font-family: Prompt;
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
  width: 100%;
}
.exp-head .lightheading{
  color: #424242;
}
.subhead{
  color: #00246B;
  font-family: prompt;
  font-weight: 700;
}
.exp-para {
  font-family: Prompt;
  font-size: 18px;
  line-height: 24px;
  width: 100%;
  padding-left: 80px;
  /* overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; */
}

.right-dsg {
  min-width: 105px;
  max-width: 115px;
  width: 100%;
  /* height: 40px; */
  text-align: center;
  /* border: 1px solid black; */

}

.exp-year {
  /* max-width: 105px; */
  /* width: 100%; */
  font-family: Prompt;
  font-size: 16px;
  font-weight: 400;
  line-height: 34px;
  color: rgb(0, 0, 0);
  background-color: #CADCFC;
  box-shadow: 0px 4px 4px 0px #00000040;
  padding: 5px 5px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

/* Triangle Design */
.triangle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 100px 0 0 100px;
  /* Adjust size */
  transform: rotate(-90deg);
  border-color: transparent transparent transparent #00246B;
  border-bottom-left-radius: 10px;
}

.triangle .viewdetails {
  cursor: pointer;
  position: absolute;
  /* left: -80px; */
  bottom: 12px;
  /* Centers text */
  right: 40px;
  /* Centers text */
  transform: rotate(45deg);
  font-family: "Poppins", serif;
  font-size: 14px;
  line-height: 20px;
  color: #ffffff;
  font-weight: 400;
  text-align: center;
  /* border: 1px solid black; */
}


/* Professional Certificates */
.container-certification {
  padding: 30px;
  width: 100%;
  display: flex;
  gap: 20px;
  flex-direction: column;
  align-items: center;
}

.certification {
  border-radius: 8px;
  padding: 25px;
  border: 0.5px solid #C7C7C7;
  transition: transform 0.5s ease, background-color 0.3s ease;
  max-width: 90%;
  width: 100%;
  box-shadow: 0px 4px 4px 0px #00000040;
  position: relative;
  /* border-top: 4px solid #00246b54; */
  background-color: white;
}

.certification::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0;
  width: 0;
  height: 4px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background-color: #00246B;
  transition: width 0.8s ease;
}

.certification:hover::before {
  width: 100%;
}

.certification:hover {
  background-color: #E4EDFD;
  transform: scale(1.03);
}

/* Middle certification special case */
#middle-certification {
  background-color: #E4EDFD;
}

#middle-certification:hover {
  background-color: #E4EDFD;
  color: white;
}

.certification:hover .certificate-header .cer-head {
  font-weight: 700;
}

.certificate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Prompt;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.certificate-header .cer-head {
  font-size: 20px;
  color: #292929;
  font-weight: 500;
}

.year {
  font-family: Prompt;
  font-size: 18px;
  font-weight: 600;
  color: #243665;
  font-style: italic;
}
/* skill */
.skill-box-holder{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 90%;
  /* padding: 20px 5px; */

}
.skills-box{
  max-width: 370px;
  width: 100%;
  height: 440px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 4px 4px 0px #00000040;
  border: 1px solid #CFCFCF;
  border-radius: 10px;
  transition: all 0.4s ease-in, box-shadow 0.3s ease-in;
}
.skills-box:hover{
  color: rgb(0, 0, 0);
  background-color: #CADCFC;
  background-color: rgb(228,237,253);
  transform: scale(1.04);
  box-shadow: 0px 6px 6px 0px #00000050;
}
/* SVGs */
.skill-icon {
  position: relative;
  width: 60px;
  height: 60px;
}

.skill-icon img {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: opacity 0.4s ease;
}

.skill-icon .default-icon {
  opacity: 1; /* Purple SVG visible by default */
}

.skill-icon .hover-icon {
  opacity: 0; /* White SVG hidden by default */
}

.skills-box:hover .skill-icon .default-icon {
  opacity: 0; /* Hide purple SVG on hover */
}

.skills-box:hover .skill-icon .hover-icon {
  opacity: 1; /* Show white SVG on hover */
}
.skills-box .skill{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  gap: 15px;
}
.skill-icon{
  display: flex;
  justify-content: center;
  /* padding: 10px; */
  /* margin-bottom: 10px; */
}
.skill .skill-head{
  font-family: Prompt;
  font-size: 22px;
  font-weight: 600;
  line-height: 26px;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;

}
.skill .skill-para{
  font-family: Prompt;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
}
.item {
  display: flex;
  align-items: flex-start;
  gap: 10px; /* Adds space between checkmark and text */
}

.checkmark {
  flex-shrink: 0; /* Prevents the checkmark from shrinking */
}

.sidebar {
  position: fixed;
  top: 0;
  right: -500px;
  max-width: 500px;
  width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  transition: right 0.5s ease-in-out;
  padding: 20px;
  z-index: 1000;
  overflow-y: auto;
}

.sidebar.active {
  right: 0;
}
.sidehidescroll{
  /* max-height: 540px;
  height: 100%;
  overflow-y: auto; */
  /* overflow-y: auto; Enable vertical scrolling */
  /* max-height: 400px; Set max height for scrollable content */
  padding-right: 20px; /* Add padding for scrollbar */
}
/* Customize the scrollbar */
.sidebar-content::-webkit-scrollbar {
  width: 10px; /* Set the width of the scrollbar */
}

.sidebar-content::-webkit-scrollbar-thumb {
  background-color: #00246B; /* Set the color of the scrollbar thumb */
  border-radius: 5px; /* Optional: add rounded corners */
}

.sidebar-content::-webkit-scrollbar-track {
  background-color: rgba(202, 220, 252, 0.5); /* Set the track background color */
}
/* Background overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000080;
  z-index: 1000;
  display: none;
  transition: right 0.5s ease-in-out;

}

/* Show overlay when sidebar is open */
.overlay.active {
  display: block;
}
.sidebar-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  width: 100%;
  font-family: "Poppins", serif;
  overflow-y: auto;
}
.hidden-details {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  height: 100%;
}

.sidehide-header {
  border-bottom: 2px solid #00246B;
  padding-bottom: 10px;
  margin-bottom: 15px;
  margin-right: 20px;
}

.sidehide-title {
  color: #353E53;
  font-family: Poppins;
  font-size: 22px;
  font-weight: 700;
  text-align: left;
  line-height: 32px;
}

.sidehide-subtitle {
  font-size: 1rem;
  color: #666;
  line-height: 24px;
  padding-top: 5px;
}

.sidehide-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.sidehide-tasks {
  /* list-style-type: disc; */
  padding-left: 20px;
  font-size: 1rem;
  color: #444;
  height: 100%;
  line-height: 1.6;
}

.sidehide-tasks li {
  margin-bottom: 8px;
}


#close-sidebar {
  width: 138px;
  height: 50px;
  padding: 10px;
  margin: 10px auto;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0px 2px 2px 2px #CCCCCC1A;
  border: 1px solid rgba(220, 220, 220, 0.684);
  background-color: rgba(202, 220, 252, 0.5);
  font-family: Poppins;
  font-size: 14px;
  font-weight: 700;
  /* line-height: 24px; */
  text-align: center;
  color: #00246B;
  transition: all 0.3s ease-in;
}

#close-sidebar:hover{
  cursor: pointer;
  background-color: #00246B;
  color: white;
}


@media (max-width:1348px) {
  .skill-box-holder{
    justify-content: space-evenly;
    gap: 25px;
  }
}

@media (max-width:768px) {
  .main-out-box{
    padding: 0px;
  }
  .content-holder-box .content-holder-heading {
    font-size: 22px;
  }
  .content-headings {
    width: 100%;
    gap: 10px;
  }
  .content-holder-box .lines {
    border: 3px solid #919AB1;
  }
  .upper-content-bx {
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
  }
  .upper-part {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
  .exp-head {
    font-size: 18px;
    width: 100%;
    line-height: 25px;
    
  }
  .exp-para {
    font-size: 16px;
    width: 100%;
    padding-left: 10px;
    font-weight: 400;
  }
  .subhead{
    font-weight: 500;
  }
  .experience-box {
    width: 100%;
    max-height: 500px ;
    height: 100%;
  }
  .exp-year {
    font-size: 14px;
  }
  .triangle .viewdetails {
    font-size: 12px;
  }
  .skill .skill-head{
    font-size: 18px;
  }
  .skill .skill-para{
    font-size: 16px;
  }
  .container-certification{
    max-width: 100%;
    width: 100%;
  }
  .year {
    font-size: 16px;
  }
  .certificate-header .cer-head{
    font-size: 18px;
  }
}
@media (max-width:618px) {
  .certificate-header{
    flex-direction: column-reverse;
    gap: 10px;
  }
  .certificate-header>span{
    text-align: center;
  }
}
@media (max-width:346px) {
  .skills-box{
    height: 100%;
  }
}


