@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');

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

body {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #441f67, #913262); /* Continuous gradient for the entire page */
    background-attachment: fixed; /* Ensures the background stays fixed during scroll */
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

nav {
    width: 100%;
    height: 10vh;
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.5); 
    backdrop-filter: blur(4px);
    z-index: 10;
}

.nav-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo {
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.logo span {
    color: #ff69b4;
    text-shadow: 0 0 10px #f7027c;
}

.hamburg,
.cancel {
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    color: white;
    display: none;
    font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);
}

.nav-container .links {
    display: flex;
}

.nav-container .links a {
    position: relative;
    font-size: 1.2rem;
    color: white;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 550;
    transition: 0.3s linear;
}

.nav-container .links a::before {
  position: absolute;
  content: "";
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #a45ee5, #ff69b4);
  transition: 0.2s linear;
}

.nav-container .links a:hover::before {
    width: 100%;
}

.nav-container .links a:hover {
    color: #f7027c;
}

.dropdown {
    z-index: 100;
    position: absolute;
    top: 0;
    transform: translateY(-500px);
    width: 100%;
    height: auto;
    backdrop-filter: blur(4px) brightness(40%);
    box-shadow: 0 0 20px black;
    transition: 0.2s linear;
}

.dropdown .links a {
    display: flex;
    color: white;
    text-decoration: none;
    justify-content: center;
    padding: 15px 0;
    align-items: center;
    transition: 0.2s linear;
}

.dropdown .links a:hover {
    background-color: #ff69b4;
}

section {
    width: 100%;
    height: auto;
    min-height: 100vh; /* Ensure each section takes full height */
    background: transparent; /* No background here, use body gradient */
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}

.main-container .image {
    width: 500px;
    height: 62vh;
    border-radius: 100%;
    overflow: hidden;
    box-shadow: 0 0 50px #ff69b4;
}

.main-container .image img {
    width: 100%;
}

.main-container .image:hover {
    animation: animate 1.5s ease-in-out infinite;
}

@keyframes animate {
    0% {
        scale: 1;
    }
    50% {
        scale: 1.05;
    }
    100% {
        scale: 1;
    }
}

.main-container .content {
    color: white;
    width: 40%;
    min-height: 100px;
}

.content h1 {
    font-size: clamp(1rem, 1rem + 5vw, 1.8rem);
    
}

.content h1 span {
    color: #f7027c;
    text-shadow: 0 0 10px #391c2b;
}

.content .typewriter {
    font-size: clamp(1rem, 1rem + 5vw, 2.5rem);
    font-weight: 600;
}

.content .typewriter-text {
  color: #f7027c;
  text-shadow: 0 0 10px #391c2b;
}

.content p {
    font-size: clamp(0.4rem , 0.2rem + 9vw, 1rem);
    margin: 10px 0;
}

.social-links i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 0.2rem solid #f7027c;
    border-radius: 50%;
    color: #f7027c;
    margin: 5px 15px;
    font-size: 1.5rem;
    transition: 0.2s linear;
}

.social-links i:hover {
    scale: 1.3;
    color: whitesmoke;
    background-color: #ff69b4;
    filter: drop-shadow(0 0 10px #ff69b4);
}

.content button {
    width: 50%;
    height: 6vh;
    margin: 30px;
    background-color: #ff69b4;
    color: white;
    border: none;
    outline: none;
    font-size: 120%;
    font-weight: 700;
    border-radius: 5px;
    transition: 0.2s linear;
}

.content button:hover {
    scale: 1.1;
    color: #f7027c;
    border: 2px solid #f7027c;
    background-color: transparent;
    font-weight: 700;
    box-shadow: 0 0 40px #f7027c;
}
/* Other existing CSS... */

/* Add this at the end of your existing CSS */
.works-container {
  width: 100%;
  padding: 30px 0;
  text-align: center;
}

.works-container h2 {
  color: white;
  font-size: clamp(1.5rem, 2rem + 5vw, 2.5rem);
  margin-bottom: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Makes images responsive */
  gap: 20px; /* Space between images */
  padding: 0 20px;
}

.item {
  width: 100%;
  height: 300px; /* Adjust the height to suit your needs */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.5); /* Add a shadow effect */
  display: flex;
  justify-content: center; /* Center the image horizontally */
  align-items: center; /* Center the image vertically */
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensure the whole image is visible while maintaining aspect ratio */
  transition: transform 0.3s ease-in-out;
}

