:root {
  --bg-color: #fff5f5;
  --second-bg-color: #ffecef;
  --text-color: #5a3d5c;
  --main-color: #d291bc;
  --accent-color: #ffa7c4;
  --dark-purple: #7c5295;
  --light-pink: #ffdfea;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
}
body {
  background: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 2rem 9%;
  background: rgba(255, 245, 245, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(210, 145, 188, 0.1);
}
.logo {
  font-size: 2.8rem;
  color: var(--text-color);
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
}
.logo span {
  color: var(--main-color);
  font-family: "Dancing Script", cursive;
  margin-left: 5px;
}
.logo:hover {
  transform: scale(1.05);
}
#menu-toggle {
  display: none;
}
.menu-icon {
  display: none;
  cursor: pointer;
  z-index: 110;
}
.menu-icon i {
  font-size: 3.6rem;
  color: var(--main-color);
}
.navbar a {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-left: 4rem;
  font-weight: 500;
  position: relative;
  transition: 0.3s ease;
}
.navbar a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  background: var(--main-color);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}
.navbar a:hover {
  color: var(--main-color);
}

.navbar a:hover::after {
  width: 100%;
}
section {
  min-height: 100vh;
  padding: 10rem 9% 2rem;
}
.home {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8rem;
  position: relative;
}

.home-content {
  max-width: 700px;
}

