body{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: lightgray;
}

html{
    scroll-behavior: smooth;
}

.container{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    background-color: #001f7c38;
}


.back-vid{
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: -1;
    mix-blend-mode:overlay;
}


header{
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.121);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px #72a1dea2;
    z-index: 999;
}

.left{
    display: flex;
    align-items: center;
}

.left img{
    width: 40px;
    margin: 0 15px;
}


header ul{
    display: flex;
    justify-content: space-between;
    width: 30%;
    padding: 15px 15px;
    border-radius: 50px;
    background-color: rgba(0, 0, 69, 0.326);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px #72a1de63;
}

header ul li{
    list-style: none;
}

header ul a{
    text-decoration: none;
    color: white;
    font-weight: 700;
    transition: 0.3s;
    margin: 0 10px;
}

header ul a:hover{
    text-shadow: 0 0 15px black;
}

.box-icons{
     font-size: 50px;
    display: flex;
    gap: 40px;
}

.box-icons p{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    width: 30px;
    height: 30px;
    border: 2px solid #72a1de;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.5s;
}

.box-icons p:hover{
    background-color: #72a1de;
    color: black;
    box-shadow: 0 0 15px #72a1de;
}

.blackhole-box{
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: -1;
    mix-blend-mode: lighten;
  }
  
.blackhole-box video{
    width: 100%;
    margin-top: -23.5%;
}

.hero{
    position: relative;
    display: flex;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: space-between;
}

.hero-info{
    position: absolute;
    left: 5%;
}

.hero-info .hero-info-title{
    color: #72a1de;
    padding: 8px 5px;
    border-radius: 50px;
    border: 1px solid #72a1de94;
    width: 240px;
    background-color: #2200493d;
    box-shadow: 0 0 5px #72a1de84;
}

.hero-info h1{
    font-size: 60px;
    max-width: 600px;
    font-weight: 700;
    line-height: 70px;
    margin-top: 40px;
    margin-bottom: 30px;
}

.hero-info p{
    max-width: 550px;
    line-height: 25px;
    margin-bottom: 40px;
    font-size: 20px;
}

.hero-info button{
    color: white;
    padding: 15px 35px;
    border-radius: 10px;
    border: 1px solid #72a1de81;
    background-color: #2200493d;
    box-shadow: 0 0 5px #72a1de81;
    cursor: pointer;
    transition: 0.3s;
}

.hero-info button:hover{
    box-shadow: 0 0 15px #72a1de81;
}

