/* GENERAL */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #fff2f8;
}

.bg-wrapper {
  background-color: #e6e7ff; 
  width: 90%;
  margin: 0 auto; 
  border-radius: 20px; 
  box-sizing: border-box;
  padding: 0; /* No padding to align sections properly */
}

html {
  scroll-behavior: smooth;
}

p {
  color: rgb(85, 85, 85);
}

/* TRANSITION */

a,
.btn {
  transition: all 300ms ease;
}

/* DESKTOP NAV */

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

nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.5rem;
}

a {
  color: black;
  text-decoration: none;
  text-decoration-color: white;
}

a:hover {
  color: #7F72F9;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: rgb(181, 181, 181);
}

.logo {
  font-size: 2rem;
}

.logo:hover {
  cursor: default;
}

/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: black;
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: black;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}

/* ARROW */

#scrollArrow {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  background: #FFFFFF; 
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: opacity 0.3s ease-in-out;
  opacity: 1;
  visibility: visible;
}

#scrollArrow img {
  width: 20px;
  height: 20px;
}

#scrollArrow.show {
  opacity: 1;
  visibility: visible;
}

/* SECTIONS */

section {
  padding-top: 4vh;
  height: 96vh;
  min-height: auto;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.section-container {
  display: flex;
}

/* PROFILE SECTION */

#profile {
  display: flex;
  justify-content: center;
  min-height: auto;
  gap: 5rem;
  box-sizing: border-box;
  overflow: hidden;
  flex-wrap: wrap;
  padding: 20px;
  margin-bottom: 0;
  
}

.section__pic-container {
  display: flex;
  height: 150px;
  width: 150px;
  margin: auto 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  align-items: center; /* Centers the image vertically */
  justify-content: center;
  overflow: hidden;
}

.section__pic-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.section__text {
  align-self: center;
  text-align: center;
}

.section__text p {
  font-weight: 600;
}

.section__text__p1 {
  font-size: 1.25rem;
  text-align: center;
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.title {
  font-size: 3rem;
  text-align: center;
  color: #ff4481;
  margin-bottom: 1rem;
}

/* Typewriter Effect */
#typewriter {
  font-family: "Poppins", sans-serif;
  font-size: 3rem;
  color: #FF4F81;
  border-right: 2px solid #FF4F81; /* Cursor effect */
  white-space: nowrap;
  overflow: hidden; /* Ensures text outside is hidden */
  width: fit-content;
  animation: blink 0.5s step-end infinite alternate; /* Blinking cursor */
  display: inline-block;
  text-align: left; /* Align the typewriter effect to the left */
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

/* ICONS */

.icon {
  cursor: pointer;
  height: 2rem;
}

/* BUTTONS */

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  
}

.btn {
  font-size: 0.9rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  padding: 10px 20px;
  width: 8rem;
  border-radius: 2rem;
  text-transform: uppercase;
  border: none;
  color: #ffff;
  font-weight: 600;
}

.btn-color-2:hover {
  cursor: pointer;
}


.btn-color-2:hover {
  background: #b28fb6;
  color: white;
}

.btn-color-2 {
  background: #ff4481;
}

.btn-container {
  gap: 1rem;
}

/* ABOUT SECTION */

#about {
  position: relative;
  background-color: #e6e7ff;
  padding: 25px;
}

.about-containers {
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.about__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
  justify-content: center;
  margin-left: 9rem;
  margin-top: 3rem;
}

.about-details-container {
  justify-content: center;
  flex-direction: column;
}

.about-containers,
.about-details-container {
  display: flex;
}

.about-pic {
  border-radius: 2rem;
}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: white;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  text-align: center;
}

.section-container {
  gap: 4rem;
  height: 63vh;
}

.section__pic-container {
  height: 400px;
  width: 400px;
  margin-top: 4rem;
}

 .text-p1:hover {
    transform: scale(1.50);
  }

  .text-p2:hover {
    transform: scale(1.50);
  }

  .text-p3:hover {
    transform: scale(1.50);
  }

  .text-p4:hover {
    transform: scale(1.50);
  }

  .text-p5:hover {
    transform: scale(1.50);
  }

  .text-p6:hover {
    transform: scale(1.50);
  }

  .text-p7:hover {
    transform: scale(1.50);
  }


.text__p3 {
  color: black;
}

.sec__title {
  margin-bottom: 1rem;
}

.text-container {
  position: relative;
  top: 50px;
}

.experience-details-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
}

.article-container {
  display: flex;
  text-align: initial;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: space-around;
  margin-top: 1rem;
}

article {
  display: flex;
  width: 10rem;
  justify-content: space-around;
  gap: 0.5rem;
}

article .icon {
  cursor: default;
}

.skills-list {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.skills-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.skills-list li {
  display: flex;
  align-items: center;
  font-size: 0.9rem; 
  line-height: 1.5;
}

.skills-list img.checkmark {
  width: 15px; 
  margin-right: 0.5rem;
}


/* PROJECTS SECTION */

#projects {
  position: relative;
  background-color: #e6e7ff;
  padding: 25px;
}

.project-container {
  height: 500px; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background: rgb(250, 250, 250);
  border: 1px solid rgb(163, 163, 163);
  border-radius: 10px;
}
.project-img {
  border-radius: 2rem;
  width: 90%;
  height: 90%;
}

.project-img-1 {
  border-radius: 2rem;
  width: 87%;
  height: 87%;
}

.project-img:hover {
  transform: scale(1.05);
}

.project-img-1:hover {
  transform: scale(1.05);
}


.projects-p {
  font-size: 1rem;
  margin-top: 0.5rem;
  color: #555555;
}

.project-title {
  margin-top: 1rem;
}

.btn:hover {
  background-color: #7F72F9;
  transform: scale(1.1); 
}

.project-btn {
  margin-top: 1rem; 
  color: white;
  border-color: rgb(163, 163, 163);
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}


/* Contact Section */
#contact {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    background-color: #e6e7ff;
    padding: 25px;
}

form {
    background: #FDFDFD; 
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px; 
    width: 100%; 
    margin: 0 auto;
}

form .mb-3 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

form .form-label {
    flex: 0 0 80px;
    text-align: right; 
    margin-right: 20px; 
    font-weight: bold;
}

form .form-control {
    flex: 1; 
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

form .btn {
    background: #FF4F81;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    width: 150px;
    margin: 10px auto 0; 
    transition: background-color 0.3s ease-in-out;
}

form .btn:hover {
    background: #7F72F9; 
}

/* FOOTER */

footer {
    height: 10vh;
    margin: 0 1rem;
}

footer p {
    text-align: center;
    color: #333333; 
    margin-top: 3rem;
    text-align: center;
}
