body{
    margin: 0;
    padding: 0;
    font-family: arial;
    color: lightgray;
    overflow-x: hidden;
}
.container{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background-color: #00000000;
}
.back-video{
    position: fixed;
    right: 0;     
    bottom: 0;
    z-index: -1;
    mix-blend-mode: lighten;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}
header{
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.123);
    backdrop-filter: blur(3px);
    padding: 0 30px;
    box-shadow: 0 0 15px #72a1de68;
    z-index: 999;
}
.left{
    display: flex;
    align-items: center;
    
}
.left img{
    width: 50px;
    margin:0 15px;
}
header ul.nav-menu{
    display: flex;
    gap: 20px;
    justify-content: space-between;
    width: 30%;
    padding: 15px;
    border-radius: 50px;
    background-color: rgba(0, 0,69,0.30);
    box-shadow: 0 0 10px #72a1de65;

}

.hamburger {
    
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #727fde;
}
div header ul li{
    list-style: none;
    
    font-weight: 700;
    margin: 0 10px;

}
div header ul li a{
    text-decoration: none;
    color: rgb(255, 255, 255);
    transition: 0.3s;
}
div header ul li a:hover{
    
    text-shadow: #ffffff;
    /* box-shadow: 0 0 15px #727fde6f; */
}
.box-icons{
    display: flex;
    gap: 40px;
}
.box-icons a{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    width: 30px;
    height: 30px;
    border: 2px solid #727fde;
    text-decoration: none;
    color: lightgrey;
    border-radius: 50%;
    transition: 0.3s;
}

.box-icons a:hover{
    background-color: #727fde;
    color: black;
    box-shadow: 0 0 15px #727fde6f;
}
.blackhole-box{
    position: absolute;
    top: 1%;
    width: 100%;
    justify-content: center;
    mix-blend-mode: lighten;
}
.blackhole-box video{
    width: 100%;
    margin-top: -25.5%;
}

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

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

.hero-image {
    position: absolute;
    right: 15%;
    margin-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 300px;
    height: auto;
}

/* .hero-info .hero-info-title{
    color: #727fde;
    padding: 8px 5px;
    border: 1px solid #727fde77;
    width: 240px;
    background-color: #2200493d;
    box-shadow: 0 0 5px #72a1de88;
    border-radius: 50px;

} */

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

}

.hero-info p{
    font-size: 15px;
    max-width: 550px;
    font-weight: 400;
    line-height: 25px;
    margin-bottom: 40px;
}
.hero-info button{
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid #727fdeb4;
    background-color: #2200493d;
    box-shadow: 0 0 5px #727fde88;
    cursor: pointer;
    transition: 0.1s;
    font-size: 20px;
}
.hero-info button:hover{
    background-color: #727fde;
    box-shadow: 0 0 15px #727fde6f;
}

/* gradiant animation */
.gradiant{
    background: linear-gradient(to right, #3448f8, #727fde,#ffffff,#eb7e7e, #7e0dff, #3448f8);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradiant 2.5s linear infinite;
}

@keyframes animate-gradiant{
    to{
        background-position: 200%;
    }
}


.hero-vid-box{
    position: absolute;
    right: 3%;
}
.hero-vid-box video{
    width: 900px;
}

.scrool-down{
    height: 50px;
    width: 30px;
    border: 2px solid lightgrey;
    position: absolute;
    left: 49%;
    bottom: 8%;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(211, 211, 211, 0.477);
}
.scrool-down::before,
.scrool-down::after{
    content: "";
    position: absolute;
    top: 40%;
    left: 50%;
    height: 10px;
    width: 10px;
    border: 2px solid lightgrey;
    transform: translate(-50%,-100%) rotate(45deg);
    border-top: transparent;
    border-left: transparent;
    animation: scrool-down 2s ease-in-out infinite;
}

.scrool-down::before{
    top: 30%;
    animation-delay: 0.5s;
}
@keyframes scrool-down{
    0%{
        opacity: 0;
    }
    30%,60%{
        opacity: 1;
    }
    100%{
        top: 90%;
        opacity: 0;
    }
} 

.live-indicator {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-family: sans-serif;
  color: rgb(5, 180, 5);
  font-size: 1.1rem;
}

.dot {
  height: 12px;
  width: 12px;
  background-color: rgb(8, 190, 8);
  border-radius: 50%;
  margin-left: 15px;
  margin-right: 15px;
  box-shadow: 0 0 15px rgb(0, 173, 0), 0 0 105px green, 0 0 105px green;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 5px green, 0 0 10px green, 0 0 15px green;
  }
  50% {
    box-shadow: 0 0 8px green, 0 0 16px green, 0 0 24px green;
  }
  100% {
    box-shadow: 0 0 5px green, 0 0 10px green, 0 0 15px green;
  }
}

.activity-item {
  margin-left: 10%;
  margin-bottom: 15px;
}

