
#footer {
  pointer-events: auto;
}

#footer .active {
  pointer-events: auto;
}
.amita-regular {
    font-family: "Amita", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .amita-bold {
    font-family: "Amita", serif;
    font-weight: 700;
    font-style: normal;
  }
  
.dancing-script {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
  }

.lovers-quarrel-regular {
    font-family: "Lovers Quarrel", cursive;
    font-weight: 400;
    font-style: normal;
  }
  
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Gilroy', sans-serif; Add fallback */
}

html, body {
    height: 100%;
    width: 100%;
    scroll-padding-top:60px ;
    scroll-margin-top: 80px; 
     background-color: #eed9c4;
}

#main {
    position: relative;
    z-index: 10;
}

#page1 {
    min-height: 95vh;
    width: 100%;
    background-color: #eed9c4;
    position: relative;
    padding: 0 2vw;
}

nav {
    padding: 3vw 0vw;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
    justify-content: center;
}

#nav-part2 {
    display: flex;
    align-items: center;
    gap: 1vw;
}

#nav-part2 h4 {
    padding: 10px 20px;
    border: 1px solid #0000003c;
    border-radius: 50px;
    font-weight: 500;
    color: #000000bb;
    transition: all ease 0.4s;
    position: relative;
    font-size: 18px;
    overflow: hidden;
}

#nav-part2 h4::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: black;
    left: 0;
    bottom: -100%;
    border-radius: 50%;
    transition: all ease 0.4s;
}

#nav-part2 h4:hover::after {
    bottom: 0;
    border-radius: 0;
}

#nav-part2 h4 a {
    color: #000000bb;
    text-decoration: none;
    position: relative;
    z-index: 9;
}

#nav-part2 h4:hover a {
    color: #fff;
}

nav h3 {
    display: none;
}

#center {
    height: 80vh;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: none;
}
#left h3 {
    width: 30vw;
    font-size: 4vw;
    line-height: 3vw;
    font-weight: 600;
    padding-bottom: 15px;
    font-family: "Dancing Script";
}

#page1 #gooey {
    height: 32vw;
    width: 32vw;
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(to top right, #ff2d03, #ff5c0b);
    /* background: linear-gradient(to top right,red,blue); */
    top: 20%;
    left: 25%;
    filter: blur(20px);
    animation-name: gooey;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;

}

@keyframes gooey {
    from {
        filter: blur(20px);
        transform: translate(-20%, -10%) skew(0);
    }

    to {
        filter: blur(30px);
        transform: translate(10%, 10%) skew(-12deg);
    }
}


#center h1 {
    font-size: 10vw;
    text-align: right;
    line-height: 8vw;
}

#resume{
    margin: 0 auto; 
    display: flex;
    justify-content: center;
    align-items: center;
}

#resume button{
    padding: 10px 20px;
    border: 1px solid #000000;
    border-radius: 50px;
    font-weight: 500;
    font-size: 3vw;
    transition: all ease 0.4s;
    position: relative;
    overflow: hidden;
    background: #eed9c4;
}


#resume button::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background: black;
    left: 0;
    bottom: -100%;
    border-radius: 50%;
    transition: all ease 0.4s;
}

#resume button:hover::after {
    bottom: 0;
    border-radius: 0;
}

#resume button a {
    color: transparent;
    background: linear-gradient(to right,orange,orangered);
    -webkit-background-clip: text;  
    text-decoration: none;
    position: relative;
    z-index: 9;
}

#resume button:hover a {
    color: #fff;
}


#page2 {
    min-height: 95vh;
    width: 100%;
    background-color: #eed9c4;
    padding: 5vw 0;
    position: relative;
}

#moving-text {
    overflow-x: auto;
    white-space: nowrap;
}

#moving-text::-webkit-scrollbar {
    display: none;
}

.con {
    white-space: nowrap;
    display: inline-block;
    animation-name: move;
    animation-duration: 10s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

#moving-text h1 {
    font-size: 4vw;
    /* background-color: lightblue; */
    display: inline-block;
}

#gola {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    display: inline-block;
    background-color: #FE320A;
    margin: 1vw;
}

