:root{
  --green:#67c587;
  --dark:#1f2933;
  --gray:#6b7280;
  --bg:#eef6f2;
}
*{margin:0;padding:0;box-sizing:border-box;font-family:poppins}

body{
 background: linear-gradient(
    120deg,
    #55c3a1,
    #88d47a,
    #5fb3ce,
    #67c587
  );
  background-size: 400% 400%;
  animation: gradientMove 12s ease infinite;
 
 
}
/* SMOOTH GRADIENT ANIMATION */
@keyframes gradientMove{
  0%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
  100%{background-position:0% 50%;}
}

/* Center content without forcing height */
.page-wrapper{
  min-height: 100svh; /* dynamic viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 16px; /* allows scroll when content grows */
}

.app{
  width:1200px;
  max-width:96%;
  height:85vh; /* IMPORTANT: fixed app height */
 
  border-radius:10px;
  display:grid;
  grid-template-columns:70px 360px 1fr; /* sidebar | static profile | scroll panel */
  overflow:hidden;
  
}
/* LEFT TABS CONTAINER */
.nav{
  padding-right:12px;   /* gap from profile */
  background:white;

margin: 70px 0px 10px 0px;

border-radius: 5px;
height: 320px;
}

/* PROFILE PANEL */

/* LEFT ICON TABS */
/* LEFT TAB MENU */
.nav a{
  width:64px;
  padding:10px 0;
  margin:8px 0;
  border-radius:12px;
  display:flex;
  flex-direction:column;       /* icon top, text bottom */
  align-items:center;
  justify-content:center;
  gap:6px;
  color:#555;
  text-decoration:none;
  transition:.3s ease;

}
.app .nav a:after{
    background: radial-gradient(ellipse at right, #dddddd 0%, rgba(255, 255, 255, 0) 70%);
    content: '';
    /* position: absolute; */
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
}

/* ICON */
.nav a .icon{
  font-size:18px;
  line-height:1;
}

/* TEXT UNDER ICON */
.nav a .link{
  font-size:11px;
  font-weight:600;
  letter-spacing:.3px;
  text-transform:uppercase;
}

/* ACTIVE + HOVER */
.nav a:hover,
.nav a.active{
  /* background:var(--green); */
  color:var(--green);
  cursor: pointer;
}

/* Optional: smooth scale effect */
.nav a:hover .icon{
  transform:scale(1.1);
}


/* MIDDLE STATIC PROFILE */

.profile{
  background:#fff;

 
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  position:relative;
 
  box-shadow:0 20px 40px rgba(0,0,0,.08);
  margin-left:14px;
  border-radius: 5px;
}

.profile-top{text-align:center}

.profile-image{
  width:100%;
  height:300px;
  overflow:hidden;
  position:relative;
}

.profile-image img{
  width:100%;
  height:100%;
  object-fit:cover;
 border-radius: 5px;
  /* CURVED / ANGLED BOTTOM like screenshot */
  clip-path:polygon(
    0 0,
    100% 0,
    100% 85%,
    50% 100%,
    0 85%
  );
}

.profile h2{font-size:26px;color:var(--dark)}
.profile span{color:var(--green);font-weight:600}

.social{
  display:flex;
  gap:14px;
  justify-content:center;
  margin:18px 0;
}
.social a{color:#333;font-size:15px}

.profile-actions{
  width:100%;
  display:flex;
  gap:14px;
  padding: 20px;
}

.profile-actions a{
      border:1px solid var(--green);
  flex:1;
  padding:18px 0;  /* TALL BUTTONS */
  text-align:center;
  text-decoration:none;
  font-weight:600;
  color:#333;
  cursor: pointer;
}

.profile-actions a.cv:before{
background: radial-gradient(ellipse at top, #dddddd 0%, rgba(255, 255, 255, 0) 70%);
content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    height: 100%;
}

.profile-actions a.primary{
  background:var(--green);
  color:#fff;
}
.profile-top{
  text-align:center;
  
}

.profile h2{
  font-size:26px;
  margin-top:18px;
  color:var(--dark);
}

.profile span{
  display:block;
  margin-top:6px;
  color:var(--green);
  font-weight:600;
}
.social{
  display:flex;
  justify-content:center;
  gap:18px;
  margin:20px 0 10px;
}

.social a{
  color:#222;
  font-size:15px;
  opacity:.8;
}
.profile-actions{
  display:flex;
  border-top:1px solid #eee;
}


.profile-actions a.primary{
  background:var(--green);
  color:#fff;
}

/* RIGHT TAB PANEL (SCROLL ONLY HERE) */
.tab-content{
  display:none;
  opacity:0;
  transform:translateY(20px);
}
.tab-content.active{
  display:block;
  animation:fadeSlide .45s ease forwards;
}
@keyframes fadeSlide{
  from{opacity:0;transform:translateY(20px)}
  to{opacity:1;transform:translateY(0)}
}

.panel{
  background:#fafafa;
  padding:34px 38px;
  overflow-y:auto; /* IMPORTANT */
  margin: 10px 0px 10px ;
 
}

.section{
    margin-bottom:40px;
}
.section h3{
  color:var(--green);
  font-size:22px;
  margin-bottom:18px;
}



.section h3 span{
color: #1f2933;
}

.about{
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:30px;
}
.about p{
    font-family: poppins;
    color:var(--gray);
    line-height:1.8;
}

.info div{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 0;
  border-bottom:1px dashed #ddd;
}
.info strong{
  background:var(--green);
  color:#fff;
  padding:4px 12px;
  border-radius:6px;
  font-size:13px;
}


/* RESPONSIVE */
@media(max-width:1000px){
  .app{grid-template-columns:60px 1fr}
 .about{
  display: block;
 }
}
@media(max-width:600px){
  .app{height:100vh;border-radius:0}
}
.typing{
  color:var(--green);
  font-weight:600;
  min-height:22px;
  display:inline-block;
}

.typing::after{
  content:"|";
  margin-left:4px;
  animation:blink 1s infinite;
}

@keyframes blink{
  0%,50%,100%{opacity:1}
  25%,75%{opacity:0}
}



/* service SECTION */
.services{
  width:100%;
  padding:40px 0;
}

/* TITLE */
.services h3{
  font-size:28px;
  font-weight:700;
  margin-bottom:30px;
}
.services h3 span{
  color:var(--green);
}

/* ROW FIX (Override Bootstrap) */
.services .row.service-box{
  margin:0;
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:28px;
}

/* COLUMN RESET */
.services .col-md-6.item{
  padding:0;
  max-width:100%;
}

/* SERVICE CARD */
.service{
  height:100%;
  background:#fff;
  border-radius:18px;
  padding:30px 26px;
  border:1px solid #eee;
  transition:all .35s ease;
}

/* HOVER */
.service:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 32px rgba(0,0,0,.08);
  border-color:var(--green);
}

/* ICON */
.service .icon{
  margin-bottom:18px;
}
.service-icon{
  width:56px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(103,197,135,.18);
  border-radius:16px;
  font-size:24px;
  color:var(--green);
}

/* TITLE */
.service .title span{
  display:block;
  font-size:18px;
  font-weight:600;
  margin-bottom:10px;
  color:#1f2933;
}

/* DESCRIPTION */
.service .desc p{
  font-size:14.5px;
  line-height:1.7;
  color:#6b7280;
}

/* TABLET */
@media(max-width:992px){
  .services .row.service-box{
    grid-template-columns:1fr;
  }
}

/* MOBILE */
@media(max-width:576px){
  .services{
    padding:28px 0;
  }
  .service{
    padding:24px 20px;
  }
}



/* resume section*/

/* SECTION */
.resume-section{
  /*padding:40px 0;*/
}

.resume-section h3{
  font-size:28px;
  font-weight:700;
  margin-bottom:35px;
}
.resume-section h3 span{
  color:var(--green);
}

/* ROW LAYOUT */
.resume-section .resume.row{
  margin:0;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:40px;
}

/* COLUMN RESET */
.resume-section .col-md-6{
  padding:0;
  max-width:100%;
}

/* TITLE (Experience / Education) */
.resume-title{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:28px;
}

.resume-title .icon{
  width:46px;
  height:46px;
  background:rgba(103,197,135,.15);
  color:var(--green);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
}

.resume-title .name{
  font-size:20px;
  font-weight:600;
  color:#1f2933;
}

/* ITEMS CONTAINER */
.resume-items{
  position:relative;
  padding-left:26px;
}

/* VERTICAL LINE */
.resume-items::before{
  content:"";
  position:absolute;
  left:6px;
  top:0;
  bottom:0;
  width:2px;
  background:#e5e7eb;
}

/* SINGLE ITEM */
.resume-item{
  position:relative;
  background:#fff;
  border:1px solid #eee;
  border-radius:16px;
  padding:20px 22px;
  margin-bottom:26px;
  transition:.3s ease;
}

/* DOT */
.resume-item::before{
  content:"";
  position:absolute;
  left:-31px;
  top:24px;
  width:14px;
  height:14px;
  background:var(--green);
  border-radius:50%;
  box-shadow:0 0 0 4px #eaf6f0;
}

/* HOVER */
.resume-item:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 28px rgba(0,0,0,.08);
  border-color:var(--green);
}

/* TEXT */
.resume-item .date{
  font-size:13px;
  font-weight:600;
  color:var(--green);
  margin-bottom:6px;
}

.resume-item .name{
  font-size:17px;
  font-weight:600;
  margin-bottom:4px;
  color:#1f2933;
}

.resume-item .company{
  font-size:14px;
  color:#6b7280;
  margin-bottom:10px;
}

.resume-item p{
  font-size:14.5px;
  line-height:1.7;
  color:#6b7280;
}

/* RESPONSIVE */
@media(max-width:992px){
  .resume-section .resume.row{
    grid-template-columns:1fr;
  }
}


/* end resume section*/

/* skills section*/
/* SECTION */
.skills-section{
  padding:40px 0;
}

.skills-section h3{
  font-size:28px;
  font-weight:700;
  margin-bottom:35px;
}
.skills-section h3 span{
  color:var(--green);
}

/* GRID */
.skills-section .skills.row{
  margin:0;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:40px;
}

.skills-section .col-md-6{
  padding:0;
  max-width:100%;
}

/* TITLE */
.skills-title{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:24px;
}

.skills-title .icon{
  width:46px;
  height:46px;
  background:rgba(103,197,135,.15);
  color:var(--green);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
}

.skills-title .name{
  font-size:20px;
  font-weight:600;
  color:#1f2933;
}

/* LIST */
.skills-section ul{
  list-style:none;
  padding:0;
  margin:0;
}

/* ITEM */
.skills-item,
.border-line-h{
  margin-bottom:22px;
}

.skills-item .name,
.border-line-h .name{
  font-size:15px;
  font-weight:500;
  margin-bottom:8px;
  color:#374151;
}

/* PROGRESS BAR */
.progress{
  position:relative;
  width:100%;
  height:8px;
  background:#e5e7eb;
  border-radius:10px;
  overflow:hidden;
}

/* FILL */
.progress .percentage{
  height:100%;
  background:linear-gradient(90deg, var(--green), #9ae6b4);
  border-radius:10px;
  width:0;
  animation:skillFill 1.2s ease forwards;
}

/* SKILL ANIMATION */
@keyframes skillFill{
  from{width:0;}
}

/* LANGUAGE DOT STYLE (OPTIONAL VISUAL) */
.border-line-h .dg,
.border-line-h .da{
  display:none;
}

/* HOVER EFFECT */
.skills-item:hover .percentage,
.border-line-h:hover .percentage{
  filter:brightness(1.1);
}

/* RESPONSIVE */
@media(max-width:992px){
  .skills-section .skills.row{
    grid-template-columns:1fr;
  }
}

/* CODING + KNOWLEDGE TITLES */
.coding-title,
.knowledge-title{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:24px;
}

.coding-title .icon,
.knowledge-title .icon{
  width:46px;
  height:46px;
  background:rgba(103,197,135,.15);
  color:var(--green);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
}

.coding-title .name,
.knowledge-title .name{
  font-size:20px;
  font-weight:600;
}

/* CODING LIST */
.coding-title + ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}

/* CODING ITEM */
.coding-title + ul li{
  text-align:center;
}

/* TITLE */
.coding-title + ul .title{
  margin-top:12px;
  font-size:14px;
  font-weight:600;
  color:#374151;
}

/* CIRCLE PROGRESS */
.coding-title + ul .progess{
  width:110px;
  height:110px;
  margin:0 auto;
  border-radius:50%;
  background:
    conic-gradient(var(--green) 0% 90%, #e5e7eb 90% 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}

/* INNER CIRCLE */
.coding-title + ul .progess::before{
  content:"";
  position:absolute;
  width:82px;
  height:82px;
  background:#fff;
  border-radius:50%;
}

/* PERCENTAGE */
.coding-title + ul .progess span{
  position:relative;
  font-size:18px;
  font-weight:600;
  color:var(--green);
}

/* RESPONSIVE */
@media(max-width:768px){
  .coding-title + ul{
    grid-template-columns:1fr 1fr;
  }
}
/* KNOWLEDGE LIST */
.knowledge-title + ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}

/* KNOWLEDGE ITEM */
.knowledge-title + ul li{
  display:flex;
  align-items:center;
  gap:12px;
  background:#fff;
  padding:12px 16px;
  border-radius:12px;
  font-size:15px;
  font-weight:500;
  box-shadow:0 8px 20px rgba(0,0,0,.04);
  transition:.3s ease;
}

/* ICON WRAP */
.knowledge-title + ul li span{
  width:26px;
  height:26px;
  background:rgba(103,197,135,.15);
  color:var(--green);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  flex-shrink:0;
}

/* HOVER EFFECT */
.knowledge-title + ul li:hover{
  transform:translateX(6px);
  box-shadow:0 12px 26px rgba(0,0,0,.08);
}

/*end skillls section*/

/*contact*/


.contact-section h3{
  font-size:28px;
  margin-bottom:24px;
}

.contact-section h3 span{
  color:var(--green);
}

/* COMMON CARD */
.contact-info,
.contact-form{
  background:#fff;
  padding:26px;
  border-radius:10px;
  box-shadow:0 15px 30px rgba(0,0,0,.05);
  margin-bottom:30px;
}

/* INFO ROW */
.info-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-bottom:20px;
}

.info-box{
  display:flex;
  align-items:center;
  gap:14px;
}

.info-box i{
  width:42px;
  height:42px;
  background:var(--green);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-size:16px;
}

.info-box h4{
  margin:0;
  font-size:14px;
}

.info-box p{
  margin:0;
  color:#6b7280;
  font-size:14px;
}

/* MAP */
.map{
  border-radius:16px;
  overflow:hidden;
}

.map iframe{
  width:100%;
  height:240px;
  border:0;
}

/* FORM */
.contact-form h4{
  margin-bottom:18px;
  font-size:18px;
}

.contact-form form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid #e5e7eb;
  font-size:14px;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color:var(--green);
  outline:none;
}

