* {
    margin: 0;
    padding: 0%;
    box-sizing: border-box;
    font-family:'Poppins',sans-serif;
}
html {
    scroll-behavior: smooth;
}

body{
    background-color: #000000;
    color: rgb(255, 255, 255);
}
.header{
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    padding: 20px 10%;
    background: rgb(0, 0, 0);
    fill-opacity: 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;

}
.logo{
    font-size: 25px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: bold;
}
.navbar a {
    font-size: 18px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 300;
    margin-left: 20px;
    transition: .3s;

}
.navbar a:hover,
.navbar a:active {
    color: rgb(222, 158, 254);
}

.home{
    height: 100vh;
    display: flex;
    align-items: center;
    padding:0 5% ;
}
.home-content{
    max-width: 500px;
}
.home-content h1{
    text-transform:none;
    font-size: 48px;
    font-weight: 800px;
    line-height: 1.2; 
}
.home-content h5{
    color: plum;
    font-style:36px;
    word-spacing: 2px;
    letter-spacing: 3px;
    font-weight:50;
    margin: 5px 0 10px;
}
.home-content p{
    font-style: italic;
    color: #f1e1f9;
    font-weight: 300px;
    font-size: 15px;
    letter-spacing: 1px;
    margin: 0px 0px 20px;
}
.home-content .box{
    display: flex;
    justify-content: space-between;
    width: 200px;
    height: 50px;
}
.box a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 60%;
    background-color: plum;
    border: 2px solid plum;
    border-radius: 3px;
    font-size: 10px;
    color: black;
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 1px;
    margin-right:20px ;
    padding:2px 2px;
    transition: background-color 0.3s ease, transform 0.3s ease;    
}
/* On hover, darken the background color */
.box a:hover {
    background-color: rgb(218, 144, 218); /* Darker transparent background */
    transform: scale(1.05); /* Slightly enlarge the button */
}

/* On click, make background fully transparent */
.box a:active {
    background-color: transparent; /* Fully transparent on click */
    transform: scale(1); /* Reset any scaling */
}

  

.profile-image {
    object-fit: fill;
    width: 50%; /* Set the width of the image */
    height: 75%; /* Set the height of the image */
    border-radius: 50%; /* Makes the image circular */
    overflow: hidden; /* Ensures the image stays within the border radius */
    margin-left: 300px; /* Adds space between the text and the image */
    transition: transform 0.5s ease-in-out, opacity 0.7s ease-in-out; /* Smooth transition for hover effect */
    position: relative; /* Allows us to position it near the text */
    top: -50px; /* Adjust to move the image closer to the text */
    opacity: 0.2; /* Initially, set the image opacity to make it slightly faded */
}

.profile-image:hover {
    transform: scale(1.1); /* Zoom in effect when hovering */
    opacity: 1; /* Full opacity when hovering */
}

.profile-image img {
    width: 100%; /* Makes sure the image covers the entire container */
    height: 100%; /* Ensures the image fits the container perfectly */
    object-fit: cover; /* Ensures the image is cropped to fit the circle */
}



/* Social Media Icons Styling */
.social-icons {
    position: absolute;
    bottom: 100px; /* Distance from the bottom of the parent section */
    left: 10%;
    padding: 5px 10%;
    transform: translateX(-50%); /* Center the icons horizontally */
    display: flex;
    gap: 20px; /* Space between icons */
    
}

.social-icon i {
    font-size: 20px; /* Size of the icons */
    transition: transform 0.3s ease,font-size 0.3s ease;
    color:rgb(110, 17, 110,0.8); /* Default color */
    
}

.social-icon:hover i {
    transform: scale(1.2); /* Slight zoom on hover */
    font-size: 28px;
}

.social-icon {
    display: inline-block;
    text-decoration: none; /* Remove underline from links */
}


/*about section*/
.about{
    display: flex;
    min-height: 200vh;
    padding-top:100px ;
    padding-bottom: 0px;
    font-size: 50px;
}
.about-content {
    display: block;
    justify-content: space-between;
    margin-left: 0px;
    padding: 0px;
}
.knowh1{
    padding-left: 50px;
}
.knowh11{
    background-color: plum;
    padding-left: 50px;
    padding-top: 15px;
    margin-top: -30%;
    padding-bottom: 20px;
    padding-right: 130px;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;

}