.activity-item i {
  font-size: medium;
  margin-right: 10px;
}

.mobile-social-links {
    display: none;
}

.mobile-social-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    padding: 10px 0;
}

.mobile-social-links i {
    font-size: 20px;
    color: #727fde;
}

/* Mobile Responsive Design */
@media screen and (max-width: 768px) {
    header {
        padding: 0 15px;
        height: 60px;
    }
    
    header ul.nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: rgba(0, 0, 69, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-radius: 0;
        padding: 20px 0;
    }
    
    header ul.nav-menu.active {
        left: 0;
    }
    
    header ul.nav-menu li {
        margin: 16px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .mobile-social-links {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 10px;
        padding-top: 15px;
        padding-bottom: 10px;
    }
    
    .mobile-social-links a {
        color: white;
        text-decoration: none;
        transition: 0.3s;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        font-size: 12px;
    }
    
    .mobile-social-links a:hover {
        color: #727fde;
    }
    
    .mobile-social-links i {
        font-size: 24px;
    }
    
    .box-icons {
        display: none;
    }
    
    .left img {
        width: 40px;
        margin: 0 10px;
    }
    
    .hero {
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
        padding: 10px;
        height: 100vh;
        margin-top: 70px;
        padding-top: 20px;
    }
    
    .hero-info {
        position: relative;
        left: 0;
        width: 100%;
        padding: 5px;
        margin: 0;
        order: 2;
    }
    
    .hero-info h1 {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 10px;
    }
    
    .hero-info h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .hero-info p {
        font-size: 13px;
        line-height: 18px;
        margin-bottom: 15px;
    }
    
    .hero-info button {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .live-indicator {
        font-size: 0.8rem;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .dot {
        height: 10px;
        width: 10px;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    /* Profile image positioning for mobile */
    .hero-image {
        position: relative;
        right: 0;
        order: 1;
        margin: 0;
        margin-bottom: 15px;
    }
    
    .hero-image img {
        width: 160px;
        margin: 0;
    }
    
    .hero-vid-box video {
        width: 100%;
        max-width: 400px;
    }
    
    .scrool-down {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 480px) {
    header {
        padding: 0 10px;
        height: 50px;
    }
    
    .left img {
        width: 35px;
        margin: 0 5px;
    }
    
    .box-icons {
        gap: 15px;
    }
    
    .box-icons a {
        font-size: 16px;
        width: 22px;
        height: 22px;
    }
    
    .hero-info h1 {
        font-size: 28px;
        line-height: 32px;
    }
    
    .hero-info h2 {
        font-size: 20px;
    }
    
    .hero-info p {
        font-size: 13px;
        line-height: 18px;
    }
    
    .hero-info button {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .hero-image img {
        width: 150px;
    }
    
    .live-indicator {
        font-size: 0.8rem;
    }
    
    .dot {
        height: 8px;
        width: 8px;
        margin-left: 8px;
        margin-right: 8px;
    }
    
    .activity-item {
        margin-left: 5%;
        font-size: 16px;
    }
}

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



.projects-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin: 150px 0;
}

.project-card {
  background: rgba(34, 0, 73, 0.2);
  border: 1px solid #727fde77;
  border-radius: 20px;
  box-shadow: 0 0 10px #727fde65;
  width: 300px;
  padding: 25px;
  text-align: center;
  color: lightgray;
  transition: box-shadow 0.3s;
}

.project-card:hover {
  box-shadow: 0 0 25px #727fde88;
}
.project-links {
    display: flex;
    justify-content: space-evenly;
    margin-top: auto;
}
.project-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.project-card h3 {
  margin: 10px 0;
  color: #ffffff;
}

.project-card a {
  display: inline-block;
  margin-top: 10px;
  color: #727fde;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 1px solid #727fde;
  transition: color 0.3s;
}

.project-card a:hover {
  color: #fff;
  border-bottom: 1px solid #fff;
}


.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;

  justify-content: center;
  margin: 150px ;
}

.skill-card {
  background: rgba(34, 0, 73, 0.2);
  border: 1px solid #727fde77;
  border-radius: 16px;
  box-shadow: 0 0 10px #727fde65;
  width: 140px;
  padding: 20px;
  text-align: center;
  color: lightgray;
  transition: box-shadow 0.3s;
}

.skill-card:hover {
  box-shadow: 0 0 20px #727fde88;
}

.skill-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

.skill-card h4 {
  margin: 0;
  color: #727fde;
  font-size: 1.1rem;
}

/* Mobile-first responsive fix */
@media (max-width: 600px) {
  .skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 200px 10px;
  }

  .skill-card {
    flex: 1 1 45%;  /* allows 2 cards per row */
    max-width: 25%;
    min-width: 20px; /* prevents shrinking too much */
    margin-bottom: 10px;
  }
}