.contact-form button{
  margin-top:10px;
  padding:12px;
  border-radius:30px;
  border:none;
  background:var(--green);
  color:#fff;
  font-weight:600;
  cursor:pointer;
}

/* RESPONSIVE */
@media(max-width:768px){
  .info-row{
    grid-template-columns:1fr;
  }

  .form-row{
    grid-template-columns:1fr;
  }
}

/*end contact*/

/*work*/
#services h3 span{color:var(--green);}

/* TABS */
.work-tabs{
  display:flex;
  gap:14px;
  margin:20px 0 30px;
  flex-wrap:wrap;
}

.work-tabs button{
  padding:8px 18px;
  border-radius:30px;
  border:1px solid var(--green);
  background:none;
  cursor:pointer;
  font-weight:600;
  color:var(--green);
}

.work-tabs button.active,
.work-tabs button:hover{
  background:var(--green);
  color:#fff;
}

/* GRID */
.work-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}

.work-item{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 15px 30px rgba(0,0,0,.08);
}

.work-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.5s;
}

/* OVERLAY */
.work-item .overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  opacity:0;
  transition:.4s;
  text-align:center;
}

.work-item:hover img{
  transform:scale(1.1);
}

.work-item:hover .overlay{
  opacity:1;
}

.overlay h4{
  margin-bottom:6px;
}