/* Gradient Animation */
.gradient{
    background: linear-gradient(to right,#00aaa7, #7e42a7, #6600c5, #6070fd,#2a46ff, #0099ff, #008ead);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
}
@keyframes animate-gradient {
    to{
        background-position: 200%;
    }
}

.skills-video-box{
    position: absolute;
    right: 3%;
}

.skills-video{
    height: 900px;
    mix-blend-mode:lighten;
}


.scroll-down {
    height: 50px;
    width: 30px;
    border: 2px solid lightgray;
    position: absolute;
    left: 49%;
    bottom: 8%;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.626);
  }
  .scroll-down::before,
  .scroll-down::after {
    content: "";
    position: absolute;
    top: 20%;
    left: 50%;
    height: 10px;
    width: 10px;
    transform: translate(-50%, -100%) rotate(45deg);
    border: 2px solid lightgray;
    border-top: transparent;
    border-left: transparent;
    animation: scroll-down 2s ease-in-out infinite;
  }
  .scroll-down::before {
    top: 30%;
    animation-delay: 0.5s;
    /* animation: scroll-down 1s ease-in-out infinite; */
  }
  
  @keyframes scroll-down {
    0% {
      /* top:20%; */
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    60% {
      opacity: 1;
    }
    100% {
      top: 90%;
      opacity: 0;
    }
  }




.info-section{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 80%;
    margin-top: 100px;
}

.section-title{
    font-size: 40px;
    font-weight: 700;
}

.info-cards{
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 20px;
    width: 100%;
    height: 100%;
    margin-top: 30px;
}

.card{
    display: flex;
    align-items:flex-start;
    justify-content: center;
    position: relative;
    width: auto;
    height: 40vh;
    overflow: hidden;
    border: 1px solid gray;
    background-color: #080020b7;
    border-radius: 20px;
    transition: 0.5s;
}

.card h1{
    position: absolute;
    margin: 0;
    bottom: 40%;
    left: 5%;
    font-size: 25px;
    z-index: 1;
    color: lightgray;
}

.card p{
    position: absolute;
    bottom: 3%;
    left: 5%;
    z-index: 1;
    max-width: 300px;
    color: gray;
    font-size: 13px;
    line-height: 20px;
}

.card img{
    width: 80%;
    height: 50%;
    object-fit: cover;
}

.card video{
    margin-top: 10%;
    width: 70%;
    height: 50%;
    object-fit: cover;
    mix-blend-mode: lighten;
}

.card button{
    position: absolute;
    bottom: 5%;
    left: 5%;
    padding: 10px 25px;
    border: 1px solid gray;
    background-color: #0f1217;
    color: gray;
    border-radius: 20px;
    box-shadow: 0 0 5px lightgray;
    cursor: pointer;
    transition: 0.3s;
}

.card button:hover{
    box-shadow: 0 0 15px lightgray;
    opacity: 0.7;
}

.card:hover{
    box-shadow: 0 0 15px rgb(211, 211, 211);
}

.card:nth-child(3){
    grid-row: span 2;
    height: 83vh;
}

.card:nth-child(3) p{
    bottom: 12%;
}

.card:nth-child(3) h1{
    bottom: 21%;
}

.card:nth-child(4){
    grid-column: span 2;
}

.card:nth-child(4) p{
    max-width: 650px;
}

.card:nth-child(4) h1{
    bottom: 35%;
}



/* Project section improvements */
.my-project {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin: 100px 0;
}

.project-card {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 50px;
    justify-content: center;
    margin-bottom: 150px;
}

.project-card:nth-child(even) {
    flex-direction: row-reverse;
}

.project-vidbox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    mix-blend-mode: exclusion;
    position: relative;
    cursor: pointer;
    transition: all 0.5s ease;
    min-width: 400px;
    border-radius: 20px;
    overflow: hidden;
}

.project-vidbox video {
    object-fit: cover;
    width: 100%;
    box-shadow: 0 0 20px rgba(211, 211, 211, 0.3);
    border-radius: 20px;
    transition: all 0.5s ease;
}

.project-vidbox:hover video {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    transform: scale(1.03);
}

.project-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 50%;
}

.project-info h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.project-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 30px 0;
    color: rgba(211, 211, 211, 0.8);
}

.project-info button {
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    border: 1px solid #72a1de81;
    background-color: #2200493d;
    box-shadow: 0 0 5px #72a1de81;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.project-info button:hover {
    opacity: 0.9;
    box-shadow: 0 0 15px #72a1de81;
    transform: translateY(-3px);
}

.project-vidbox .hover-sign {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
    height: 100px;
}

.hover-sign::before {
    content: "👆 Hover to play";
    position: absolute;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 30px;
    animation: hover-pulse 2s infinite;
}

@keyframes hover-pulse {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}


/* Skills section */
.skills-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.skills-box{
    width: 100%;
    height: 90vh;
    position: relative;
    display: flex;
    align-items: start;
    justify-content: center;
    mix-blend-mode:lighten;
    opacity: 0.7;
}

.skills-image{
    width: 70%;
    mix-blend-mode:difference;
}

.Designer{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: start;
    top: 25%;
    left: 5%;
    max-width: 300px;
}

.Designer h1{
    font-size: 50px;
    display: flex;
    align-items: center;
}

.Designer p{
    line-height: 23px;
}


.coder{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: start;
    top: 25%;
    right: 5%;
    max-width: 300px;
}

.coder h1{
    font-size: 50px;
    display: flex;
    align-items: center;
}

.coder p{
    line-height: 23px;
}



.coder-text{

    font-size: 50px;
}



/* SERVICES SECTION */
.services-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin: 150px 0;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    width: 100%;
    margin-top: 50px;
}

/* Terminal style header */
.terminal-header {
    width: 100%;
    height: 25px;
    background: rgba(0, 31, 124, 0.4); /* #001f7c with opacity */
    border-bottom: 1px solid rgba(114, 161, 222, 0.5);
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 15px 15px 0 0;
}

