


body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #2e2e38;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Poppins", sans-serif;
  margin-top: 0;
  color: #2e2e38;
}

img {
  max-width: 100%;
  display: block;
}


.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}


header {
  background-color: #f7b2d9;
  color: #fff;
  padding: 16px 0;
  box-shadow: 0 4px 6px #0000000f;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline-block;
  margin: 0 10px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

nav ul li a:hover,
nav ul li a:focus {
  color: #fef4ff;
}


#hero {
  text-align: left;
  padding: 80px 0;
  background: linear-gradient(45deg, #f7b2d9, #ffffff);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  color: #333;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  max-width: 600px;
}

#hero h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

#hero p {
  font-size: 1rem;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, color 0.15s ease;
}

.btn.primary {
  background-color: #a9bce0;
  color: #ffffff;
  box-shadow: 0 4px 10px #a9bce099;
}

.btn.primary:hover,
.btn.primary:focus {
  background-color: #ff99aa;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px #f7b2d999;
}

.btn.secondary {
  background-color: #ffffff;
  color: #2e2e38;
  border: 1px solid #d8d8e0;
}

.btn.secondary:hover,
.btn.secondary:focus {
  background-color: #ffe6f2;
  border-color: #f7b2d9;
}


section {
  padding: 60px 0;
}

.section-intro {
  max-width: 600px;
  margin-bottom: 24px;
}


#about .skills-list {
  padding-left: 20px;
}

#about .skills-list li {
  margin-bottom: 8px;
}

/* Projects */

#projects {
  background-color: #f5f1ed;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px #0000000f;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.project:hover,
.project:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px #00000014;
}

.project img {
  height: 200px;
  object-fit: cover;
}

.project-body {
  padding: 16px 16px 18px;
}

.project-body h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.project-body p {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags span {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: #f7b2d9;
  color: #2e2e38;
  font-size: 0.78rem;
  font-weight: 500;
}


#ux-case-study {
  background-color: #ffffff;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.case-study-grid ul {
  padding-left: 18px;
}


#contact {
  background-color: #f7b2d9;
  color: #2e2e38;
}

#contact h2 {
  margin-bottom: 8px;
}

#contact .section-intro {
  margin-bottom: 24px;
}

.contact-form {
  max-width: 600px;
}

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

label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #d8c7d8;
  font-family: "Open Sans", sans-serif;
  font-size: 0.95rem;
  background-color: #ffffff;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #ff99aa;
  box-shadow: 0 0 0 2px #ff99aa40;
}

.contact-info {
  margin-top: 24px;
}

.contact-inline {
  font-weight: 500;
}

.contact-inline a {
  color: #2e2e38;
  text-decoration: underline;
}

.contact-inline a:hover,
.contact-inline a:focus {
  color: #ff4f7c;
}


#testimonials {
  background-color: #f5f1ed;
}

.testimonial-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.testimonial {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 18px 18px 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.testimonial p {
  margin-bottom: 10px;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
}



#footer {
  text-align: center;
  padding: 20px 0;
  background-color: #f7b2d9;
  color: #fff;
}


#backToTop {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 10px 16px;
  background-color: #cbb7ff;
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 20;
}

#backToTop:hover,
#backToTop:focus {
  background-color: #ff99aa;
}


#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

#lightbox.active {
  display: flex;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}


.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Responsive */

@media (max-width: 900px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  nav ul li {
    margin: 0 6px 0 0;
  }

  #hero {
    text-align: left;
    padding: 60px 0;
  }

  .grid-container {
    grid-template-columns: 1fr;
  }

  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  #hero h2 {
    font-size: 1.8rem;
  }

  #hero p {
    font-size: 0.95rem;
  }
}
