*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: 'Nunito', sans-serif;
}

body{
    background-color: #ffffff;
}

/* .main-content{
    min-height: 100vh;
    width: 1400px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
} */

.main-content {
    min-height: 100vh;
    width: 100%;
    max-width: 1400px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

/* .left-section{
    grid-column: span 2;
    height: 100%;
    background-color: #d5d5d5;
}
.right-section{
    grid-column: span 5;
    background-color: #f7f7f7;
    height: 100%;
}


.left-content{
    padding: 2rem 3rem;
}
.profile{
    width: 100%;
    border-bottom: 1px solid #002638;
} 

.image{
    width: 100%;
    text-align: center;
}
.profile img{
    width: 100%;
    border: 8px solid #cdcdcd; 
    
}

.name{
    font-size: 2.5rem;
    color: #000;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.2rem 0;
}

.career{
    font-size: 1rem;
    color: #2F80ED;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 1rem;
    font-weight: bold;
}

.main-title{
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    padding-top: 1rem;
} */

/* .contact-info ul{
    padding-top: 1rem;
}

.contact-info ul li{
    padding: .4rem 0;
    display: flex;
    align-items: center;
    color: #718096;
    font-size: 18px;
}
.contact-info ul li i{
    padding-right: 1rem;
    font-size: 1.2rem;
    color: #2D9CDB;
    width: 35px;
}

.skills-section ul{
    padding-top: 1rem;
}
.skills-section ul li{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: .4rem 0;
    align-items: center;
}

.progress-bar{
    width: 100%;
    height: .4rem;
    background-color: #2f81ed5b;
    position: relative;
    border-radius: 12px;
}
.progress{
    height: 100%;
    position: absolute;
    left: 0;
    background-color: #2D9CDB;
    border-radius: 12px;
}
.js-progress{
    width: 70%;
}
.ps-progress{
    width: 90%;
}
.j-progress{
    width: 85%;
}
.c-progress{
    width: 40%;
}
.n-progress{
    width: 63%;
}
.w-progress{
    width: 78%;
}


.skill-title{
    text-transform: uppercase;
    color: #718096;
    font-size: 15px;
    font-weight: bold;
}

.sub-title{
    padding-top: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: #718096;
} */



.left-section {
    grid-column: span 2;
    background-color: #d5d5d5;
}

.right-section {
    grid-column: span 5;
    background-color: #f7f7f7;
}

.left-content {
    padding: 2rem 3rem;
}

.profile {
    width: 100%;
    border-bottom: 1px solid #002638;
}

.image {
    width: 100%;
    text-align: center;
}

.profile img {
    width: 100%;
    height: auto;
    border: 8px solid #cdcdcd;
    border-radius: 8px;
}

.name {
    font-size: 2rem;
    color: #000;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.2rem 0;
}

.career {
    font-size: 1rem;
    color: #2F80ED;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 1rem;
    font-weight: bold;
}

.main-title {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    padding-top: 1rem;
}

.contact-info ul {
    padding-top: 1rem;
}

.contact-info ul li {
    padding: .4rem 0;
    display: flex;
    align-items: center;
    color: #718096;
    font-size: 0.95rem;
    word-break: break-word;
}

.contact-info ul li i {
    padding-right: 1rem;
    font-size: 1.2rem;
    color: #2D9CDB;
    width: 35px;
}

.skills-section ul {
    padding-top: 1rem;
}

.skills-section ul li {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: .4rem 0;
    align-items: center;
}

.progress-bar {
    width: 100%;
    height: .4rem;
    background-color: #2f81ed5b;
    position: relative;
    border-radius: 12px;
}

.progress {
    height: 100%;
    position: absolute;
    left: 0;
    background-color: #2D9CDB;
    border-radius: 12px;
}

.js-progress { width: 70%; }
.ps-progress { width: 90%; }
.j-progress { width: 85%; }
.c-progress { width: 40%; }
.n-progress { width: 63%; }
.w-progress { width: 78%; }

.skill-title {
    text-transform: uppercase;
    color: #718096;
    font-size: 0.85rem;
    font-weight: bold;
}

.sub-title {
    padding-top: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    color: #718096;
}

.sub-para{
    color: #ccc;
    padding: .4rem 0;
}

.references-section li{
    color: #ccc;
    padding: .2rem 0;
}
.references-section li i{
    padding-right: .5rem;
    font-size: 1.2rem;
    color: #2D9CDB;
}

.right-main-content{
    padding: 2rem 3rem;
}


.right-title{
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2F80ED;
    margin-bottom: 1.2rem;
    position: relative;
}

.right-title::after{
    content: "";
    position: absolute;
    width: 30%;
    height: .2rem;
    background-color: #ccc;
    border-radius: 12px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.para{
    line-height: 1.6rem;
    color: #718096;
    font-size: 1.1rem;
}

.sect{
    padding-bottom: 2rem;
}

.timeline{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}

.tl-title{
    letter-spacing: 1px;
    font-size: 1.3rem;
    color: #002333;
    text-transform: uppercase;
}
.tl-title-2{
    letter-spacing: 1px;
    font-size: 1.3rem;
    color: #2D9CDB;
    text-transform: uppercase;
}

.tl-title-3{
    letter-spacing: 1px;
    font-size: 15px;
    color: #2D9CDB;
    text-transform: uppercase;
}

.tl-content{
    border-left: 1px solid #ccc;
    padding-left: 2rem;
    position: relative;
    padding-bottom: 2rem;
}

.tl-title-2::before{
    content: "";
    position: absolute;
    width: .7rem;
    height: .7rem;
    background-color: #2D9CDB;
    border-radius: 50%;
    transform: translateX(-50%);
    left: 0;
}

.left-tl-content{
    margin-bottom: 10px;
}

.projectinfo{
    margin: 10px 0;
}
.projectinfo li{
    line-height: 1.6rem;
    color: #718096;
    font-size: 1.1rem;
}

.projects-showcase{
    margin: 32px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
    padding: 0;
  }

  .proj{
        border: 1px solid;
        padding: 10px;
        transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s;
        display: flex;
        flex-direction: column;
        position: relative;
  }

  .proj::before{
    content: "";
    position: absolute;
    inset: -2px;
    z-index: 0;
    background: conic-gradient(from 180deg at 50% 50%, rgba(255,255,255,0.02), transparent 20%);
    pointer-events: none;
    border-radius: 14px;
    mix-blend-mode: overlay;
  }

  .proj:hover{
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 18px 40px rgba(2,6,23,0.75);
  }

  .proj-head{
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .proj h4{
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: -0.2px;
  }

  .proj .tech{
    display: inline-block;
    font-size: 0.78rem;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.02);
    /* padding: 6px 8px; */
    border-radius: 8px;
    width: fit-content;
  }

  .proj-body{
    /* margin-top: 12px; */
    z-index: 1;
    display:flex;
    align-items:center;
    justify-content: flex-start;
    gap: 10px;
  }

  .link{
    display: inline-block;
    font-size: 0.9rem;
    color: #2f80ed;
  }

  /* .link:hover{
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(10,12,18,0.6);
  } */

  /* restricted / placeholder links styling */
  .link.restricted{
    cursor: not-allowed;
    color: #5e5e5e;
    background: linear-gradient(90deg, rgba(255,255,255,0.01), rgba(255,255,255,0.01));
    border: 1px dashed rgba(255,255,255,0.04);
    opacity: 0.7;
    pointer-events: none;
  }

  /* small decorative accent in top-right */
  .proj .accent {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 44px;
    height: 44px;
    background: var(--accent);
    border-radius: 10px;
    z-index: 2;
    filter: blur(4px) saturate(1.1);
    opacity: 0.14;
    pointer-events: none;
  }


  .download-btn{
    display: block;
    padding: 10px 16px;
    border-radius: 8px;
    background: #2d9cdb;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    margin: 0 auto 15px;
  }
  .download-btn:hover{
    background:#1e4fd6;
  }

  /* responsive tweaks */

  @media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    .left-section, .right-section {
        grid-column: span 1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .left-content {
        padding: 1.5rem;
    }
    .name {
        font-size: 1.6rem;
    }
    .career {
        font-size: 0.9rem;
    }
    .main-title {
        font-size: 1.1rem;
    }
    .contact-info ul li {
        font-size: 0.85rem;
    }
}

  @media (max-width:640px){
    .projects-showcase{ gap: 12px; padding: 12px; }
    .proj{ padding: 14px; border-radius: 12px; min-height: 110px; }
    .proj h4{ font-size: 0.98rem; }
  }

/*Media Querries*/
@media screen and (max-width:823px){
    .right-title::after{
        width: 20%;
    }
}
@media screen and (max-width:681px){
    .right-title::after{
        width: 20%;
    }
}
@media screen and (max-width:780px){
    .timeline{
        grid-template-columns: repeat(1, 1fr);
    }
}
@media screen and (max-width:780px){
    .left-section{
        grid-column: span 3;
    }
    .right-section{
        grid-column: span 4;
    }
}
@media screen and (max-width:1200px){
    .main-content{
        grid-template-columns: repeat(1, 1fr);
    }
    .profile img{
        width: 40%;
    }
}
@media screen and (max-width:700px){
    .profile img{
        width: 60%;
    }
}

@media (max-width: 480px) {
    .left-content, .right-main-content {
        padding: 1rem;
    }
    .name {
        font-size: 1.4rem;
    }
    .career {
        font-size: 0.8rem;
    }
    .main-title {
        font-size: 1rem;
    }
    .skills-section ul li {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

@media screen and (max-width:390px){
    .name{
        font-size: 1.5rem;
    }
}