@keyframes move {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.aboutsec {
  /* background: #0b0f14; */
  padding: 100px 6vw;
  color: #151515;
}

.about-title {
  font-family: "Lovers Quarrel", cursive;
  text-align: center;
  font-size: 8vw;
  font-weight: 700;
  margin-bottom: 60px;
}

.about-title span {
  color:  #FE320A;
}

.about-container {
  display: flex;
  gap: 60px;
  align-items: center;
}

/* LEFT */
.about-left {
  flex: 1;
}

.about-left h3 {
  color: #FE320A;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.about-left p {
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #1a1919;
}

/* RIGHT */
.about-right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.info-card {
  background: #e3cdb6;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(226, 98, 98, 0.08);
  transition: 0.3s ease;
  /* border-color: #f49370; */
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(243, 77, 47, 0.4);
  border-color: #f49370;
}

.icon {
  font-size: 30px;
  background: #ee7214;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: #fff;
}

.info-card h4 {
  margin-bottom: 8px;
  color: #fff;
}

.highlight {
  color: #e754c8;
  font-weight: 600;
  margin-bottom: 6px;
}

.info-card p {
  font-size: 0.9rem;
  color: #aaa;
}

@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    gap: 50px;
  }

  .about-left,
  .about-right {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .about-right {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .about-title {
    font-size: 12vw;
  }
}
@media (max-width: 480px) {
  .about-right {
    grid-template-columns: 1fr;
  }

  .about-left h3 {
    font-size: 1.3rem;
  }

  .about-left p {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .about-left {
    text-align: center;
  }
}


#page3 {
    min-height: 100vh;
    width: 100%;
    background-color:#eed9c4;
    padding: 4vw 0;
}
#page3 h1{
    /* text-decoration:underline; */
    padding-left: 25px;
    font-family: "Lovers Quarrel", cursive;
    font-size: 6vw;
    text-align: center;
}
.elem {
    height: 150px;
    width: 100%;
    position: relative;
    border-bottom: 1px solid #38383864;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2vw;
}

.elem h2 {
    font-size: 3vw;
    position: relative;
    z-index: 9;
    font-family: "Amita", serif;
    color: #EFEAE3;
    text-decoration: none;
}
.elem a{
    text-decoration: none;
    color: #513003;
}
.elem h5{
    /* text-align: right; */
    width: 30vw;
    font-size: 1.4vw;
    line-height: 2vw;
}
.elem .overlay {
    height: 100%;
    width: 100%;
    background-color:#f56a48;
    position: absolute;
    left: 0;
    top: -100%;
    transition: all ease 0.25s;
}

.elem:hover .overlay {
    top: 0;
}


#fixed-image {
    height: 30vw;
    width: 24vw;
    /* background-color: red; */
    border-radius: 15px;
    position: fixed;
    z-index: 99;
    left: 40%;
    top: 25%;
    display: none;
    background-size: contain;
    background-size: cover;
    /* background-position: center; */
    background-repeat: none;
}

#page4 {
    /* height: 365vh; */
    min-height: 100vh;
    width: 100%;
    background-color: #eed9c4;
    padding: 3vw 2vw;
}

#page4 h1{
    font-family: "Lovers Quarrel", cursive;
    font-size: 6vw;
    margin-bottom: 20px; 
     text-align: center;
}

#floating-skills {
  width: 100%;
  overflow: hidden;
  padding-top: 20px;    /* reduced from 80px */
  padding-bottom: 40px;
  background: transparent;
}

.skills-row {
  width: 100%;
  overflow: hidden;
  margin: 20px 0;
}

.skills-track {
  display: flex;
  gap: 50px;
  width: max-content;
  will-change: transform;
}

/* movement */
.row-left .skills-track {
  animation: moveLeft 20s linear infinite;
}

.row-right .skills-track {
  animation: moveRight 20s linear infinite;
}

/* individual skill */
.skill {
  min-width: 110px;
  height: 110px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}


.skill img {
  width: 70%;
  height: auto;
  filter: grayscale(30%);
   transition: filter 0.3s ease, transform 0.3s ease;
}