.overlay span{
  font-size:14px;
  margin-bottom:12px;
}

.overlay button{
  padding:8px 18px;
  border-radius:30px;
  border:none;
  background:var(--green);
  color:#fff;
  cursor:pointer;
}

/* MODAL */
.work-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999;
}

.modal-box{
  background:#fff;
  padding:22px;
  border-radius:18px;
  max-width:500px;
  width:90%;
  text-align:center;
  animation:fadeUp .4s ease;
}

.modal-box img{
  width:100%;
  border-radius:12px;
  margin-bottom:12px;
}

.modal-box h4{
  margin:8px 0;
}

.modal-box p{
  color:#6b7280;
  font-size:14px;
}

.close{
  position:absolute;
  top:14px;
  right:18px;
  font-size:26px;
  cursor:pointer;
}

/* RESPONSIVE */
@media(max-width:768px){
  .work-grid{
    grid-template-columns:1fr;
  }
}

@keyframes fadeUp{
  from{opacity:0;transform:translateY(20px)}
  to{opacity:1;transform:translateY(0)}
}
/* HEADER ROW */
.work-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:30px;
}

/* TITLE */
.work-header h3{
  font-size:26px;
  font-weight:700;
  margin:0;
  color: black;
}

.work-header h3 span{
  color:var(--green);
}

