* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --h-size: 40px;
  --bg-image: url("../image/bg3.png");
}


@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

/* home-page */

html {
  scroll-behavior: smooth;
}

ul {
  list-style-type: none;
}

ul li:nth-child(4) a {
  border: 2px solid;
  border-radius: 30px;
  padding: 3px 8px;
}


section {
  background-image: var(--bg-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  padding: 80px 20px;
}

body {
  background-size: cover;
  background-repeat: no-repeat;
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
}


.navbar-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
  max-width: 50px;
}

.navbar::before {
  content: "";
  position: absolute;
  top: 20px;
  background: inherit;
  z-index: -1;
}

.navbar {
  position: fixed;
  top: 0px;
  left: 0px;
  display: flex;
  background-color: #F395A5;
  padding: 10px 15px 7px 10px;
  border-radius: 99px;
  justify-content: space-between;
  align-items: center;
  margin: 0px auto;
  width: auto;
  margin-top: 20px;
  z-index: 1000;
  transform: translateX(50%);
  max-width: 100%;
  min-width: 700px;
  min-width: 700px;
}

.navlinks a {
  display: flex;
  text-decoration: none;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.navlinks a:hover {
  background-color: #fff;
  color: #F395A5;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.navlinks {
  display: flex;
  gap: 15px;
}

.logo img {
  height: 40px;
}

.profile-container {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;

}

.profile-container img {
  height: 200px;
  margin-bottom: 40px;
}

.profile {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-bio h1 {
  margin: 10px;
  text-align: center;
  color: #DF8B9A;
  font-size: 45px;
  font-weight:bolder;

  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.resume-btn {
  background-color: #F395A5;
  border-radius: 99px;
  padding: 10px 25px;
  text-decoration: none;
  color: white;
  align-items: center;
  margin-top: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.resume-btn:hover {
  background-color: #f1d1d6;
  color: #F395A5;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.profile-bio p {
  color: #fff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-size: 20px;
  font-weight: bold;
}

/* about me */

.about-section {
  height: 100vh;
  display: flex;
  padding: 60px 20px;
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transform: scaleY(-1);
  z-index: -1;
}

.about-me-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 40px;
}

.about-text {
  flex: 1.5;
  min-width: 280px;
  text-align: center;
  max-width: 600;
}

.about-text h1 {
  margin-bottom: 60px;
  color: #F395A5;
  font-weight: bold;
  font-size: var(--h-size);
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.about-text p {
  line-height: 1.2;
  max-width: 600px;
  color: #da9595;
  font-size: 19px;
  font-weight: 550;
}

.about-me-img {
  flex: 1;
  display: flex;
  min-width: 280px;
  justify-content: flex-end;
}

.about-me-img img {
  height: 500px;
}

/* Education and skills */

.card1-icon img,
.card2-icon img,
.card3-icon img {
  height: 20px;
  width: auto;
  display: block;
}


.education-text {
  display: flex;
  flex-direction: row;
  gap: 100px;
  align-items: flex-start;
}

.education-and-skills h1 {
  margin-bottom: 60px;
  color: #F395A5;
  font-weight: bold;
  font-size: var(--h-size);
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  text-align: center;
  margin-top: 80px;
}

.edu {
  width: 30%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
}

.card1-icon,
.card2-icon,
.card3-icon {
  height: 30px;
  background-color: #F395A5;
  border-radius: 50%;
  margin: 0 auto 10px;
  width: 35px;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card1-icon img,
.card2-icon img,
.card3-icon img {
  height: 20px;
  align-items: center;
}

.card1-text,
.card2-text,
.card3-text {
  border-radius: 10px;
  background-color: #F395A5;
  border-radius: 40px;
  padding: 10px 10px;
  text-align: center;
  margin-top: 30px;
  max-width: 300px;
  font-size: 13px;
  color: #fff;
  text-align: center;
  height: 90px;
  margin-bottom: 50px;
}

.education-and-skills {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 20px;

}

.card1-text h5 {
  font-weight: bold;
  font-size: 14px;
}

.card2-text h5 {
  font-weight: bold;
  font-size: 14px;
}

.card3-text h5 {
  font-weight: bold;
  font-size: 14px;
}

.edu.card1::after {
  content: '';
  position: absolute;
  top: 15px;
  right: -232px;
  width: 360px;
  height: 2px;
  background-color: #F395A5;
  z-index: 1;
}


.edu.card2::after {
  content: '';
  position: absolute;
  top: 15px;
  right: -240px;
  width: 370px;
  height: 2px;
  background-color: #F395A5;
  z-index: 1;
}


.skills h1 {
  margin-bottom: 60px;
  color: #F395A5;
  font-weight: bold;
  font-size: var(--h-size);
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}


.skill-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 20px 0;
}


.skill-icon img {
  height: 65px;
  width: 65px;
  padding: 15px;
  background-color: #F395A5;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}


.skill-icon img:hover {
  transform: scale(1.1);
}



/* projects */

.projects-section {
  height: 100vh;
  display: flex;
  padding: 60px 20px;
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
}

.projects {
  padding: 80px 50px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.projects::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transform: scaleY(-1);
  z-index: -1;
}

.projects h2 {
  text-align: center;
  margin-top: 80px;
  color: #F395A5;
  font-weight: bold;
  font-size: var(--h-size);
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.projects-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.projects-item:hover {
  transform: translateY(-5px);
}

.projects-item img {
  width: 450px;
  height: 200px;
  object-fit: cover;
}


.projects-item-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, #f0ede8, #e8e4df);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F395A5;
  font-size: 18px;
}

.projects-item h3 {
  padding: 20px;
  text-align: center;
  color: #F395A5;
  font-size: 18px;
}

/* Contact */

.contact-section h2{
  text-align: center;
  margin-top: 100px;
  color: #F395A5;
  font-weight: bold;
  font-size: var(--h-size);
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.contact-section p{
  text-align: center;
  margin-bottom: 60px;
  color: #91444F;
  font-weight: bold;
}

.contact-form {
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 35px;
  padding: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(0px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}


.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 4px;
  margin-bottom: 15px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  background-color: #f8f8f8;
}

.contact-form button {
  padding: 12px 30px;
  font-size: 1rem;
  background-color: #f089a4;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  margin: auto 0 ;
}

/* footer */
.site-footer {
  background-color: #F395A5;  
  color: #ffffff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.95rem;
}

.site-footer .footer-icons {
  margin-top: 10px;
}

.site-footer .footer-icons a {
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}