/* hover effect */
.skill:hover {
  transform: scale(1.25) translateY(-4px);
    /* box-shadow:
    0 0 14px rgba(245, 106, 72, 0.7),
    0 0 28px rgba(245, 106, 72, 0.45),
    0 0 50px rgba(245, 106, 72, 0.25); */
  z-index: 10;
}

.skill:hover img {
  filter:
    grayscale(0)
    drop-shadow(0 0 8px rgba(245, 106, 72, 0.7))
    drop-shadow(0 0 18px rgba(245, 106, 72, 0.45))
    drop-shadow(0 0 30px rgba(245, 106, 72, 0.25));
}

/* animations */
@keyframes moveLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes moveRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* Style for the image */
/* .sideimg {
    width: 20vw ; 
    height: 20vh; 
}
.sideimg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
} */

.timeline-section {
  padding: 120px 6vw;
  background: #eed9c4;
}

.timeline-title {
  font-family: "Lovers Quarrel", cursive;
  font-size: 7vw;
  text-align: center;
  margin-bottom: 80px;
}

.timeline-title span {
  color: #FE320A;
}

/* TIMELINE */
.timeline {
  position: relative;
  max-width: 1100px;
  margin: auto;
}

/* center line */
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, orange, rgb(198, 111, 80));
  transform: translateX(-50%);
}

/* item */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 30px 40px;
}

/* left & right */
.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

/* card */
.content {
  background: #e3cdb6;
  padding: 25px;
  border-radius: 20px;
  transition: 0.3s ease;
}

.content:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(254, 50, 10, 0.4);
}

/* dot */
.dot {
  position: absolute;
  top: 40px;
  width: 14px;
  height: 14px;
  background: #FE320A;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(254, 50, 10, 0.8);
}

.left .dot {
  right: -7px;
}

.right .dot {
  left: -7px;
}

/* text */
.content h3 {
  color: #FE320A;
  margin-bottom: 8px;
}

.content p {
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

.content span {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* MOBILE */
@media (max-width: 768px) {
  .timeline::before {
    left: 8px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 40px;
    padding-right: 0;
    text-align: left;
  }

  .timeline-item.left,
  .timeline-item.right {
    left: 0;
  }

  .dot {
    left: 1px;
  }
}


#page5 {
    min-height: 68vh;
    width: 100%;
    /* background-color: #EFEAE3; */
}

#footer {
    position: fixed;
    height: 100vh;
    width: 100%;
    background-color: #000;
    color: #fff;
    z-index: 9;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    padding: 0vw 2vw;
}

#footer #foot {
    font-size: 13vw;
    font-family: "Amita", serif;
    margin-bottom: 0%;
    text-align: center;
    color: transparent;
    background: linear-gradient(to right,orange,orangered);
    -webkit-background-clip: text;  
    text-decoration: none;
}

#footer-div {
    margin-top: 20px;
    height: 30vh;
    width: 100%;
    font-size: 25px;
    color: white;
    /* background-color:#00000070; */
}

#footer-div h2{
    margin-left: 10%;
    text-align:left;
    height: 10vh;  
    font-weight: 900;
    /* font-family: "Amita", serif; */
}

#contact {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    margin: 0 auto;
    width: 60%;
    max-width: 500px; /* Prevents it from being too wide */
    z-index:999;
}

#contact a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: linear-gradient(to right, orange, orangered);
    text-decoration: none;
    z-index: 999;
}

#contact,
#contact a {
  position: relative;
  z-index: 999;
  pointer-events: auto;
}

#contact a i {
    font-size: 20px; 
    color: white;
}
.icon-leetcode {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('/assets/leetcode.svg'); /* Path to your SVG file */
    background-size: cover;
    color: white;
}
.icon-gfg {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('/assets/geeksforgeeks.svg'); /* Path to your SVG file */
    background-size: cover;
    color: white;
}
#footer-bottom {
    /* margin-top: 12px; */
    border-top: 2px solid #dadada;
    height: 7vh;
    width: 100%;
}

#full-scr {
    height: 100vh;
    width: 100%;
    background-color: #00000070;
    position: fixed;
    z-index: 99;
    top: -100%;
    transition: all ease 0.5s;
}