.terminal-header .dot {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.terminal-header .red { background: #ff5f56; }
.terminal-header .yellow { background: #ffbd2e; }
.terminal-header .green { background: #27c93f; }

/* Terminal body */
.terminal-body {
    padding: 25px;
    color: lightgray;
    background-color: rgba(8, 0, 32, 0.7); /* #080020 with opacity */
    border-radius: 0 0 15px 15px;
    width: 100%;
    min-height: 320px;
    border: 1px solid rgba(114, 161, 222, 0.3);
    border-top: none;
    box-shadow: 0 0 10px rgba(114, 161, 222, 0.2);
    position: relative;
}

.terminal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #00aaa7, #7e42a7, #6600c5, #6070fd, #2a46ff, #0099ff, #008ead);
    background-size: 200%;
    animation: animate-gradient 2.5s linear infinite;
}

/* Service card */
.service-card {
    background: transparent;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(114, 161, 222, 0.3);
}

/* Typography inside */
.service-icon {
    text-align: center;
    font-size: 50px;
    margin-bottom: 20px;
    color: #72a1de;
}

.service-card h2 {
    text-align: center;
    color: #72a1de;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: lightgray;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 16px;
    text-align: center;
}

.service-card ul {
    padding-left: 20px;
}

.service-card li {
    color: lightgray;
    margin-bottom: 8px;
    position: relative;
    font-size: 14px;
}

.service-card li::before {
    content: '▸';
    color: #72a1de;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .terminal-body {
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {
    .services-section {
        margin: 100px 0;
    }
    
    .service-card h2 {
        font-size: 20px;
    }
    
    .service-card p {
        font-size: 14px;
    }
    
    .service-icon {
        font-size: 40px;
    }
}


/* BLOG */
/* BLOG SECTION */
.blog-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin: 150px 0;
}

.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    width: 100%;
    margin-top: 50px;
}

.blog-post {
    background-color: rgba(8, 0, 32, 0.7); /* #080020 with opacity */
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border: 1px solid rgba(114, 161, 222, 0.3);
    box-shadow: 0 0 10px rgba(114, 161, 222, 0.2);
    position: relative;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #00aaa7, #7e42a7, #6600c5, #6070fd, #2a46ff, #0099ff, #008ead);
    background-size: 200%;
    animation: animate-gradient 2.5s linear infinite;
}

.blog-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(114, 161, 222, 0.3);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post:hover .blog-image img {
    transform: scale(1.05);
}

.blog-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(114, 161, 222, 0.8);
    color: #080020;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    display: flex;
    align-items: center;
    color: #72a1de;
    font-size: 14px;
    margin-bottom: 15px;
}

.blog-date i {
    margin-right: 8px;
}

.blog-content h2 {
    color: #72a1de;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.blog-content p {
    color: lightgray;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    color: #72a1de;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #a0c4ff;
}

.blog-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.blog-link:hover i {
    transform: translateX(5px);
}

.blog-cta {
    text-align: center;
    margin-top: 60px;
}

.blog-cta p {
    color: lightgray;
    margin-bottom: 20px;
    font-size: 18px;
}

.blog-button {
    color: white;
    padding: 15px 35px;
    border-radius: 10px;
    border: 1px solid #72a1de81;
    background-color: #2200493d;
    box-shadow: 0 0 5px #72a1de81;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.blog-button:hover {
    opacity: 0.8;
    box-shadow: 0 0 15px #72a1de81;
}

.blog-button i {
    margin-right: 10px;
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
    .blog-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .blog-container {
        grid-template-columns: 1fr;
    }
    
    .blog-content {
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {
    .blog-section {
        margin: 100px 0;
        width: 90%;
    }
    
    .blog-content h2 {
        font-size: 18px;
    }
    
    .blog-content p {
        font-size: 14px;
    }
    
    .blog-button {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* CTA */
.freelance-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 30vh; /* makes it vertically centered */
   
}

.freelance-content h2 {
    font-size: 2.5rem; /* increase font size */
    margin-bottom: 15px;
}

.freelance-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #f7f7f7;
}

.freelance-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    background: linear-gradient(135deg, #007bff, #00d4ff);
    color: #fff;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.freelance-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.5);
}





/* SLIDER  */

.slider{
    position: absolute;
    bottom: 5%;
    right: 20%;
    width: 60%;
    height: var(--height);
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 10% 90%,
        transparent
    );
    mix-blend-mode:difference;
    opacity: 0.7;
}
.slider .list{
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
}
.slider .list .item{
    width: var(--width);
    height: var(--height);
    position: absolute;
    left: 100%;
    animation: autoRun 10s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc( (10s / var(--quantity)) * (var(--position) - 1) - 10s)!important;
}
.slider .list .item img{
    width: 100%;
}
@keyframes autoRun{
    from{
        left: 100%;
    }to{
        left: calc(var(--width) * -1);
    }
}
.slider:hover .item{
    animation-play-state: paused!important;
    filter: grayscale(1);
}
.slider .item:hover{
    filter: grayscale(0);
}


/* CONTACT SECTION */
.contact-section {
  width: 80%;
  min-height: 100vh;
  display: flex;
  flex-direction: column; /* heading + paragraph stacked above flex row */
  align-items: center;
  justify-content: center; /* vertically center content */
  padding: 50px 0;
  gap: 30px; /* spacing between heading, paragraph, and row */
  box-sizing: border-box;
}

.contact-section h1 {
  text-align: center;
  position: relative; /* normal flow */
  margin: 0; /* remove default margin if needed */
}


.intro-text {
  text-align: center;
  max-width: 600px;
  margin-bottom: 30px;
  font-size: 18px;
  color: #ccc;
}

/* Flex row for social + form */
.contact-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10%; /* same spacing as original */
  width: 100%;
  flex-wrap: wrap; /* responsive */
}

/* Left Social Box */
.social-box {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.social-box a {
  color: lightgray;
  text-decoration: none;
  font-size: 20px;
  white-space: nowrap;
}

.social-box i {
  color: #7668ff;
  font-size: 30px;
  margin-right: 10px;
}

.social-icons a i {
  color: white;
  margin-top: 40px;
}

/* ==== Right Form Design (original styles) ==== */
.contact-box {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}

.contact-box p {
  max-width: 400px;

  /* margin: 0 0 10px 0;  */
  font-weight: 500;   /* optional for label visibility */

  margin-top: 50px;
  margin-bottom: 10px;

}

.contact-box input,
.contact-box textarea {
  padding: 7.5px 30px;
  background-color: lightgray;
  width: 80%;
  border: none;
  outline: none;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  font-family: inherit;
}

.contact-box input {
  height: 25px;
  width: 100%;
}

.contact-box textarea {
  height: 100px;
  width: 100%;
  resize: none;
}

.contact-box button {
  margin-top: 30px;
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid #72a1de81;
  background-color: #2200493d;
  box-shadow: 0 0 5px #72a1de81;
  cursor: pointer;
  transition: 0.3s;
}

.contact-box button:hover {
  opacity: 0.8;
  box-shadow: 0 0 15px #72a1de81;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .contact-row {
    flex-direction: column;
    gap: 20px;
  }

  .contact-box input,
  .contact-box textarea {
    width: 100%;
  }
}


.footer{
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.121);
    z-index: 999;
    padding: 0 3rem;
}