.about-right{
    width: 70%;
    display: flex;
    flex-direction: column;
    padding-top: 50px;
    padding-left: 30%;
    padding-right: 5px;
    font-size: 20px;
}
.about-right h3{
    font-family:Montserrat ;
    color: plum;
    font-weight: 600;
    gap: 20px;
}
.about-right p{
    color:rgb(151, 149, 149);
    font-weight: 100;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
/* animation for text*/
/* General styling (add your own styles too) */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Example for about section to ensure it scrolls */
.about {
    min-height: 100vh;
    padding: 100px 20px;
}

.about h3,
.about p {
    margin-bottom: 20px;
}

/* Optional: smooth scroll */
html {
    scroll-behavior: smooth;
}









/*skill section  */
/* Section wrapper */
#skills {
  text-align: center;
  min-height: 100vh;
  padding: 100px 20px;
  font-family:Montserrat ;
}

/* Title */
.section-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
}

/* Toggle Buttons */
.toggle-buttons {
  margin-bottom: 5%;
}
.toggle-buttons button {
  background:plum;
  color: black;
  border: none;
  padding: 10px 80px;
  margin: 0 30px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.toggle-buttons button:hover {
  background: rgb(222, 109, 222);
}

/* Shared Page Block */
.page-block {
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
  margin-bottom: 100px;
  margin-top: 8%;
}
.hidden {
  display: none;
}

/* Project Cards */
.card {
  background: #fcf6fc;
  border-radius: 0px;
  box-shadow: 0 0px 0px plum;
  width: 400px;
  height: 400px;
  padding: 0px;
  text-align: center;
  overflow: hidden;
}
.card img {
  width: 100%;
  height: 70%;
  border-radius: 0px;
  object-fit: cover;
  object-position: center;
}
.card h3 {
  margin: 10px 0 10px;
  font-size: 16px;
  font-family: 'Pacifico', 'Great Vibes', 'Lobster', cursive;
  font-weight: 1500px;
  color:rgb(248, 39, 248);
  
}
.card p {
  font-size: 10px;
  font-weight: lighter;
  margin-bottom: 10px;
  margin: 0px 20px 10px;
  color:rgb(142, 141, 141);
}
.card a {
  display: inline-block;
  padding: 10px 25px;
  background:#fbe9f5;
  color: plum;
  border-radius: 0%;
  text-decoration: none;
  font-size: 10px;
  margin-bottom: 10px;
}
.card a:hover {
  background:rgb(214, 128, 214);
}

/* Skills Section */
.skills-section {
     /* black background like your design */
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

.skills-section .section-title {
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: 'Georgia', serif;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
  object-fit: fill;
  overflow: hidden;
}
.skills-grid1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
  margin-top: 200px;
}
.skill-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.skill-item p {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
}
/*skill section  */
/* Section wrapper */
#skills {
  text-align: center;
  min-height: 100vh;
  padding: 100px 20px;
  font-family: Montserrat;
}

/* Title */
.section-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
}

