/* ============================ VARIABLES CSS ============================ */
:root {
    /* ============================ Colors ============================ */
    --main-bg-color: linear-gradient(135deg, #1a1a2e 0%, #080c19 50%, #080c19 100%);
    --button-color: linear-gradient(135deg, #00d5ff, rgb(189, 226, 255), #00b4d8);
    --loading-color: linear-gradient(-80deg, #131331 0%, #0a0a35 50%, #07070f 100%);
    --heading-text-color: #00d4ff;
    --title-color: white;
    --text-color: #aaa;
    --alt-text-color: rgb(64, 204, 255);
    --alt-bg-primary-color: rgb(8, 27, 41);
    --alt-bg-secondary-color: rgb(1,2,7);

    /* ============================ Txt size ============================ */
    --sub-header-txt: 2.5rem;
    --intermediat-txt: 1.5rem;
    --higher_txt: 1.25rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.main__page{
    /* overflow-x: hidden; */
}

html{
    background-color: black;
}

/* ============================ Body ============================ */
body {
    font-family: 'Arial', sans-serif;
    background: var(--alt-bg-secondary-color);
    color: rgb(255, 255, 255);
    min-height: 100vh;
    overflow-x: hidden;
    margin-top: 7rem;
    width: 100vw;
    overflow-x: hidden;
}

/* ============================ Pre-defined classes ============================ */
.flex_row{
    display: flex;
    justify-content: center;
}

.flex_col{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.z-index {
    position: relative;
    z-index: 100;
}

/* ============================ Fonts ============================ */

.instrument-serif-regular {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.instrument-serif-regular-italic {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: italic;
}

.outfit-font {
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.merriweather-font {
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  /* font-weight: <weight>; */
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.oswald-font {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  /* font-weight: <weight>; */
  font-style: normal;
}

.geist-mono-font {
  font-family: "Geist Mono", monospace;
  font-optical-sizing: auto;
  /* font-weight: <weight>; */
  font-style: normal;
  text-transform: uppercase;
  font-size: 18px;
}

/* ============================ Text Animation ============================ */

.color__change{
    font-size: 50px;
    margin-bottom: 1rem;
    text-shadow:  0 0 50px rgba(255, 252, 222, 0.5);
    color: rgb(255, 252, 222);
    animation: color__change__anim 15s ease-in-out infinite;
}

@keyframes color__change__anim {
    0%,100% {
        background-position: 100% 100%;
        text-shadow:0 0 50px rgba(255, 252, 222, 0.5);
        /* text-shadow:0 0 30px rgba(255, 255, 255, 0.57); */
        color: rgb(255, 252, 222);
    }
    50% {
        background-position: 10% 100%;
        text-shadow: 0 0 50px rgba(255, 252, 222, 0.1);
        color: rgb(255, 255, 255);
    }
}

.color__motion{
    text-shadow: 2px 4px 50px rgba(255, 252, 222, 0);
    color: transparent;
    /* background: #0a00c7; */
    background: linear-gradient(90deg, rgba(10, 0, 199, 1) 0%, rgba(255, 0, 187, 1) 40%, rgba(255, 0, 187, 1) 75%, rgba(255, 123, 0, 1) 90%, rgba(255, 123, 0, 1) 100%);
    
    background-position: 10% 100%;
    background-size: 400% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: gradient-slide 15s ease-in-out infinite;
}

@keyframes gradient-slide {
    0%, 100% {
        background-position: 10% 100%;
        text-shadow: 0 0 50px rgba(255, 252, 222, 0.1);
    }
    50% {
        background-position: 100% 100%;
        text-shadow:0 0 50px rgba(255, 252, 222, 0.7);
        /* text-shadow:0 0 30px rgba(255, 255, 255, 0.57); */
    }
}

/* ============================ Header ============================ */
header{
    opacity: 0;
    transition: opacity 2s ease;
}

header.fade-in {
    opacity: 1;
    transition: opacity 2s ease;
}

/* ============================ Menu bar ============================ */
.menu_bar {
    width: 99vw;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Added for vertical centering */
    /* gap: 20rem; */
    /* backdrop-filter: blur(10px); */
    height: 5rem;
    border-radius: 10px;
    padding: 1.5rem 1.5rem 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
}

.menu_bar .icon img{
    width: 50px;
}


.menu_bar ul {
    display: flex;
    width: 30rem;
    backdrop-filter: blur(5px);
    max-width: 40rem;
    border-radius: 10rem;
    justify-content: space-evenly;
    list-style: none;
    align-items: center;
    background-color: rgba(46, 46, 46, 0.563);
    border: 1px solid rgba(46, 46, 46, 0.74);
}

.menu_bar li{
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.4rem 1rem;
    border-radius: 5rem;
    font-size: 14px;
}

.menu_bar li a{
    color: white;
    text-decoration: none;
}

.menu_bar li:hover {
    background: rgba(255, 255, 255, 0.122);
}

.quick_access{
    opacity: 0;
}

/* ============================ Quick Access ============================ */
.quick_access img{
  width: 50px;
  position: relative;
  bottom: 5px;
  cursor: pointer;
}

.quick_access_elements{
    position: absolute;
    display: none;
    opacity: 0;
}

.quick_access_visible{
    display: flex;
    flex-direction: column;
    opacity: 1;
    transition: opacity 2s ease;
}

/* Loading animation as present in loadingPage.css and also the main page display. */

/* ============================ Hero Section (1st page) ============================ */
.hero{
  background-image: url("/Resources/next.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================ Hero: Star animation ============================ */
#star-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    opacity: 1;
    animation-name: twinkle;
    animation-duration: 15s;
    animation-iteration-count: infinite, infinite;
    animation-fill-mode: both, both;
    animation-timing-function: ease-in-out, ease-in-out;
    pointer-events: none;
    z-index: 5;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        background-color: #fff;
    }
    30%,70% {
        opacity: 0;
        transform: scale(0.2);
        background-color: #fff;
    }
}

@keyframes float {
    0% {
        transform: translate(0px, 0px);
    }
    25% {
        transform: translate(10px, -40px);
    }
    50% {
        transform: translate(-20px, 10px);
    }
    75% {
        transform: translate(20px, 20px);
    }
    100% {
        transform: translate(0px, 0px);
    }
}


.hero_context{
    align-items: center;
}

/* ============================ Latest project access btn ============================ */
.letest{
  width:12rem;
  align-items: center;
  padding: 0.2rem 0.17rem;
  border: 1px solid white;
  border-radius: 10rem;
  color: #FFFFFFE6;
  font-size: 15px;
  cursor: pointer;
  margin: 50px 0px 30px 0px;
  align-self: center;

  background:
    linear-gradient(
      70deg,
      #32e6e300 0%,
      #32e6e300 45%,
      #ffffff9c 50%,
      #32e6e300 55%,
      #32e6e300 100%
    )
    no-repeat;
  background-size: 300% 100%;
  background-position: 0% 0; 
  animation: barMove 2s linear 1s infinite normal;
}

@keyframes barMove {
    0%,100%{
        background-position: 0% 0;
    }
    50%{
        background-position: 100% 0;
    }
}

.hero_new{
  border: 1px solid black;
  background-color: oklch(48.8% .243 264.376);
  border-radius: 10rem;
  padding: 0.1rem 0.4rem;
  font-size: 12px;
  margin-right: 1rem;
}

/* ============================ Latest project access btn : Bouncing arrow ============================ */
.letest i{
  font-size: 12px;
  margin: 0rem 0.5rem;
  position: relative;
  left: -5px;
  top: 0.4px;
  animation: right_jump 2s linear 3s infinite normal;
}

@keyframes right_jump {
    0%{
        left: -5px;
    }
    20%{
        left: 7px;
    }
    40%{
        left: -5px;
    }
    50%{
        left: 0px;
    }
    60%{
        left: -5px;
    }
    100%{
        left: -5px;
    }
}

/* ============================ Hero: Heading ============================ */
.hero_header{
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    font-size: 55px;
    font-style: normal;
    align-items: center;
}

/* ============================ Hero: Animation motion bar ============================ */
.motion__bar{
    background: radial-gradient(50% 50%,#ffffff73 0,#0a0a0a00 100%);
    height: 100px;
    width: 40vw;
    position: absolute;
    margin-top: 100px;
    z-index: 0;
    animation: side__bar 8s linear 0s infinite normal;
}

@keyframes side__bar {
    0%,100%{
        left: 20%;
        margin-top: 140px;
        transform: rotate(-4deg);
    }
    25%,75%{
        margin-top: 100px;
        transform: rotate(0deg);
    }
    50%{
        left: 40%;
        margin-top: 140px;
        transform: rotate(4deg);
    }
}

/* ============================ Hero: Personal description with img ============================ */
.line1{
    font-size: 30px;
    font-weight: 400;
    align-items: center;
    margin-top: 40px;
    position: relative;
    right: 14px;
}

.line1 span{
    color: var(--alt-bg-secondary-color);
}

.img_div img{
    width: 50px;
    border-radius: 15px;
    overflow: hidden;
    margin: 0px 10px;
    z-index: 10;
}

/* ============================ Hero waving hand ============================ */
.waving__hand{
    width: 40px;
    position: absolute;
    left: 40%;
    opacity: 0;
}

.waving__hand_animation{
    opacity: 1;
    animation: wave_hand 0.5s linear 0s infinite normal;
}

@keyframes wave_hand {
    0%,100%{
        transform: rotate(0deg);
        transform-origin: bottom right;
    }
    50%{
        transform: rotate(10deg);
        transform-origin: bottom right;
    }
}

/* ============================ Hero: Btns ============================ */
.hero_btn{
    align-items: center;
    margin-bottom: 6rem;
    z-index: 5;
    gap: 3rem;
    position: relative;
    right: 5.5%;
}

/* ============================ Hero: Let's contact btn ============================ */
.hero_connect_btn {
 position: relative;
 display: inline-block;
 cursor: pointer;
 outline: none;
 border: 0;
 vertical-align: middle;
 text-decoration: none;
 background: transparent;
 padding: 0;
 font-size: inherit;
 font-family: inherit;
 width: 13rem; /* Consolidated */
 height: auto; /* Consolidated */
 border: 2px solid rgb(255, 255, 255); /* Consolidated */
 border-radius: 100px; /* Consolidated */
}

.hero_connect_btn .circle {
 transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
 position: relative;
 display: block;
 margin: 0;
 width: 3rem;
 height: 3rem;
 background: #ffffff;
 border-radius: 1.625rem;
}

.hero_connect_btn .circle .icon {
 transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
 position: absolute;
 top: 0;
 bottom: 0;
 margin: auto;
 background: #fff;
}

.hero_connect_btn .circle .icon.arrow {
 transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
 left: 0.625rem;
 width: 1.125rem;
 height: 0.125rem;
 background: none;
}

.hero_connect_btn .circle .icon.arrow::before {
 position: absolute;
 content: "";
 top: -0.29rem;
 right: 0.0625rem;
 width: 0.625rem;
 height: 0.625rem;
 border-top: 0.125rem solid #000000;
 border-right: 0.125rem solid #000000;
 transform: rotate(45deg);
}

.hero_connect_btn .button-text {
 transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 padding: 0.75rem 0;
 margin: 0 0 0 1.85rem;
 color: #ffffff;
 font-weight: 700;
 line-height: 1.6;
 text-align: center;
 text-transform: uppercase;
}

.hero_connect_btn:hover .circle {
 width: 100%;
}

.hero_connect_btn:hover .circle .icon.arrow {
 background: #000000;
 transform: translate(1rem, 0);
}

.hero_connect_btn:hover .button-text {
 color: #000000;
}

/* ============================ Hero: Project btn ============================ */
.hero_project_btn{
    width: 100px;
    height: 80px;
    border: 50%;
    background-color: transparent;
    color: white;
    border: 0;
    font-family: "Instrument Serif", serif;
    font-size: 30px;
    font-weight: 400;
}

/* From Uiverse.io by 0x-Sarthak */ 
.cta {
  position: relative;
  margin: auto;
  padding: 11.5px 18px;
  transition: all 0.2s ease;
  border: 3px solid #552da8;
  border-radius: 50px;
  background: #552da8;
  cursor: pointer;
}

.cta:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  border-radius: 50px;
  background: white;
  width: 45px;
  height: 45px;
  transition: all 0.8s ease;
}

.cta span {
  position: relative;
  font-family: Montserrat;
  font-size: 18px;
  color: white;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.cta svg {
  position: relative;
  top: 0;
  margin-left: 10px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: white;
  stroke-width: 2;
  transform: translateX(-5px);
  transition: all 0.5s ease;
}

.cta:hover:before {
  width: 100%;
  background: #1c1c1c;
}

.cta:hover svg {
  transform: translateX(0);
  transition: all 2s ease;
}

.cta:active {
  transform: scale(0.95);
  transition: all 2s ease;
}

/* ============================ About ============================ */
.about{
    align-items: center;
    justify-content: center;
    margin: 5% 10%;
    font-family: "Instrument Serif", serif;
}

.about h1{
    font-size: var(--sub-header-txt); /* Use variable for size, assuming it was missing */
    margin-bottom: 40px;
    text-shadow: 0 0 30px rgb(255, 230, 66);
}

/* ============================ About: Context ============================ */
.about p{
    font-size: 12px;
}
.about_content{
    justify-content: space-between;
}

.about_content .content{
    width: 70%;
    align-self: flex-start;
}

.about_content .content .outfit-font{
    margin-bottom: 20px;
    font-size: 18px;
}

.sicial__media{
    font-size: 20px;
    display: flex;
    gap: 20px;
}

.about_content .content p{
    width: 50%;
    font-size: 16px;
}

.linkedin_btn {
  position: relative;
  width: 130px;
  height: 35px;
  border-radius: 30px;
  background-color: white;
  border: 1px #2867b2 solid;
  overflow: hidden;
}

.text1 {
  font-size: 15px;
  font-weight: 600;
  margin-left: 22%;
}

.text2 {
  position: absolute;
  top: 25%;
  left: -50px;
  font-weight: 700;
  font-size: 14px;
  color: white;
}

.linkedin_icon {
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.5s;
}

.linkedin_icon::before {
  position: absolute;
  left: -100px;
  top: 0;
  z-index: -1;
  content: '';
  width: 130px;
  height: 100%;
  border-radius: 30px;
  background-color: #2867b2;
}

.linkedin_btn:hover .linkedin_icon {
  transform: translateX(96px);
  transition: transform 0.5s;
}

.linkedin_btn:hover .text2 {
  transform: translateX(100px);
  transition: transform 0.6s;
}

.linkedin_btn:active {
  transform: scale(1.03);
}

/* 3D motion of about_content class imgs avalavle in 3DMotion.css file */

/* ============================ About: Experience ============================ */
 
.experience{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
}

.experience h2{
    font-size: 30px;
}

.experience__content{
    display: flex;
    width: 100%;
    margin-top: 50px;
}

.row1 , .row2{
    display: flex;
    gap: 100px;
}

.experience__column1{
    width: 30%;
}

.experience__column1 h2{
    margin: 10px 0px;
}

.experience__column1 p{
    font-family: "Merriweather", serif;
    font-size: 16px;
}

.experience__column2{
    width: 70%;
}

.experience__column2 h2{
    margin-bottom: 20px;
}

.tools ul{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 80px;
    gap: 10px;
    align-items: flex-start;
}

.experience__description ul{
    list-style: none;
    gap: 10px;
}

.tools ul li{
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.345);
    padding: 8px 10px;
    text-transform: capitalize;
}

.tools .flex_row{
    justify-content: flex-start;
}


/* ============================ Experience Bar ============================ */

.experience__bar{
    width: 15px;
    background-color: #ffffff20;
    border: 1px solid rgba(255, 255, 255, 0.239);
    border-radius: 10px;
    position: relative;
    right: 72%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    will-change: transform;
}

.bar{
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 0px;
    transform-origin: top;
    background-image: linear-gradient(to top, #db2777 0%, #3b82f6 50%, #00d5ff 100%);
    transition: height 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: height;
    border-radius: 10px;
    animation: barGlow 3s ease-in-out infinite;
}

@keyframes barGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
    }
}

.experience__bar img {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    position: absolute;
    bottom: 50%;
    transform: translateY(50%);
    object-fit: cover;
    will-change: transform;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    opacity: 1 !important;
    animation: imageFloat 4s ease-in-out infinite;
}

@keyframes imageFloat {
    0%, 100% {
        transform: translateY(50%) scale(1);
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    }
    50% {
        transform: translateY(50%) scale(1.05);
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.8);
    }
}

/* Additional pulse animation for the image */
.experience__bar img:hover {
    animation: imagePulse 1s ease-in-out infinite;
}

@keyframes imagePulse {
    0%, 100% {
        transform: translateY(50%) scale(1);
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    }
    50% {
        transform: translateY(50%) scale(1.1);
        box-shadow: 0 0 40px rgba(59, 130, 246, 1);
    }
}


/* ============================ GitHub ============================ */

.github{
    width: 100%;
    margin: 0% 10%;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
}

.gitHub_body img{
    border-radius: 10px;
    width: 100%;
}

.gitHub_body .para{
    margin: 10px 0px 20px 0px;
    font-size: 15px;
    font-weight: 500;
}

.git_des{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.git_des div{
    width: 154px;
}

.des{
    display: flex;
    border: 1.5px solid white;
    padding: 10px;
    border-radius: 10px;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
}

.des1{
    border-color: oklch(57.458% 0.28728 302.812);
}
.des1 .icon svg{
    color: oklch(58.237% 0.28337 303.433);
}

.des2{
    border-color: oklch(74.419% 0.18112 56.449);
}
.des2 .icon svg{
    color: oklch(76.762% 0.17014 61.25);
}

.des3{
    border-color: oklch(79.2% .209 151.711);
}
.des3 .icon svg{
    color: oklch(79.2% .209 151.711);
}

.des4{
    border-color:oklch(70.7% .165 254.624);
}
.des4 .icon svg{
    color: oklch(59.667% 0.22126 258.047);
}

.git_content{
    display: flex;
    flex-direction: column;
}

.git_content p{
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 14px;
}

.num{
    font-size: 30px;
    font-weight: 600;
}


/* ============================ Work (Projects) ============================ */

.work{
    margin: 200px 100px;
    align-items: center;
}

/* .work h1{
    margin-bottom: 60px;
} */

.project_counting {
    position: sticky;
    top: 15vh;
    z-index: 100;
    font-size: 60px;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 10px;
    perspective: 1000px;
}

.scrolling_num {
    position: relative;
    width: 80px;
    height: 80px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center center;
    transform: rotateX(0deg);
    right: 20px; /* Consolidated position */
}

.scrolling_num div {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    font-size: 60px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.6),
                 0 0 60px rgba(0, 212, 255, 0.4);
}


/* ============================ Projects ============================ */
.projects{
    width: 100vw;
}

.project a{
    text-decoration: none;
    color: white;
}

.proj1 p,
.proj1 i{
    color: #000000;
}

.project{
    width: 50vw;
    gap: 50px;
}

.project_div{
    width: 50vw;
    background-color: #00d4ff;
    align-items: center;
    overflow: hidden;
    
    border-left: 2px solid rgb(42, 42, 42);
    border-right: 2px solid rgb(42, 42, 42);
    border-bottom: 2px solid rgb(42, 42, 42);

    background: linear-gradient(90deg, rgb(42, 42, 42) 0%, rgb(255, 255, 255) 50%, rgb(42, 42, 42) 100%);

    /* background-color: #00d4ff; */
    border-radius: 25px;
    
}

.proj{
    position: static;
    /* top: calc(var(--project_div) * 20px); */
    top: 50px;
}

.project3 {
    /* margin-bottom: -50px;  */
}

.project_div_inner{
    width: 50vw;
    height: 100%;
    background-color: #000000;
    align-items: center;
    overflow: hidden;

    position: relative;
    top: 1px;

    border-radius: 25px;
}

.msg{
    align-items: center;
    justify-content: space-evenly;
    position: relative;
    top: 50px;
    gap: 30px;
    width: 80%;
    margin-left: 10%;
    font-size: 20px;
}

.project_img{
    width: 98%;
    /* height: 97%; */
    margin: 8px 0px;
    overflow: hidden;
    border-radius: 20px;
}

/* ================= Project Image Animation ================= */
.project_img img{
    width: 100%;
    padding: 60px;
    position: relative;
    top: 100px;
    border-radius: 80px;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project_div:hover .project_img img{
    transform: rotate(-4deg) scale(1.1);
}

.project1 .project_img{
    background: linear-gradient(195deg,rgba(255, 228, 179, 1) 0%, rgba(255, 216, 143, 1) 14%, rgba(255, 209, 125, 1) 27%, rgba(255, 209, 125, 1) 100%);
}

.project1 .project_img:hover{
    background: linear-gradient(195deg,rgba(255, 237, 199, 1) 0%, rgba(255, 221, 158, 1) 14%, rgba(255, 213, 135, 1) 27%, rgba(255, 213, 135, 1) 100%);
    transition: all 5s ease;
}

.project2 .project_img{
    background: linear-gradient(195deg,rgba(255, 150, 203, 1) 0%, rgba(252, 124, 188, 1) 14%, rgba(255, 96, 176, 1) 27%, rgba(255, 96, 176, 1) 100%);
}

.project2 .project_img:hover{
    background: linear-gradient(195deg,rgb(255, 164, 209) 0%, rgb(255, 143, 199) 14%, rgb(255, 107, 181) 27%, rgb(255, 107, 181) 100%);
    transition: all 5s ease;
}

.project3 .project_img{
    background: linear-gradient(195deg,rgba(89, 143, 64, 1) 0%, rgba(62, 110, 41, 1) 8%, rgba(55, 92, 37, 1) 18%, rgba(55, 92, 37, 1) 100%);
}

.project3 .project_img:hover{
    background: linear-gradient(195deg,rgb(112, 168, 85) 0%, rgb(71, 112, 51) 8%, rgb(59, 94, 41) 18%, rgb(59, 94, 41) 100%);
    transition: all 5s ease;
}

.project4 .project_img{
    background: linear-gradient(195deg,rgba(87, 33, 69, 1) 0%, rgba(69, 14, 50, 1) 14%, rgba(44, 0, 29, 1) 27%, rgba(44, 0, 29, 1) 100%);
}

.project4 .project_img:hover{
    background: linear-gradient(195deg,rgb(99, 40, 80) 0%, rgb(76, 16, 55) 14%, rgb(52, 0, 34) 27%, rgb(52, 0, 34) 100%);
    transition: all 5s ease;
}

.project5 .project_img{
    background: linear-gradient(195deg,rgba(53, 66, 97, 1) 0%, rgba(39, 51, 82, 1) 14%, rgba(23, 34, 62, 1) 27%, rgba(23, 34, 62, 1) 100%);
}

.project5 .project_img:hover{
    background: linear-gradient(195deg,rgb(62, 76, 109) 0%, rgb(45, 58, 91) 14%, rgb(25, 36, 65) 27%, rgb(25, 36, 65) 100%);
    transition: all 5s ease;
}

.project_img:hover .right_arrow{
    font-size: 25px;
    transform: translateX(10px);
    transition: all 0.8s ease;
}

.project_des_div{
    width: 30%;
    /* position: relative; */
    right: 20px;
}

.project_des{
    /* position: sticky; */
    width: 110%;
    height: 470px;
    margin-left: 10%;
    /* margin-top: 10px; */
    position: sticky;
    top: 80px;
    align-self: flex-start;
    z-index: 10;
    display: none;
    backdrop-filter: blur(15px);
    border: 1px solid white;
    border-radius: 20px;
    padding: 5% 15% 2% 1%;
    background-color: #0000008a;
}

.project_des1{
    margin-top: 20px;
}

.display{
    display: block;
}

.project_des h2{
    font-family: "Instrument Serif", serif;
    font-size: 30px;
}

.project_des p{
    font-family: "Outfit", sans-serif;
    margin: 10px 0px 20px 0px;
    position: relative;
    left: 40px;
}

.bar_div{
    width: 20px;
    height: 1px;
    align-self: center;
    margin-right: 10px;
}

.project_des h2{
    justify-content: left;
}

.points ul{
    list-style: none;
    position: relative;
    left: 40px;
    font-size: 14px;
}

.points li{
    display: flex;
    /* justify-content: center; */
    align-items: center;
    margin: 5px 0px;
}

.points svg{
    margin-right: 8px;
}

.bar_div1{
    border: 1px solid #ffa496;
}

.points1 path {
    fill: #ffa496 !important;
}

.bar_div2{
    border: 1px solid rgb(255, 96, 176);
}

.points2 path {
    fill: rgb(255, 96, 176) !important;
}

.bar_div3{
    border: 1px solid rgb(96, 162, 64);
}

.points3 path {
    fill: rgb(96, 162, 64) !important;
}

.bar_div4{
    border: 1px solid #ff0000;
}

.points4 path {
    fill: rgb(44, 0, 29) !important;
    stroke: #ff0000;
}

.bar_div5{
    border: 1px solid rgb(33, 96, 255);
}

.points5 path {
    fill: rgb(33, 96, 255) !important;
}

.projects_tools{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    left: 40px;
    margin-top: 40px;
}
.projects_tools li{
    display: flex;
    gap: 5px;
    align-items: center;
    list-style: none;
    padding: 4px 10px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.721);
    border-radius: 11px;
    font-size: 14px;
    font-family: "Geist Mono", monospace;
    margin-right: 0px;
}

.projects_tools li img{
    width: 25px;
}

.aws img{
    position: relative;
    top: 2px;
}



/* ============================ Education ============================ */

.education{
    margin: 0 8%;
    align-items: center;
}

.education_bar{
    position: absolute;
    margin-top: 2%;
    width: 5px;
    /* height: 100%; */
    background: linear-gradient(180deg, #000000 0%, rgb(104, 104, 104) 20%, rgb(104, 104, 104) 50%, rgb(104, 104, 104) 80%, #252525 100%);
    border-radius: 50px;
    border: 1px solid rgb(141, 141, 141);
    left: 50%;
}

.education_point{
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    border: 1px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    right: -23px;
    background-color: black;
    /* margin: 20px 0px; */
}

.education_point_1{
    top: 15%;
}

.education_point_2{
    top: 50%;
}

.education_point_3{
    bottom: 8%;
}

.education_detels{
    margin: 40px 0px;
}

.detels {
    width: 45%;
    max-height: 200px; /* Start collapsed */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.309);
    border-radius: 20px;
    padding: 50px 30px;
    background: linear-gradient(90deg, #000000 0%, #0e0e0e 50%, #252525 100%);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.detels:hover{
    max-height: 500px; /* Expanded height, adjust as needed */
    height: auto;
    transition: all 1s ease;
}

.education_description {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.462);
    padding-top: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 0.2s; /* Delayed fade-in */
}

/* Show description when card is expanded */
.detels:hover .education_description {
    opacity: 1;
    transform: translateY(0);
}

.detels1,
.detels3{
    align-self: flex-end;
}

.detels h3{
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.detels_heading{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.detels_heading span{
    margin-right: 20px;
    padding: 3px 5px;
    font-size: 12px;
    background-color: rgba(255, 255, 255, 0.149);
    border: 1px solid rgba(255, 255, 255, 0.149);
    color: rgba(255, 255, 255, 0.563);
    border-radius: 20px;
    font-family: monospace;
}

.education_2ndLine div{
    margin: 20px 0px 10px 0px;
}

.education_2ndLine span, .education_2ndLine i{
    color: rgb(162, 162, 162);
}


/* ============================ Skills Section ============================ */
.skill {
    background-color: var(--alt-bg-secondary-color);
    /* padding: 5rem 5rem; */
}

.skill .heading {
    align-self: center;
    margin-bottom: 2rem;
    font-size: var(--sub-header-txt);
    font-weight: 600;
    display: block; /* Ensures it acts like a block element for align-self/margin-bottom */
}

.skill .heading span {
    color: var(--alt-text-color);
}

.skill .content {
    display: flex;
    justify-content: space-between;
    padding: 3rem ;
}

.col1,
.col2 {
    width: 40%;
    border: 2px solid #00fffb;
    border-radius: 10px;
    padding: 2rem;
    background-color: var(--alt-bg-primary-color);
    background-size: cover;
    background-position: top;
}

.col1 {
    background: url(/Resources/download\ \(1\).jpg);
}

.col2{
    background: url(/Resources/Untitled\ image_2025.09.27_X-Design.jpg);
    background-position: bottom;
}

.col1 h3,
.col2 h3 {
    font-size: var(--higher_txt);
    margin-bottom: 1rem;
}

.left-skill,
.right-skill {
    width: 94%;
    height: 0.5rem;
    border-radius: 5px;
    margin: 10px 0px 20px 0px;
    border: 1px solid #00fffb;
}

/* Skill Bar Gradients */
.left-skill-1 { background: linear-gradient(to right, #3498db 95%, transparent 0%); }
.left-skill-2 { background: linear-gradient(to right, #3498db 80%, transparent 0%); }
.left-skill-3 { background: linear-gradient(to right, #3498db 75%, transparent 0%); }
.left-skill-4 { background: linear-gradient(to right, #3498db 90%, transparent 0%); }
.left-skill-5 { background: linear-gradient(to right, #3498db 30%, transparent 0%); }
.left-skill-6 { background: linear-gradient(to right, #3498db 60%, transparent 0%); }

.right-skill-1 { background: linear-gradient(to right, #3498db 80%, transparent 0%); }
.right-skill-2 { background: linear-gradient(to right, #3498db 60%, transparent 0%); }
.right-skill-3 { background: linear-gradient(to right, #3498db 70%, transparent 0%); }
.right-skill-4 { background: linear-gradient(to right, #3498db 85%, transparent 0%); }
.right-skill-5 { background: linear-gradient(to right, #3498db 80%, transparent 0%); }
.right-skill-6 { background: linear-gradient(to right, #3498db 70%, transparent 0%); }

/* ============================ Skill Tools ============================ */
.skill_toole{
    align-items: center;
    margin-top: -150px;
    overflow-x: hidden;
}

.tool_heading{
    height: 400px;
    /* background-image: url(/Resources/3d\ abstract\ video\ with\ ceramic\ and\ gold\ alive\ flower_imgupscaler.ai_General_16K.jpg); */
    background-size: cover;
    background-position: center;
    justify-content: flex-end;
    align-items: center;
    display: flex; /* Added for alignment in a flex_col parent */
    flex-direction: column; /* Added for alignment in a flex_col parent */
}

#rotatingSquare {
    width: 330px;
    height: 330px;
    position: absolute;
    z-index: 1;
    transform: translate(-0%, -0%) rotate(0deg); 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.05s linear;
}

.tool_heading_text{
    height: 100%;
    width: 500px;
    justify-content: flex-end;
    align-items: center;
    background: linear-gradient(0deg, #000000 0%, #000000 20%, #00000000 100%);
    padding-bottom: 100px;
    z-index: 2;
    display: flex; /* Added for alignment in a flex_col parent */
    flex-direction: column; /* Added for alignment in a flex_col parent */
}

.tool_heading_text p{
    font-size: 12px;
}

.tools_line img{
    width: 50px;
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    z-index: 25;
}

.tools_line1,
.tools_line2{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    bottom: 40px;
}

/* Erroser styles moved here, assuming this is an intentional graphic element */
.erroser{
    width: 40px;
    position: absolute;
    bottom: 400px;
    left: 48%;
    transform: rotate(-50deg);
    transform-origin: bottom;
}

.erroser_top{
    width: 100%;
    height: 80px;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.449);
    border-radius: 10px 10px 0px 0px;
}

.erroser_bottom_bar{
    width: 100%;
    height: 500px;
    background-color: #002733;
}

/* Animation for tools_line img (reposition) */
@keyframes reposition {
    0% {
        transform: rotate(calc(var(--tools_element) * -20deg)) translateY(100px);
    }
    100% {
        transform: rotate(0deg) translateY(0px);
    }
}

/* ============================ Contact Form ============================ */

.orange {
  color: #ff7a01;
}

.form-container {
  max-width: 700px;
  margin: 30px;
  background-color: #001925;
  padding: 30px;
  border-left: 5px solid #ff7a01;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.form-container .heading { /* Targeted .heading specifically inside form-container */
  display: block;
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.form-container .form .input {
  color: #87a4b6;
  width: 100%;
  background-color: #002733;
  border: none;
  outline: none;
  padding: 10px;
  margin-bottom: 20px;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
  border-left: 1px solid transparent;
}

.form-container .form .input:focus {
  border-left: 5px solid #ff7a01;
}

.form-container .form .textarea {
  width: 100%;
  padding: 10px;
  border: none;
  outline: none;
  background-color: #013747;
  color: #ff7a01;
  font-weight: bold;
  resize: none;
  max-height: 150px;
  margin-bottom: 20px;
  border-left: 1px solid transparent;
  transition: all 0.2s ease-in-out;
}

.form-container .form .textarea:focus {
  border-left: 5px solid #ff7a01;
}

.form-container .form .button-container {
  display: flex;
  gap: 10px;
}

.form-container .form .button-container .send-button {
  flex-basis: 70%;
  background: #ff7a01;
  padding: 10px;
  color: #001925;
  text-align: center;
  font-weight: bold;
  border: 1px solid transparent;
  transition: all 0.2s ease-in-out;
}

.form-container .form .button-container .send-button:hover {
  background: transparent;
  border: 1px solid #ff7a01;
  color: #ff7a01;
}

.form-container .form .button-container .reset-button-container {
  filter: drop-shadow(1px 1px 0px #ff7a01);
  flex-basis: 30%;
}

.form-container .form .button-container .reset-button-container .reset-button {
  position: relative;
  text-align: center;
  padding: 10px;
  color: #ff7a01;
  font-weight: bold;
  background: #001925;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: all 0.2s ease-in-out;
}

.form-container .form .button-container .reset-button-container .reset-button:hover {
  background: #ff7a01;
  color: #001925;
}


/* ========================== Footer ========================== */ 
.footer_content{
    align-items: center;
    justify-content: space-between;
    padding: 0px 100px;
    padding-bottom: 20px;
    margin-top: 30px;
    display: flex; /* Added flex properties assuming it's a flex container */
    flex-direction: row; /* Assuming default row layout */
}

.footer_socials{
    align-items: center;
    display: flex; /* Added flex properties assuming it's a flex container */
}

.social-links,.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-btn {
  cursor: pointer;
  height: 50px;
  width: 50px;
  font-family: 'Titillium Web', sans-serif;
  color: #333;
  border-radius: 10px;
  box-shadow: 0px 10px 10px rgba(0,0,0,0.1);
  background: white;
  margin: 5px;
  transition: 0.3s;
  justify-content: center;
}

.social-btn svg {
  height: 24px;
  width: 24px;
}

.social-btn span {
  width: 0px;
  overflow: hidden;
  transition: 0.3s;
  text-align: center;
  margin-left: 5px;
}

.social-btn:hover {
  width: 150px;
  border-radius: 5px;
}

.social-btn:hover span {
  padding: 2px;
  width: 80px;
}

#gmail img{
  /* fill: #1da1f2; */
  width: 35px;
}

#linkedin svg {
  fill: #0e76a8;
}

#github {
  fill: #333;
}

.arrow_up{
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background-color: white;
    align-items: center;
    margin-left: 50px;
    color: black;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.3s ease-out;
    display: flex; /* Added flex properties assuming it's for centering content */
    justify-content: center; /* Added flex properties assuming it's for centering content */
}

.arrow_up:hover{
    transform: translateY(-5px);
}