/* BLUR EFFECT ANIMAION */

.autoBlur{
    animation: autoBlurAnimation linear both;
    animation-timeline: view();

}
@keyframes autoBlurAnimation{
    0%{
        filter: blur(40px);
    }
    35%,65%{
        filter: blur(0);
        opacity: 1;
    }
    100%{
        filter: blur(40px);
        opacity: 0;
    }
}


/* AUTO DISPLAY ANIMAION */
.autoDisplay{
    animation: autoDisplayAnimation both;
    animation-timeline: view();

}

@keyframes autoDisplayAnimation{
    from{
        filter: blur(10px);
        transform: translateY(-200px) scale(0);
    } 50%{
        opacity: 1;
        filter: blur(0px);
        transform: translateX(0) scale(1);
    }
}


/* FADEIN_LEFT */

.fadein-left{
    animation: fadeInLeftAnimation both;
    animation-timeline: view();
}

@keyframes fadeInLeftAnimation{
    0%{
        opacity: 0;
        transform: translateX(-500px) scale(0.2);
        filter: blur(10px);
    } 35%,65%{
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0px);
    }100%{
        filter: blur(10px);
    }
}

/* Sidebar */

.menu-icon{
    font-size: 35px;
    cursor: pointer;
    display: none;
}


.sidebar{
    position: fixed;
    right: 0;
    top: 0;
    bottom: 70%;
    width: 0%;
    background-color: #000000b8;
    z-index: 999;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.479);
    backdrop-filter: blur(10px);
    opacity: 0;
    border-bottom-left-radius: 100%;
    
}