#full-div1 {
    height: 40%;
    width: 100%;
    background-color: #EFEAE3;
    /* border-bottom-left-radius: 20px; */
    /* border-bottom-right-radius: 20px; */

}

@media (max-width:600px) {

    #page1 {
        min-height: 100vh;
        width: 100vw;
        padding: 0 0vw;
    }

    nav {
        padding: 8vw 5vw;
        background-color: #EFEAE3;
        /* padding: 0 5vw; */
    }

    /* nav img {
        transition: all ease 0.2s;
        height: 9vh;
    } */

    #nav-part2 {
        display: none;
    }

    #center {
        height: 62vh;
        width: 100%;
        /* background-color: orange; */
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        border-bottom: 1px solid #0000003c;
        padding: 7vw 5vw;
        padding-bottom: 10vw;
        flex-direction: column-reverse;
        position: relative;
        z-index: 9;
    }

    #left h3 {
        width: 80%;
        font-size: 5.5vw;
        line-height: 6vw;
    }

    #center h1 {
        font-size: 17vw;
        text-align: right;
        line-height: 15vw;
    }

    #page1 video {
        position: relative;
        border-radius: 15px;
        margin-top: 4vw;
        height: 70vh;
        object-fit: cover;
        object-position: center;
        width: 92%;
        margin-left: 4%;
    }

    #page2 {
        min-height: 100vh;
        width: 100%;
        background-color: #EFEAE3;
        padding: 8vw 0;
        position: relative;
    }

    #moving-text {
        overflow-x: auto;
        white-space: nowrap;
    }

    #moving-text::-webkit-scrollbar {
        display: none;
    }

    .con {
        white-space: nowrap;
        display: inline-block;
        animation-name: move;
        animation-duration: 10s;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
    }

    #moving-text h1 {
        font-size: 15vw;
        /* background-color: lightblue; */
        display: inline-block;
    }

    #gola {
        height: 25px;
        width: 25px;
        border-radius: 50%;
        display: inline-block;
        background-color: #FE320A;
        margin: 2vw 2vw;
    }

    #page2-bottom {
        height: 90vh;
        width: 100%;
        /* background-color: aliceblue; */
        padding: 10vw 4vw;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        position: relative;
        flex-direction: column;
        z-index: 9;
    }

    #page2-bottom h1 {
        font-size: 8.2vw;
        width: 100%;
        line-height: 9vw;
    }

    #bottom-part2 {
        width: 70%;
        /* background-color: aqua; */
    }

    #bottom-part2 img {
        width: 100%;
        border-radius: 10px;
    }

    #bottom-part2 p {
        font-weight: 200;
        margin-top: 2vw;
        font-size: 3vw;
    }

    #page2 #gooey {
        height: 82vw;
        width: 72vw;
        position: absolute;
        border-radius: 50%;
        background: linear-gradient(to top right, #ff2d03, #ff5c0b);
        /* background: linear-gradient(to top right,red,blue); */


        top: 68%;
        left: 25%;
        filter: blur(20px);
        animation-name: gooey;
        animation-duration: 6s;
        animation-iteration-count: infinite;
        animation-direction: alternate;
        animation-timing-function: ease-in-out;

    }


}

#loader{
    height: 100%;
    width: 100%;
    background-color: #000;
    position: fixed;
    z-index: 999;
    top: 0;
    transition: all ease 0.7s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loader h1{
    font-size: 4vw;
    color: transparent;
    background: linear-gradient(to right,orange,orangered);
    -webkit-background-clip: text;
    position: absolute;
    opacity: 0;
    animation-name: load;
    animation-duration: 1s;
    animation-delay: 1s;
    animation-timing-function: linear;
}
#loader h1:nth-child(2){
    animation-delay: 2s;
}
#loader h1:nth-child(3){
    animation-delay: 3s;
}

@keyframes load {
    0%{
        opacity: 0;
    }
    10%{
        opacity: 1;
    }
    90%{
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
}

@media (max-width:600px) {
    #loader h1{
        font-size: 9vw;
      
    }
}