* {
    --font-color: #383838;
    --main-color: #7be589;
    --background-color: #fcfaf8;
    --dark-black: rgb(20, 19, 19);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}
:root {
  --background-color: #fcfaf8;
  --font-color: #383838;
  --main-color: #7be589;
}

body {
  background: var(--background-color);
  color: var(--font-color);
  font-family: 'Montserrat', sans-serif;
}

html,
body {
    height: 100%;
    width: 100%;
}
#main {
    width: 100%;
}

#loader {
    /* display: none; */
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: var(--dark-black);
    color: white;
    z-index: 100;
}

#loader #topheading {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0);
    display: block;
    align-items: center;
}

#topheading h5 {
    text-align: center;
    text-transform: uppercase;
    font-size: 1vw;
    font-weight: 300;
}

#loader h1 {
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6vw;
    font-weight: 500;
}

.hide {
    display: inline-block;
}

#font-change {
    font-family: 'Great Vibes', cursive;
    color: var(--main-color);
    font-size: 10vw;
}

.reveal .parent {
    width: 100%;
    overflow-y: hidden;
    display: flex;
    justify-content: center;
}

.reveal .parent .child {
    display: block;
}

.parent .child span {
    display: inline-block;
}


#green {
    z-index: 90;
    width: 100%;
    position: absolute;
    top: 100%;
    height: 10vh;
    background-color: var(--main-color);
}

#home {
    
    width: 100%;
    height: 100%;
    bottom: 0;
    background-color: var(--background-color);
}

#home #nav {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    z-index: 99;
    position: sticky;
}

#nav a {
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 1vw;
    color: black;
    cursor: pointer;
}

.line {
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 0.12vw;
    background-color: black;
    bottom: 0;
    right: 0;
    transition: all 0.5s ease;
}

.line1 {
    left: 0;
    width: 0%;
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 1s;
    transition-delay: .1s;
}

.line2 {
    right: 0;
    width: 100%;
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 1s;
}

#nav a:hover .line2 {
    width: 0;
}

#nav a:hover .line1 {
    width: 100%;
}

.row {
    margin-top: 3vw;
    display: flex;
    justify-content: space-between;
    line-height: 1.2;
    width: 100%;
    color: var(--font-color);
    padding: 0 5vw;
}
.row h1 {
    font-size: 12vw;
    font-weight: 500;
    letter-spacing: -1vw;
}

.row .text {
    margin-top: 3vw;
}

.row h5 {
    text-transform: uppercase;
    opacity: .5;
    font-size: 1vw;
    font-weight: 400;

}

.row:nth-child(3) {
    margin-top: 15px;
}

.row svg {
    height: 9vw;
    margin-top: 3.7vw;
    margin-left: 0;
    color: var(--main-color);
}
.c-visual svg {
    opacity: 0;
    transition: opacity 1s ease;
}

.imagery {
    z-index: 100;
    align-items: center;
    display: flex;
    margin-top: 20vw;
    width: 100%;
    padding: 7vw;
    justify-content: space-between;
    /* background-color: red; */
}

.imaglef {
    width: 30%;
    height: auto;
    text-align: start;
}
.imaglef div #font-change{
    font-size: 3vw;
}

.imaglef div {
    font-size: 25px;
    color: var(--font-color);
    text-transform: uppercase;
    display: block;
    text-align: start;
    position: relative;
}

.imaglef div span {
    text-transform: initial;
}

.imagrig {
    position: absolute;
    z-index: 10;
    width: 70%;
    /* background-color: yellow; */
    align-items: center;
    justify-content: center;
    height: 300px;
}

.imagrig .imgcnt {
    filter: grayscale();
    position: absolute;
    top: 50%;
    left: 50%;
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 1.2s;
    /* transform: translate(-50%, -50%); */
    width: 27vw;
    height: 40vw;
    /* background-color: chocolate; */
    border-radius: 20px;
   
}
/* .card{
     animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}
@keyframes appear {
    from{
        opacity: 0;
        transform: rotate(-25deg);
    }
    to{
        opacity: 1;
        transform: rotate(-50deg);
    }
} */

.imagrig .imgcnt:hover{
    filter: grayscale(0);
}