.close-icon{
    font-size: 50px;
    color: lightgray;
    padding-left: 10px;
    cursor: pointer;
}

.sidebar ul{
    padding-left: 20px;
}

.sidebar ul li{
    list-style: none;
    margin-bottom: 30px;
}

.sidebar ul li a{
    text-decoration: none;
    color: lightgray;
    font-size: 30px;
    font-weight: 900;
    text-shadow:0 0 15px #4c4c4c;
}

.social-sidebar{
    padding-left: 20px;
    margin-top: 60px;
    text-wrap: nowrap;
}

.social-sidebar a{
    font-size: 35px;
    padding: 5px 5px;
    cursor: pointer;
    transition: 0.5s;
}

/* Sidebar Open ANimation */
.sidebar.open-sidebar{
    animation: openSideBarAnimation 1.5s forwards;
}

@keyframes openSideBarAnimation {
    to{
        width: 80%;
        opacity: 1;
        bottom: 0;
        border-radius: 0;
    }
}

/* Sidebar close ANimation */

.sidebar.close-sidebar{
    animation: closeSideBarAnimation 1.5s forwards;
}

@keyframes closeSideBarAnimation {
    from{
        width: 80%;
        opacity: 1;
        bottom: 0;
        border-radius: 0;
    }
    to{
        width: 0;
        opacity: 0;
        bottom: 70%;
        border-bottom-left-radius: 50%;
    }
}






@media (max-aspect-ratio: 16/9){
    .back-vid{
        width: auto;
        height: 100%;
    }
}

@media (min-aspect-ratio: 16/9){
    .back-vid{
        width: 100%;
        height: auto;
    }
}


@media screen and (max-width: 1200px){
    .blackhole-box video{
        margin-top: -20%;
    }

    .hero-info h1{
        font-size: 40px;
        max-width: 400px;
        line-height: 40px;
    }

    .hero-info P{
        max-width: 300px;
    }

    .skills-video-box{
        right: 0%;
    }

    .skills-video-box video{
        height: 500px;
    }

    .info-cards{
        grid-template-columns: auto;
    }

    .card:nth-child(3){
        grid-column: span 2;
        height: 70vh;
    }

    .info-cards .card h1{
        font-size: 20px;
    }

    .info-cards .card:nth-child(3) h1{
        bottom: 25%;
    }

    .card video{
        height: 60%;

        margin-top: 5%;
    }

    .my-project{
        margin-bottom: 200px;
        scale: 0.8;
    }

    .contact-section .section-title {
        left: 30%;
    }
}

@media screen and (max-width: 700px){
    header {
        position: fixed;
        height: 50px;
    }

    header ul{
        display: none;
    }

    header .box-icons{
        display: none;
    }

    .menu-icon{
        display: inline;
    }

    .blackhole-box video {
        width: 100%;
        margin-top: -15%;
    }

    .autoBlur{
        animation: none;
    }
    
    .hero{
        flex-direction: column;
        top:0;
        bottom: 0;
        left: 0;
        right:0;
        
    }
    .hero-info{
        bottom: 5%;
    }

    .scroll-down{
        bottom: 5%;
    }

    .hero .skills-video-box{
        height: 200px;
        top: 5%;
    }



    .info-cards{
        grid-template-columns: auto;
    }

    .card:nth-child(3){
        grid-column: span 2;
        height: 70vh;
    }

    .card video{
        width: 100%;
    }
    
    .container{
        height: 100%;
    }

    .project-vidbox video{
        width: 250px;
        margin-left: -100px;
    }

    .project-info{
        overflow: hidden;
        padding-left: 0;
        margin-left: -50px;
    }

    .project-info h1{
        font-size: 20px;
        max-width: 200px;
        text-wrap: wrap;
    }

    .project-info p{
        font-size: 10px;
        text-wrap: wrap;
        max-width: 200px;
        min-width: 0;
    }

    .project-info button{
        padding: 5px 10px;
    }

    .my-project{
        margin-bottom: 600px;
    }

    .project-card{
        flex-direction: column;
        margin-left: 25%;
        gap: 30px;
    }
    
    .project-vidbox{
        min-width: 200px;
    }

    .project-info{
        width: 85%;
    }

    .project-info h1{
        text-wrap: nowrap;
    }

    .project-info p{
        max-width: 300px;
    }

    .Designer{
        top: 15%;
        left: 18%;
    }

    .Designer h1{
        margin-bottom: 0;
        margin-top: 70px;
    }

    .coder{
        top: 50%;
        left: 18%;
    }

    .coder h1{
        margin-bottom: 0;
    }

    .slider .list .item img{
        width: 70%;
    }

    .contact-section{
        flex-direction: column;
        margin-top: 100px;
        margin-bottom: 50px;
    }

    .footer{
        font-size: 10px;
    }

    .social-box{
        margin-left: -90px;
    }
}