/* TABS */
.work-tabs{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.work-tabs button{
  padding:8px 18px;
  border-radius:30px;
  border:1px solid var(--green);
  background:transparent;
  color:var(--green);
  font-weight:600;
  cursor:pointer;
  transition:.3s;
}

.work-tabs button.active,
.work-tabs button:hover{
  background:var(--green);
  color:#fff;
}

/* RESPONSIVE */
@media(max-width:768px){
  .work-header{
    flex-direction:column;
    align-items:flex-start;
  }

  .work-tabs{
    justify-content:flex-start;
  }
}

/*end work*/


/*responsive csss*/

/* ================= MOBILE LAYOUT ================= */
@media (max-width: 1000px) {

  body{
    align-items:flex-start;
  }

  .app{
    grid-template-columns:1fr;
    height:auto;
    min-height:100vh;
  }

  /* MOVE TABS TO TOP */
  .nav{
    order:1;
    display:flex;
    width:100%;
    height:auto;
    margin:0;
    padding:10px;
    justify-content:space-around;
    border-radius:0;
    position:sticky;
    top:0;
    z-index:10;
  }

  .nav a{
    width:auto;
    padding:8px 10px;
    margin:0;
  }

  .nav a .link{
    display:none; /* icon only on mobile */
  }

  /* PROFILE BELOW TABS */
  .profile{
    order:2;
    width:100%;
    margin:0;
    border-radius:0;
  }

  .profile-image{
    height:240px;
  }

  /* CONTENT LAST */
  .panel{
    order:3;
    margin:0;
    padding:22px 18px;
    height:auto;
    overflow:visible;
  }

  /* TAB CONTENT FIX */
  .tab-content{
    display:none;
  }

  .tab-content.active{
    display:block;
    /* animation:mobileFade .35s ease; */
  }

  @keyframes mobileFade{
    from{opacity:0;transform:translateY(20px)}
    to{opacity:1;transform:translateY(0)}
  }
}



#typing-title::after {
  content: "|";
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}







/* Logo container */
.profile-logo {
    position: absolute;
    bottom: 8px;              /* Adjust to move up/down */
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Logo image */
.profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