/* Toggle Buttons */
.toggle-buttons {
  margin-bottom: 5%;
}
.toggle-buttons button {
  background: plum;
  color: black;
  border: none;
  padding: 10px 80px;
  margin: 0 30px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.toggle-buttons button:hover {
  background: rgb(222, 109, 222);
}

/* Shared Page Block */
.page-block {
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
  margin-bottom: 100px;
  margin-top: 8%;
}
.hidden {
  display: none;
}

/* Project Cards */
.card {
  background: #fcf6fc;
  border-radius: 0px;
  box-shadow: 0 0px 0px plum;
  width: 400px;
  height: 400px;
  padding: 0px;
  text-align: center;
  overflow: hidden;
}
.card img {
  width: 100%;
  height: 70%;
  border-radius: 0px;
  object-fit: cover;
  object-position: center;
}
.card h3 {
  margin: 10px 0 10px;
  font-size: 16px;
  font-family: 'Pacifico', 'Great Vibes', 'Lobster', cursive;
  font-weight: 1500px;
  color: rgb(248, 39, 248);
}
.card p {
  font-size: 10px;
  font-weight: lighter;
  margin-bottom: 10px;
  margin: 0px 20px 10px;
  color: rgb(142, 141, 141);
}
.card a {
  display: inline-block;
  padding: 10px 25px;
  background: #fbe9f5;
  color: plum;
  border-radius: 0%;
  text-decoration: none;
  font-size: 10px;
  margin-bottom: 10px;
}
.card a:hover {
  background: rgb(214, 128, 214);
}
/* Add smooth transition */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Zoom */
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ---------------- Responsive Tweaks ---------------- */

/* Tablets */
@media (max-width: 992px) {
  .card {
    width: 320px;
    height: auto;  /* let content decide height */
  }
}

/* Mobiles */
@media (max-width: 600px) {
  .page-block {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .card {
    width: 90%;
    height: auto;
  }
}

/* Skills Section */
.skills-section {
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

.skills-section .section-title {
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: 'Georgia', serif;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
  object-fit: fill;
  overflow: hidden;
}
.skills-grid1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
  margin-top: 200px;
}
.skill-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.skill-item p {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
}




/* ---------------- Animations ---------------- */

/* Fade + Slide Animation */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.skill-item {
  opacity: 0; /* start hidden */
  animation: fadeUp 0.1s ease forwards;
}

/* Staggered delay */
.skill-item:nth-child(1) { animation-delay: 0.2s; }
.skill-item:nth-child(2) { animation-delay: 0.4s; }
.skill-item:nth-child(3) { animation-delay: 0.6s; }
.skill-item:nth-child(4) { animation-delay: 0.8s; }
.skill-item:nth-child(5) { animation-delay: 1s; }

/* Hover bounce */
.skill-item:hover {
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}













  /* Different sizes */
  .box1 {
    width: 200px;
    height: 300px;
    transform: scale(0.85);
  }
  .box2 {
    width: 250px;
    height: 350px;
    transform: scale(0.9);
  }
  .box3 {
    width: 290px;
    height: 390px;
    transform: scale(1);
  }
  .box4 {
    width: 250px;
    height: 350px;
    transform: scale(0.9);
  }
  .box5 {
    width: 200px;
    height: 300px;
    transform: scale(0.85);
  }
  
  /* Hover effect */
  .skill-box:hover {
    transform: scale(1.03);
    z-index: 2;
  }
 
  
  /* Portfolio Section */
/* Portfolio layout */
.portfolio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    gap: 50px;
    padding: 100px 50px;
    
    color: white;
  }
  
  /* Left side text */
  .left-text {
    flex: 1;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
    position: relative;
  }
  
  /* Background circles */
  .circle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
  }
  
  .circle1 {
    top: 20px;
    left: 50px;
    width: 80px;
    height: 80px;
  }
  
  .circle2 {
    top: 100px;
    left: 10px;
    width: 150px;
    height: 150px;
  }
  
  .circle3 {
    top: -20px;
    left: 150px;
    width: 60px;
    height: 60px;
  }
  
  /* Right side scroll area */
  .right-images {
    flex: 1;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    outline: none; /* So no blue border when focused */
  }
  
  .right-images::-webkit-scrollbar {
    display: none;
  }
  
  /* Boxes */
  .image-box {
    flex: 0 0 60%;
    height: 600px;
    border-radius: 15px;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
    background-color: white;
    margin: 30px;
  }
  
  .image-box.grey {
    background-color: lightgray;
  }
  .image-box img {
    width: 100%;  /* Make the image fill the entire div */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensure images cover the div without distortion */
  }
  
  .image-box .image-resume {
    padding: 0px;/* Additional styling for the resume image, if needed */
  }
  
  .image-box .image-cv {
    padding: 0px;/* Additional styling for the CV image, if needed */
  }
  .image-box:hover {
    transform: scale(1.05);
  }
  .download-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 6px 12px; /* Adjust padding for a smaller button */
    font-size: 12px; /* Set the font size to small */
    background-color:plum; /* Button color */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
    
    /* Bring the button above all other elements */
    position: relative;  /* Required for z-index to work */
    z-index: 10; /* Higher than the circles' z-index */
  }
  
  .download-btn:hover {
    background-color: rgb(68, 13, 68); /* Hover color */
  }
  
  /* Make sure the circles are behind other elements */
  .circle {
    position: absolute;
    z-index: 1; /* Lower than the button */
  }
  
  
/* Contact Section */
.contact{
  min-height: 100vh;
  padding: 100px;
}
.container {
  position: relative;
  width: 80%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideIn 1s ease;
}

/* Contact text part */
.text-side {
  position: relative;
  color: white;
  font-size: 5vw;
  font-weight: 700;
  text-transform: lowercase;
  line-height: 0.9;
  animation: textFloat 2s infinite alternate;
}

.circle11 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background-color:plum;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* Form side */
.form-side {
  background: #fff;
  border-radius: 30px;
  padding: 40px 30px;
  width: 350px;
  box-shadow: 10px 10px 10px rgba(243, 91, 213, 0.2);
  animation: fadeInUp 1s ease;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: bold;
  color: rgb(225, 44, 225);
  margin-bottom: 5px;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border: none;
  background: transparent;
  font-size: 14px;
  outline: none;
  color: #f09df9;
}