.imagrig .imgcnt:nth-child(1) {
    transform: translate(-20%, -50%)rotate(-15deg);
    background-image: url(https://images.unsplash.com/photo-1533618821901-9e69d5f5360e?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTh8fHJhdyUyMHBvcnRyYWl0fGVufDB8fDB8fHww);
    background-size: cover;
    background-position: center;
    /* background-color: aqua; */
}

.imagrig .imgcnt:nth-child(2) {
    transform: translate(20%, -40%)rotate(-5deg);
    background-image: url(https://images.unsplash.com/photo-1553782376-b2e8256ab838?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTR8fHJhdyUyMHBvcnRyYWl0fGVufDB8fDB8fHww);
    background-size: cover;
    background-position: center;

    /* background-color: blue; */
}

.imagrig .imgcnt:nth-child(3) {
    transform: translate(60%, -30%)rotate(5deg);
    background-image: url(https://images.unsplash.com/photo-1586770802838-e524ec9018a8?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTl8fHJhdyUyMHBvcnRyYWl0fGVufDB8fDB8fHww);
    background-size: cover;
    background-position: center;    
    /* background-color: bisque; */
}

#work{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
    height: 100%;
    /* min-height: 70vh; */
    /* z-index: -1; */
    background-color: #f2f2f2;
    transition: background-color cubic-bezier(0.19, 1, 0.22, 1) 2s;
}

#work::before{

    content: "";
    top: -30px;
    /* bottom: -1; */
    position: absolute;
    width: 100%;
    height: 150px;
    /* background-image: url(https://abhishekjha.me/rip.f6d7c4dd.svg); */
    /* z-index: -1; */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: rotate(-180deg);

}
#work #arrow-right{
    color: var(--font-color);
    stroke: rgba(65, 65, 65, 0.3);
    top: 100px;
    height: 80px;

}
#help{
    margin: 7vw;
    margin-top: 20vw;
}

#line1, #line2{
    text-transform: uppercase;
    margin: 20px;
    padding: 0 0 0 120px;
}
#line1{
    font-size: 15px;
    color: #6b6b6b;
    width: 30%;
}
#line2{
    width: 40%;
    color: #383838;
    font-size: 20px;
}
hr{
    margin: 100px 0 0 140px;
    color: #383838;
}
.worknow{
    display: flex;
    flex-wrap: wrap;
}
.worknow h1{
    font-size: 110px;
    color: #383838;
    font-weight: 100;
    padding: 40px;
    margin-left: 90px;
    letter-spacing: -5px;
}
.worknow h1 #num{
    font-size: 15px;
    letter-spacing: 1px;
}
.worknow h1 #font-change{
    font-size: 130px;

}
.workbars{
    padding: 20px;
}
.worknow #arrow-left .o-ui-arrow{
    stroke: rgba(65, 65, 65, 0.3);
    height: 80px;
    transform: rotate(90deg);
    position: relative;
    margin: 80px 0 0 220px;
}.project-list {
  display: grid;
  gap: clamp(4rem, 8vw, 7rem);
  width: min(var(--max-width), 90vw);
  margin: 0 auto;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.project-card.reverse {
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
}

.project-card.reverse .project-media {
  order: 2;
}

.project-card.reverse .project-copy {
  order: 1;
}

.project-media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 26px 60px rgba(20, 19, 19, 0.11);
}

.project-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.7s ease, transform 0.7s ease;
}

.project-card:hover .project-media img {
  filter: grayscale(0);
  transform: scale(1.04);
}

.project-media span {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #111;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.project-kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  color: #858585;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-kicker strong {
  color: var(--main-color);
}

.project-kicker span {
  width: 2rem;
  height: 1px;
  background: rgba(56, 56, 56, 0.2);
}

.project-copy h3 {
  margin-bottom: 1.4rem;
  color: #151515;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
}

.project-copy p {
  max-width: 34rem;
  margin-bottom: 0.8rem;
  color: #626262;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 400;
  line-height: 1.7;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.7rem 0;
}

.tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.38rem 0.75rem;
  border: 1px solid rgba(56, 56, 56, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #5f5f5f;
  font-size: 0.78rem;
  font-weight: 600;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #2fbf4b;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: gap 0.25s ease;
}

.case-link::after {
  content: "->";
}

.case-link:hover,
.case-link:focus-visible {
  gap: 1rem;
}


#playbook{
    margin: 5vw 5vw 5vw 5vw;
    color: var(--font-color);
        transition: transform 0.9s cubic-bezier(0, 0.89, 0.41, 1);
}
#playbook button{
    width: 100%;
    border-radius: 50px;
    font-size: 20px;
    color: var(--font-color);
    border: 1px solid rgb(139, 139, 139);
    padding: 20px;

}
#playbook button #font-change{
    color: var(--font-color);
    font-size: 25px;
}
#playbook button:hover{
    background-color: #ffffff;
    transition: all cubic-bezier(0, 0.89, 0.41, 1) 2s;
}

.experience-section,
.achievements-section {
  background: #fafaf9;
}

.skills-section {
  background: var(--background-color);
}

.section-shell {
  width: min(var(--max-width), 90vw);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 7rem) 0;
}

