body{
     margin:0;
     padding: 0;
     font-family:poppins;
     font-weight: 100;
     background-color: black;
     
     color: rgb(254, 254, 254);
}
.playfair-display-sc-regular {
  font-family: "Playfair Display SC", serif;
  font-weight: 100;
  font-style: normal;
}


.container{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 100px;
}
.back-vid{
    position: absolute;
    right: 0;
    bottom: 0;
    mix-blend-mode: lighten;
    z-index: -1;
    object-fit: cover;
}


header{
    display: flex;
    position: relative;
    top:0;
    left:0;
    right:0;
    z-index:999;
    padding: 0 30px;
    justify-content: space-between;
    align-items: center;
    height: 30px;
    background-color: rgba(225, 225, 225, 0.138);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 2px rgba(71, 62, 62, 0.845);
}
header ul{
    display: flex;
    width: 30%;
    justify-content: space-between;
    padding: 0px 30px;
    border-radius: 20px;
    background-color: rgba(143, 165, 188, 0.199);
    box-shadow: 0 1px 2px rgba(71, 62, 62, 0.845)
    
    
}
header ul li{
 list-style:none;
}
header ul a{
    margin: 0 10px;
    text-decoration: none;
    color: #fefdfd;
    font-weight: 100;
}
.hero{
    position:  relative;
    display: flex;
    width: 100%;
    height: 100%;
    align-items:center;
    justify-content: space-between;

}
.hero-info{
    left: 5%;
    margin-left: 30px;

}


.hero-info h1{
    font-size: 60px;
    max-width: 600px;
    font-weight: 100;
    margin: 2;
    text-shadow: 0 1px 2px rgba(71, 62, 62, 0.845);
    margin-top: px;
    margin-bottom: 30px;

}
.hero-info h2{
    font-family:pacifico;
    font-size: 40px;
    max-width: 600px;
    font-weight: 100px;
     margin: 2;
    text-shadow: 0 1px 2px rgba(71, 62, 62, 0.845);
    

}

.hero-info p{
    max-width: 700px;
    align-content: center;
    font-weight: 200;
    text-wrap: balance;
    margin-bottom: 40px;
    line-height: 25px;
    font-size: 20;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
}

.hero-image img {
    width: 500px;
    height: 500px;
    object-fit: cover;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 1px 2px rgba(71, 62, 62, 0.845);
}
.skills-video-box{
    position: absolute;
    right: 1%;
}
.skills-video{
    height: auto;
    mix-blend-mode:lighten;
    background-blend-mode: lighten;
    opacity: 0.5;
    z-index: -999;
    margin-top: 4px;
}
 .rotating-roles {
  position: relative;
  font-weight: 900;
  font-size: 28px;
  height: 40px;
  overflow: hidden;
  color: #fefdfd;
}

.rotating-role {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  animation: rotateRole 6s linear infinite;
}

.rotating-role:nth-child(1) { animation-delay: 0s; }
.rotating-role:nth-child(2) { animation-delay: 2s; }
.rotating-role:nth-child(3) { animation-delay: 4s; }

@keyframes rotateRole {
  0% { opacity: 0; transform: translateY(100%); }
  10%, 40% { opacity: 1; transform: translateY(0); }
  50%, 100% { opacity: 0; transform: translateY(-100%); }
}

.galaxy-gradient-text {
  color: #fefdfd;
  font-weight: 200; /* Make it bold for emphasis */
  font-size: 60px;  /* Adjust size as needed */
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, 
    #6a11cb, /* deep purple */
    #2575fc, /* electric blue */
    #ff61a6, /* pink */
    #24d8d8, /* cyan */
    #9c27b0, /* violet */
    #f44336, /* red */
    #2196f3  /* bright blue */
    
  );
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
          background-clip: text;
          color: transparent;
}
/* Common Section Styles */
.projects-section, .uiux-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 40px 30px;
  border-radius: 16px;
  background: rgba(15, 15, 40, 0.9);
  box-shadow: 0 8px 30px rgba(55, 45, 125, 0.6);
  color: #fefdfd;
  font-family: 'Montserrat', sans-serif;
}

/* Section Headings with Animated Gradient */
.projects-section h2, .uiux-section h2 {
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 50px;
  background: linear-gradient(135deg, #6a11cb, #2575fc, #ff61a6, #24d8d8);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 12s ease infinite;
  letter-spacing: 2px;
  user-select: none;
}

/* Grid Containers */
.projects-container, .uiux-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  padding: 0 10px;
}

/* Project Card Base Styles */
.project-card, .design-card {
  background: rgba(40, 40, 70, 0.85);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 6px 25px rgba(40, 30, 90, 0.9);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #e0e0ff;
}

/* Hover Effect */
.project-card:hover, .design-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 15px 45px rgba(102, 153, 255, 0.85);
}

/* Text Styles */
.project-card h3, .design-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: #92caff;
}

.project-card p, .design-card p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 25px;
  color: #cfd8dc;
  flex-grow: 1;
}

/* Links */
.project-card a, .design-card a {
  font-weight: 700;
  font-size: 1.1rem;
  color: #66ccff;
  text-decoration: none;
  align-self: flex-start;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.project-card a:hover, .design-card a:hover {
  border-color: #ff61a6;
  text-decoration: none;
}

/* Design Cards Image Styling */
.design-card img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 22px;
  box-shadow: 0 6px 15px rgba(38, 38, 60, 0.7);
  object-fit: cover;
  max-height: 200px;
  transition: box-shadow 0.3s ease;
}

.design-card:hover img {
  box-shadow: 0 12px 35px rgba(102, 153, 255, 0.8);
}

/* Gradient Animation Keyframes */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



.contact-section {
  padding: 60px 20px;
  text-align: center;
  background: rgba(15, 15, 40, 0.85);
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.contact-section h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #6a11cb, #2575fc, #ff61a6, #24d8d8);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 10s ease infinite;
}

.contact-section p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  color: #cfd8dc;
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.contact-socials a {
  font-size: 2.5rem;
  color: #66ccff;
  transition: 0.3s ease;
}

.contact-socials a:hover {
  color: #ff61a6;
  transform: scale(1.2);
}

@keyframes gradientMove {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}


@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 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;
    }
}