.item:hover {
  transform: scale(1.05); /* Slight zoom effect on hover */
}

.item:hover img {
  transform: scale(1.05); /* Zoom effect on the image */
}
#about, #skills, #contact, #works {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.about-container, .skills-container, .contact-container, .works-container {
  max-width: 900px;
  text-align: center;
  color: white;
}

.about-container h2, .skills-container h2, .contact-container h2, .works-container h2 {
  margin-bottom: 20px;
  color: white;
}

.about-container p, .skills-container p, .contact-container p, .works-container p {
  line-height: 1.8;
  color: white;
}
.highlight {
  color: #ff69b4; /* Pink color */
  font-weight: 600; /* Optional: make it a bit bolder */
  text-shadow: 0 0 5px #f7027c; /* Optional: glowing effect */
}



.about-container h2,
.skills-container h2,
.contact-container h2,
.works-container h2 {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.5rem, 2rem + 5vw, 2.5rem);
    color: white;
    margin-bottom: 20px;
}


@media (max-width:884px) {
    nav .logo{
        position: absolute;
        top: 16px;
        left: 15px;
        font-size: 1.5rem;
    }

    .main-container {
        display: flex;
        flex-direction: column;
    }

    .nav-container .links{
        display: none;
    }

    .hamburg,
    .cancel{
        display: block;
    }

    .main-container .content{
        width: 80%;
    }

    .social-links i{
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }

    .main-container .image{
        width: 50vh;
    height: 65vh;
    border-radius: 100%;
    overflow: hidden;
    box-shadow: 0 0 50px #ff69b4;
    }
}

@media (max-width:440px){
    .main-container .image{
        width: 25vh;
    height: 30vh;
    border-radius: 100%;
    overflow: hidden;
    box-shadow: 0 0 50px #ff69b4;
    }

    .main-container .content{
        width: 80%;
    }

    .main-container button{
        margin-top: 15px;
    }
    #about, #contact {
        text-align: center; /* Center the text horizontally */
        margin: 0 auto; /* Center the section within its parent */
        padding: 50px 20px; /* Add spacing for better appearance */
    }
    
    #about h2, #contact h2 {
        font-size: 2rem; /* Adjust title size */
        margin-bottom: 20px; /* Add spacing below the heading */
    }
    
    #about p, #contact p {
        font-size: 1.2rem; /* Adjust paragraph size */
        line-height: 1.5; /* Improve readability */
        margin: 0 auto; /* Center the paragraph text */
        max-width: 800px; /* Limit the width for better formatting */
    }
}

.swiper {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 40px;
}

.swiper-slide {
  background:  #ff69b4;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.swiper-slide img:hover {
  transform: scale(1.05);
}
.swiper-button-next,
.swiper-button-prev {
  color: #f7027c;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
}
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(68,31,103,0.85), rgba(145,50,98,0.85));
  /* or just a transparent purple */
}

.modal-content {
  background: linear-gradient(135deg, #441f67, #913262);
  color: #d9d9f5;
  margin: 10% auto;
  padding: 20px;
  border-radius: 15px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 0 15px #a45ee5;
}

.close {
  color: #a45ee5;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #ff4de1;
}

#contact form {
  display: flex;
  flex-direction: column;
  max-width: 555px;
  margin-top: 20px;
}

#contact label {
  margin: 10px 0 5px;
  color: #d9d9f5;
}

#contact input,
#contact textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #f7027c;
  background: #3e1e58;
  color: #d9d9f5;
  font-size: 1rem;
  resize: vertical;
}

#contact textarea {
  min-height: 100px;
}

#contact button {
  margin-top: 15px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #441f67, #913262);
  color: #d9d9f5;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

#contact button:hover {
  background: linear-gradient(135deg, #913262, #441f67);
}
.contact-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#contact {
  min-height: 100vh; /* or height: 100vh; */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  flex-direction: column; /* so content stacks nicely */
}


.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.social-links a {
  color: #d9d9f5;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #a45ee5;
}