body {
  margin: 0;
  font-family: 'Playfair Display', serif;
  background-color: #e2dece;
  color: #333;
  line-height: 1.6;
}

.logo-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 2rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.logo-line {
  flex-grow: 1;
  height: 1px;
  background-color: #222;
  margin-left: 1rem;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.hero {
  background-color: #e2dece;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  padding: 2rem 0;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero .subtext {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-width: 500px;
  object-fit: cover;
}

.hero-text {
  position: relative;
  text-align: center;
  max-width: 600px;
  padding: 2rem;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.hero-text h1 em {
  font-style: italic;
}

.hero-text h1 span {
  font-style: italic;
}

.hero-text .subtext {
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-top: 1rem;
}

.fingerprint-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  z-index: 1;
}

.fingerprint-bg svg {
  width: 100%;
  height: 100%;
}

/* Optional: Decorative wave behind text using ::before */
.hero-text::before {
  content: "";
  background: url('wave.svg') center center / contain no-repeat;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}


.name {
  font-size: 1.8rem;
  font-weight: bold;
}

.philosophy {
  background: #f9f9f9;
  padding: 60px 20px;
  font-family: 'Georgia', serif;
  color: #222;
}

.philosophy .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.philosophy h3 {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 50px;
}

.philosophy h3 em {
  font-style: italic;
  font-weight: 400;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.step {
  flex: 1 1 30%;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.step img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 20px;
}

.step h4 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
}

.step h4 span {
  font-size: 2rem;
  font-weight:bold;
  color: #bbb;
  margin-right: 5px;
}

.step em {
  font-style: italic;
}

.step .desc {
  font-size: 0.9rem;
  color: #666;
  text-align: left;
  border-top: 1px solid #ddd;
  padding-top: 10px;
}

.about {
  background-color: #f9f9f9;
  padding: 60px 20px;
  font-family: 'Georgia', serif;
}

.about h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-image {
  flex: 1 1 40%;
  min-width: 250px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.about-content {
  flex: 1 1 60%;
  min-width: 280px;
}

.about-content h2 {
  font-style: italic;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.portfolio {
  background-color: #f4f1ec;
  padding: 4rem 1rem;
}

.portfolio h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.portfolio .projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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


.project h4 {
  margin-bottom: 10px;
  color: #333;
}

.project p {
  font-size: 14px;
  color: #666;
}

.custom-footer {
  background-color: #e0e0e0;
  padding: 60px 40px;
  font-family: "Times New Roman", serif;
  color: #222;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.contact-info p {
  font-size: 14px;
  margin: 6px 0;
  font-family: monospace;
}

.svg-center {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 20px auto;
  flex-shrink: 0;
}

.svg-center svg {
  width: 100%;
  height: 100%;
  display: block;
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #222;
  pointer-events: none;
}

.text-overlay h1 {
  font-size: 2.8rem;
  font-weight: normal;
  margin: 0;
  line-height: 1.2;
}

.text-overlay em {
  font-style: italic;
}

.author {
  font-size: 18px;
  font-style: normal;
  text-align: right;
  font-family: "Times New Roman", serif;
  color: #222;
  min-width: 100px;
}

.author em {
  font-style: italic;
  font-size: 18px;
  display: block;
  line-height: 1;
}


@media (min-width: 768px) {
  .portfolio .projects {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-content {
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
  }
  .hero-text {
    text-align: left;
  }
  .hero-text h1 {
    font-size: 4rem;
  }

 .about-grid {
    flex-direction: column;
  }

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

  .about-image img {
    width: 100%;
    max-width: 100%;
  }

  .about-grid {
    flex-direction: column;
  }

  .about-image,
  .about-content {
    flex: 1 1 100%;
  }

}

section {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

section.appear {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
 .steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .step {
    flex: 1 1 100%;
  }

  .step h4 {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .philosophy {
    padding: 40px 15px;
  }

  .philosophy h3 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .step h4 span {
    font-size: 1.5rem;
  }

  .step h4 {
    font-size: 1rem;
  }

  .step .desc {
    font-size: 0.85rem;
  }
}

/* Fixed layout for about section */

/* Default: PC - 2 columns */
.about-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-direction: row;
  flex-wrap: nowrap;
}

/* Tablet & Mobile: stacked */
@media (max-width: 991px) {
  .about-grid {
    flex-direction: column;
  }

  .about-image,
  .about-content {
    flex: 1 1 100%;
  }
}

@media (max-width: 576px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}