input::placeholder,
textarea::placeholder {
  color: #feceee;
  font-size: 13px;
}

/* Submit button */
.submit-btn {
  margin-top: 20px;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(90deg, #e642b0 30%,plum 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  color: #ffff;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  background-position: left bottom;
  color: #ffffff;
}

.submit-btn:active {
  animation: loadButton 1.5s forwards;
}

/* Animations */
@keyframes slideIn {
  0% { transform: translateY(-50px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
  0% { transform: translateY(50px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes textFloat {
  from { transform: translateY(0px); }
  to { transform: translateY(10px); }
}

@keyframes loadButton {
  0% {
    background-position: right bottom;
  }
  100% {
    background-position: left bottom;
  }
}





/* Footer background with a subtle gradient */
footer {
  
  color: #fff;
  padding: 0px 0px;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
}

/* Centered content with max width */
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 0px;
  /* Slight transparent black background */
  box-shadow: 0.3px 0.3px 10px rgba(255, 255, 255, 0.2);
}

/* Thank you message with a soft, elegant look */
.thank-you {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.85;
}

/* Footer links styled as buttons with hover effect */
/* Footer background with a subtle gradient */
footer {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 50px 20px;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
}

/* Centered content with max width */
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  
  
  
}

/* Cinematic font for the thank you message */
.thank-you {
  font-family: 'Cinzel', serif; /* Cinematic font */
  font-size: 20px;
  word-spacing: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 6px;
  color: #fff;
  opacity: 0.9;
  text-transform: uppercase;
}

/* Social media links styled as text logos */
.social-media {
  margin: 30px 0;
}

.social-icon {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  transition: color 0.3s ease;
}

/* Different hover colors for each social media icon */
.social-icon.github:hover {
  color:plum; /* GitHub dark color */
}

.social-icon.facebook:hover {
  color: plum; /* Facebook blue */
}

.social-icon.linkedin:hover {
  color: plum; /* LinkedIn blue */
}

.social-icon.instagram:hover {
  color:plum; /* Instagram pink */
}

.social-icon.youtube:hover {
  color: plum; /* YouTube red */
}

/* Small links for Contact and About Me */
.small-links {
  font-size: 14px;
  color: rgba(255, 255, 255);
  margin: 20px 0;
}

.small-links a {
  color: #fff;
  text-decoration: none;
}

.small-links a:hover {
  text-decoration: underline;
}

/* Copyright text */
.copyright {
  font-size: 14px;
  color: rgba(255, 255, 255 );
  margin-top: 30px;
}






/* responsive css*/
/* ===== Tablet Screens (max-width: 1024px) ===== */
@media (max-width: 1024px) {
  .header {
    padding: 15px 5%;
  }

  .home {
    flex-direction: column;
    text-align: center;
    padding: 80px 5% 20px;
  }

  .profile-image {
    margin-left: 0;
    width: 60%;
    height: auto;
    top: 0;
    opacity: 1;
  }

  .about {
    flex-direction: column;
    font-size: 28px;
    padding: 50px 20px;
  }

  .about-right {
    width: 100%;
    padding: 20px;
    font-size: 16px;
  }

  .portfolio {
    flex-direction: column;
    padding: 50px 20px;
  }

  .right-images {
    flex-direction: row;
    overflow-x: scroll;
  }

  .image-box {
    flex: 0 0 80%;
    height: 400px;
  }

  .contact {
    padding: 50px 20px;
    flex-direction: column;
    text-align: center;
  }

  .container {
    flex-direction: column;
    align-items: center;
  }

  .form-side {
    width: 100%;
    margin-top: 20px;
  }
}

/* ===== Mobile Screens (max-width: 600px) ===== */
@media (max-width: 600px) {
  .logo {
    font-size: 20px;
  }

  .navbar {
    display: none; /* You can later replace with hamburger menu */
  }

  .home-content h1 {
    font-size: 28px;
  }

  .home-content h5 {
    font-size: 16px;
    letter-spacing: 1px;
  }

  .home-content p {
    font-size: 14px;
  }

  .box a {
    width: 100px;
    font-size: 12px;
    padding: 6px;
  }

  .skills-grid,
  .skills-grid1 {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  }

  .card {
    width: 100%;
    height: auto;
  }

  .image-box {
    flex: 0 0 90%;
    height: 250px;
  }

  .text-side {
    font-size: 8vw;
  }

  .form-side {
    padding: 20px;
    width: 90%;
  }

  .footer-content {
    padding: 10px;
  }

  .thank-you {
    font-size: 16px;
    word-spacing: 5px;
    letter-spacing: 3px;
  }
}