@media screen and (max-width: 480px) {

    .hero .skills-video-box {
        display: none;
        
    }

    .blackhole-box {
        overflow: hidden;
    }

    .blackhole-box video {
        width: 140%;
        margin-top: -27%;

    }

    .left {
        scale: 0.9;
        margin-left: -30px;
    }

    .left h2 {
        font-size: 20px;
    }

    .hero {
        scale: 0.9;
    }

    .hero-info{
        bottom: 15%;
    }

    .hero-info h1{
        font-size: 35px;
    }

    .scroll-down{
        bottom: 15%;
        left: 60%;
    }

    .section-title {
        font-size: 25px;
    }

    .info-cards{
        display: flex;
        flex-direction: column;
    }

    .card {
        min-height: 20rem;
    }

    .card h1{
        bottom: 30%;
        font-size: 5px;
    }

    .project-card {
        height: 50%;
    }

    .project-info p{
        margin-bottom: 15px;
    }

    .project-info{
        margin-left: -80px;
    }

    .skills-box{
        height: 120vh;
        margin-right: 30px;
    }

    .slider{
        bottom: 0%;
    }

    .contact-section{
        scale: 0.9;
        height: 120vh;
    }

    .contact-section .section-title {
        top: -30px;
        left: 25%;
    }

    .footer{
        padding: 15px;
    }

    .footer h1{
        max-width: 150px;
    }

    .footer .box-icons{
        gap: 10px;
    }


}








#assistant-messages::-webkit-scrollbar {
  width: 6px;
}
#assistant-messages::-webkit-scrollbar-thumb {
  background-color: #72a1de81;
  border-radius: 3px;
}




/* Chatbot Section */
    .chatbot-section {
      width: 100%;
      background: #0d1117;
      color: white;
      padding: 60px 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      text-align: center;
    }

    .chatbot-section h2 {
      font-size: 2.2rem;
      margin-bottom: 20px;
      color: #58a6ff;
    }

    .chatbot-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      max-width: 600px;
      background: #161b22;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    }

    .chatbot-logo {
      width: 80px;
      margin-bottom: 15px;
    }

    .chat-box {
      width: 100%;
      height: 300px;
      background: #0d1117;
      border: 1px solid #30363d;
      border-radius: 8px;
      overflow-y: auto;
      padding: 10px;
      margin-bottom: 15px;
      text-align: left;
      font-size: 14px;
    }

    .chat-message {
      margin: 8px 0;
      line-height: 1.4;
    }

    .user-message {
      color: #58a6ff;
    }

    .bot-message {
      color: #8b949e;
    }

    .chat-input {
      display: flex;
      width: 100%;
    }

    .chat-input input {
      flex: 1;
      padding: 10px;
      border: none;
      border-radius: 6px 0 0 6px;
      outline: none;
    }

    .chat-input button {
      background: #58a6ff;
      color: white;
      border: none;
      padding: 0 20px;
      border-radius: 0 6px 6px 0;
      cursor: pointer;
      transition: 0.3s;
    }

    .chat-input button:hover {
      background: #1f6feb;
    }