.section-shell > h2,
.achievement-layout h2 {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  color: #151515;
  font-size: clamp(2.7rem, 6.4vw, 5.7rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.skills-section .section-shell > h2 {
  text-align: right;
}

.timeline {
  max-width: 860px;
  margin: 0 auto;
}

.experience-item {
  position: relative;
  padding-left: clamp(1.7rem, 4vw, 3rem);
  border-left: 1px solid rgba(56, 56, 56, 0.15);
}

.timeline-dot {
  position: absolute;
  top: 0.35rem;
  left: -0.42rem;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 18px rgba(197, 160, 89, 0.45);
}

.experience-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.6rem;
}

.experience-head h3 {
  color: #151515;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.1;
}

.experience-head p {
  margin-top: 0.4rem;
  color: var(--accent-color);
  font-family: "Great Vibes", cursive;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.experience-head span {
  color: #858585;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-align: right;
  text-transform: uppercase;
}

.experience-item ul {
  display: grid;
  gap: 1rem;
  list-style: none;
}

.experience-item li {
  position: relative;
  padding-left: 1.35rem;
  color: #626262;
  line-height: 1.7;
}

.experience-item li::before {
  content: "";
  position: absolute;
  top: 0.72rem;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent-color);
}


.achievements-section {
    background: #fafaf9;
}

.achievements-wrapper {
    width: 100%;
}

/* TOP CONTENT */

.achievements-content {
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    margin-bottom: 1rem;

    color: #c5a059;

    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.achievements-content h2 {
    max-width: 900px;

    font-size: clamp(4.5rem, 8vw, 9rem);
    line-height: 0.9;
    font-weight: 900;

    letter-spacing: -0.05em;

    color: #111;

    margin-bottom: 2rem;
}

.achievements-content p {
    max-width: 620px;

    color: #666;

    font-size: 0.95rem;
    line-height: 1.8;
}

/* ACHIEVEMENT GRID */

.achievements-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(280px, 1fr));

    gap: 1.5rem;
}

.achievement-card {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;

    padding: 2rem;

    background: white;

    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 24px;

    transition: 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.achievement-icon {
    min-width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: rgba(197, 160, 89, 0.12);

    color: #c5a059;

    font-size: 2rem;
    font-weight: 800;
}

.achievement-card h3 {
    margin-bottom: 0.5rem;

    color: #111;

    font-size: 1.1rem;
    line-height: 1.4;
}

.achievement-card p {
    color: #666;

    font-size: 0.9rem;
    line-height: 1.7;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .achievements-content h2 {
        font-size: clamp(3.5rem, 15vw, 6rem);
    }
}

@media (max-width: 600px) {

    .achievement-card {
        padding: 1.4rem;
    }

    .achievement-icon {
        min-width: 58px;
        height: 58px;

        font-size: 1.5rem;
    }

    .achievement-card h3 {
        font-size: 1rem;
    }

    .achievement-card p {
        font-size: 0.85rem;
    }
}
#bg-img{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
    height: 100%;
    /* min-height: 70vh; */
    /* z-index: -1; */
    background-color: #f2f2f2;
}
#bg-img::before{

    content: "";
    top: -50px;
    /* bottom: 10; */
    position: absolute;
    width: 100%;
    height: 150px;
    background-image: url(https://abhishekjha.me/rip.f6d7c4dd.svg);
    /* z-index: -1; */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* transform: rotate(-180deg); */

}
#cursor{
    position: absolute;
    width: 17vw;
    pointer-events: none;
    top: 0;
    left: 0;
    z-index: 999999;
}
#cursor>div{
    pointer-events: none;
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 1s;
    opacity: 0;
    position: absolute;
}
#elem{
    width: 100%;
    position: fixed;
}
#cursor .crow{
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: .7vw;
}
.crow .ccircle{
    width: 2vw;
    height: 2vw;
    border: 2px solid #fff;
    border-radius: 50%;
}
.crow .ccapsule{
    padding: .7vw 3vw;
    border-radius: 100px;
    background-color: #fff;
}
#elem img{
    width: 100%;
    opacity: 0;
    animation: an 4s linear infinite;
    position: absolute;
}
#elem img:nth-child(2){
    animation-delay: 1s;
}
#elem img:nth-child(3){
    animation-delay: 2s;
}
#elem img:nth-child(4){
    animation-delay: 3s;
}
#elem img:nth-child(5){
    animation-delay: 4s;
}

@keyframes an {
    0%{
        opacity: 1;
    }
    20%{
        opacity: 1;
    }
    21%{
        opacity: 0;
    }
    40%{
        opacity: 0;
    }
    60%{
        opacity: 0;
    }
    80%{
        opacity: 0;
    }
    100%{
        opacity: 0;
    }
}
.display{
    display: flex;
    
}

.toolset span:hover {
  border-color: var(--main-color);
  color: var(--main-color);
  transform: translateY(-2px);
} 

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.skill-card {
  padding: clamp(1.35rem, 2.8vw, 2rem);
  border: 1px solid rgba(56, 56, 56, 0.1);
  border-radius: 18px;
  background: #f8f8f6;
  box-shadow: 0 16px 40px rgba(20, 19, 19, 0.04);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.skill-card:hover {
  border-color: rgba(197, 160, 89, 0.45);
  transform: translateY(-4px);
}

.skill-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.4rem;
  border-radius: 16px;
  background: rgba(197, 160, 89, 0.13);
  color: var(--accent-color);
  font-weight: 800;
}

.skill-card h3 {
  margin-bottom: 1.2rem;
  color: #151515;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-card .tags {
  margin: 0;
}
