* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: #0d0d0d;
  color: #ffffff;
}

.page {
  display: flex;
  gap: 24px;
  padding: 24px;
  align-items: flex-start;
}

/* SIDEBAR */
.sidebar {
  width: 280px;
  background: linear-gradient(180deg, #1c1c1f, #151517);
  border: 1px solid #2c2c2f;
  border-radius: 28px;
  padding: 28px 24px;
  flex-shrink: 0;
  position: sticky;
  top: 20px;
  height: fit-content;
}

.top {
  position: relative;
}



.avatar-box {
  width: 120px;
  height: 120px;
  background: #2a2a2d;
  border-radius: 28px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-box img {
  width: 78px;
  border-radius: 50%;
}

.name {
  text-align: center;
  font-size: 22px;
  margin: 22px 0 10px;
  font-weight: 600;
}

.role {
  width: fit-content;
  margin: 0 auto;
  background: #2a2a2d;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  color: #ededed;
}
.toggle-btn {
  display: none;
  border: none;
  background: #202023;
  color: #f2c94c;
  width: 42px;
  height: 42px;
  border-radius: 0 18px 0 18px;
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
}

.toggle-btn.active i {
  transform: rotate(180deg);
}

.toggle-btn i {
  transition: 0.3s;
}

.line {
  height: 1px;
  background: #2f2f34;
  margin: 28px 0;
}

.info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #1d1d20;
  color: #f2c94c;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.label {
  margin: 0 0 4px;
  font-size: 12px;
  color: #8d8d94;
}

.value {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
}

#mapContainer {
  transition: 0.3s;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
  cursor: pointer;
}

.socials i {
  color: #f2c94c;
  font-size: 18px;
}
/* MAIN CARD */
.main-card {
  flex: 1;
  background: linear-gradient(180deg, #1c1c1f, #151517);
  border: 1px solid #2c2c2f;
  border-radius: 28px;
  padding: 34px 28px 28px;
  position: relative;
}

.tabs-wrapper {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: flex-end;
  /* keeps it right side */
  z-index: 100;
}

.tabs {
  position: sticky;
  top: 0;
  /* right: 0;*/
  margin-left: auto;
  background: #202023;
  border-bottom-left-radius: 24px;
  border-top-right-radius: 28px;
  padding: 18px 28px;
  display: flex;
  gap: 28px;
  z-index: 10;
}

.tabs a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: #ccc;
  transition: 0.3s;

}

/* underline */
.tabs a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #facc15;
  transition: 0.3s;
}

.tabs a.active {
  color: #f2c94c;
}

.tabs a.active:hover::after {
  width: 100%;
}

.tabs a:hover {
  color: #facc15;
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.7);


}

.tabs a:hover::after {
  width: 100%;
}
.section {
  margin-bottom: 34px;
}

.section h2{
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 700;
}

.underline {
  width: 42px;
  height: 5px;
  background: #f2c94c;
  border-radius: 999px;
  margin-bottom: 22px;
}

.section p {
  color: #dddddf;
  line-height: 1.9;
  font-size: 15px;
}
.section_head{
    display: flex;
    align-items: first baseline;
    gap: 10px;
}
.section_content{
    display: flex;
    align-items: first baseline;
    gap: 10px;
    
}
.content h4{
    color: #f2c94c;;
}
.myskills_container{
    
    background-color:#222224 ;
    padding: 50px;
    border-radius: 50px;
}

.progress_bar{
    
    width: 80%;
    height: 10px;
    background-color: #383838;
    border-radius: 10px;
    color: #FFC15F;
}
.progressbar_head{
  display: flex;
  align-items: first baseline;
  gap: 10px;
}
.progress_fill{
    
    height: 100%;
    background-color:#FFC05F ;
    border-radius: 10px;
    animation-name: fill;
    animation-timing-function: ease;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    transform: scaleX(0);
    transform-origin: left;
    
}
@keyframes fill {
    100%{
        transform:scaleX(1) ;

    }
}
.resumebuttn{
  padding: 20px;
  
}
.resumebuttn_head{
  display: flex;
  align-items: first baseline;
  gap: 10px;

}
.resumebuttn button{
  background-color:#f2c94c; 
  border-radius: 10px;
  border: transparent;
  padding: 10px;
  margin-left: 10px;
  width: 80px;
  
  
}
.resumebuttn button:hover{
  transform: scale(1.20);
}
/* MOBILE + TABLET */
@media (max-width: 1024px) {
  .page {
    flex-direction: column;
    padding: 14px 14px 90px;
  }

  
  .main-card {
    width: 100%;
    z-index: 1;
    box-sizing: border-box;
  }

  .sidebar {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    padding: 18px 18px 16px;
    border-radius: 24px;
    z-index: 2;
    position: relative !important;
    top:unset;
  }

  .top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 52px;
    position: relative;
  }

  .avatar-box {
    width: 88px;
    height: 88px;
    margin: 0;
    border-radius: 22px;
  }

  .avatar-box img {
    width: 60px;
  }

  .top-text {
    flex: 1;
  }

  .name {
    text-align: left;
    margin: 0 0 10px;
    font-size: 18px;
  }

  .role {
    margin: 0;
    font-size: 13px;
  }

  .toggle-btn {
    display: block;
  }

  .sidebar-content {
    display: none;
  }

  .sidebar-content.active {
    display: block;
  }

  .main-card {
    padding: 28px 16px 24px;
    border-radius: 24px;
  }

  .tabs-wrapper {
    position: static;
    display: block;
  }

  .tabs {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    display: flex;
    justify-content: space-around;
    gap: 6px;
    padding: 14px 8px;
    background: rgba(32, 32, 35, 0.97);
    border-top: 1px solid #2f2f34;
    border-radius: 18px 18px 0 0;
    backdrop-filter: blur(10px);
    z-index: 999;
  }

  .tabs a {
    font-size: 12px;
  }
}

    