.home-content h1 {
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.home-content h1 span {
  color: var(--main-color);
  font-family: "Dancing Script", cursive;
  font-weight: 600;
}

.home-content h3 {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  color: var(--dark-purple);
}

.home-content p {
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.home-img {
  position: relative;
  width: 32vw;
  border-radius: 50%;
  box-shadow: 0 0 25px var(--main-color);
  overflow: hidden;
}

.home-img img {
  width: 100%;
  display: block;
}

.social-icons {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  background: var(--light-pink);
  border-radius: 50%;
  font-size: 2.5rem;
  color: var(--main-color);
  transition: 0.3s ease;
}

.social-icons a:hover {
  background: var(--main-color);
  color: var(--bg-color);
  box-shadow: 0 0 20px var(--main-color);
  transform: translateY(-5px);
}

About Section .about {
  background-color: var(--second-bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6rem;
}

.about-content {
  max-width: 800px;
}

.about-content h2 {
  font-size: 5.5rem;
  margin-bottom: 2rem;
}

.about-content p {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.about-info {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.about-info .info-box {
  background: var(--bg-color);
  padding: 1.5rem 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 5px 15px rgba(210, 145, 188, 0.2);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.6rem;
  transition: 0.3s ease;
}

.about-info .info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(210, 145, 188, 0.3);
}

.about-info i {
  color: var(--main-color);
  font-size: 2.2rem;
}

Skills Section .skills {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.skills h2 {
  font-size: 5.5rem;
  margin-bottom: 5rem;
  text-align: center;
}

.skills-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.skills-icons i {
  font-size: 7rem;
  color: var(--main-color);
  background: var(--bg-color);
  padding: 2rem;
  border-radius: 50%;
  box-shadow: 0 5px 20px rgba(210, 145, 188, 0.2);
  transition: 0.4s ease-in-out;
  cursor: pointer;
  position: relative;
}

.skills-icons i:hover {
  color: var(--bg-color);
  background: var(--main-color);
  box-shadow: 0 0 25px var(--main-color);
  transform: translateY(-10px) scale(1.1);
}


Projects Section .projects {
  background: var(--second-bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.projects-content {
  max-width: 1200px;
  width: 100%;
}

.projects-content h2 {
  font-size: 5.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.projects-content p {
  font-size: 1.8rem;
 text-align: center;
  margin-bottom: 6rem;
}

.projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.project-box {
  background: var(--bg-color);
  padding: 4rem 2.5rem;
  border-radius: 2rem;
  box-shadow: 0 5px 20px rgba(210, 145, 188, 0.15);
  transition: 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.project-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--main-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.project-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(210, 145, 188, 0.25);
}

.project-box:hover::before {
  transform: scaleX(1);
}

.project-box i {
  font-size: 5rem;
  color: var(--main-color);
  margin-bottom: 2rem;
}

.project-box h3 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: left;
}

.project-box p {
  font-size: 1.6rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  text-align: left;
}

.project-box a {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  background: var(--main-color);
  color: white;
  font-weight: 600;
  border-radius: 1.2rem;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(210, 145, 188, 0.3);
  transition: 0.3s ease;
}

.project-box a:hover {
  background: var(--dark-purple);
  box-shadow: 0 5px 20px rgba(124, 82, 149, 0.4);
  transform: translateY(-3px);
}

Contact Section .contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact h2 {
  font-size: 5.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.input-group {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
.input-box {
  background: var(--bg-color);
  padding: 3rem;
  border-radius: 2rem;
  box-shadow: 0 10px 30px rgba(210, 145, 188, 0.15);
  width: 100%;
}

.input-box form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.input-box input,
.input-box textarea {
  width: 100%;
  padding: 1.8rem;
  background: var(--second-bg-color);
  border-radius: 1rem;
  font-size: 1.6rem;
  color: var(--text-color);
  transition: 0.3s ease;
  border: 2px solid transparent;
}

.input-box input:focus,
.input-box textarea:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 10px rgba(210, 145, 188, 0.3);
}

.input-box textarea {
  min-height: 150px;
  resize: vertical;
}

.input-box button {
  padding: 1.5rem;
  background: var(--main-color);
  color: white;
  font-size: 1.8rem;
  font-weight: 600;
  border-radius: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 5px 15px rgba(210, 145, 188, 0.3);
}

.input-box button:hover {
  background: var(--dark-purple);
  box-shadow: 0 5px 20px rgba(124, 82, 149, 0.4);
  transform: translateY(-3px);
}

.footer {
  background: var(--second-bg-color);
  padding: 3rem 5%;
  text-align: center;
  border-top: 1px solid rgba(210, 145, 188, 0.2);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content p {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.footer-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.footer-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4.5rem;
  height: 4.5rem;
  background: var(--bg-color);
  border-radius: 50%;
  font-size: 2.2rem;
  color: var(--main-color);
  transition: 0.3s ease;
  box-shadow: 0 5px 15px rgba(210, 145, 188, 0.1);
}

.footer-icons a:hover {
  background: var(--main-color);
  color: var(--bg-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(210, 145, 188, 0.3);
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--dark-purple);
  transform: translateY(-5px);
}
@keyframes floatImage {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2.5rem);
  }
  100% {
    transform: translateY(0);
  }
}

.animate-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-element.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }

  .home {
    gap: 5rem;
  }
}

@media (max-width: 991px) {
  .header {
    padding: 2rem 5%;
  }

  section {
    padding: 10rem 5% 2rem;
  }

  .home {
    flex-direction: column;
    gap: 5rem;
    text-align: center;
  }

  .home-content {
    align-items: center;
  }

  .home-img {
    width: 50vw;
  }

  .about {
    flex-direction: column;
    text-align: center;
    gap: 4rem;
  }

  .skills-icons {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%;
  }

  .menu-icon {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: -100%;
    width: 100%;
    background: var(--bg-color);
    flex-direction: column;
    text-align: center;
    gap: 0;
    padding: 2rem 0;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(210, 145, 188, 0.1);
  }

  .navbar a {
    display: block;
    margin: 2.5rem 0;
    font-size: 2.2rem;
  }

  #menu-toggle:checked ~ .navbar {
    left: 0;
  }

  #menu-toggle:checked + .menu-icon i::before {
    content: "\ec8d";
  }

  .home-img {
    width: 60vw;
  }

  .about-info {
    justify-content: center;
  }

  .projects-list {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 2rem 5%;
  }

  .scroll-top {
    bottom: 2rem;
    right: 2rem;
    width: 4.5rem;
    height: 4.5rem;
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .home-content h1 {
    font-size: 4.5rem;
  }

  .home-content h3 {
    font-size: 2.8rem;
  }

  .about-content h2,
  .skills h2,
  .projects-content h2,
  .contact h2 {
    font-size: 4.5rem;
  }
  .skills-icons i {
    font-size: 5.5rem;
  }
  .home-img {
    width: 80vw;
  }
}
