body {
  background-color: #cfbfa2;
  margin: 0;
  padding: 0;
}

header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px;
  margin-left: 108px;
  margin-top: 28px;
}

header img {
  height: 137px;
  width: auto;
}

header nav {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 50px;
  justify-content: center;
}

header nav a {
  text-decoration: none;
  color: black;
  padding: 8px 16px;
  border-radius: 5px;
  transition: all 0.2s ease;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
}

header nav a:hover {
  background-color: #e7c39b;
}

header nav a.active {
  background-color: #e7c39b;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: translateY(1px);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: black;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Home Page Styles */
.home-background-image {
  position: fixed;
  right: 0;
  top: 20px;
  width: 50%;
  height: 100vh;
  background-image: url("img/home_background_image.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  z-index: 0;
  pointer-events: none;
}

.home-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  gap: 40px;
  margin-left: 130px;
  margin-bottom: 150px;
  position: relative;
  z-index: 1;
}

.home-content {
  flex: 1;
  text-align: left;
}

.home-content h1 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  max-width: 900px;
  font-size: 87px;
  line-height: 100%;
  letter-spacing: 0;
  margin-bottom: 20px;
}

.home-content p {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0;
  margin-bottom: 20px;
  max-width: 900px;
}

.home-content button {
  margin-right: 10px;
  margin-top: 20px;
  width: 150px;
  height: auto;
  font-size: 16px;
  cursor: pointer;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
}

.home-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
}

.btn-primary {
  background-color: transparent;
  color: black;
}

.btn-primary:hover {
  background-color: #e7c39b;
}

.btn-secondary {
  background-color: transparent;
  color: black;
  outline: 2px solid black;
}

.btn-secondary:hover {
  background-color: #e7c39b;
}
.about-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 146px 0;
  gap: 92px;
  margin-left: 138px;
}
.about-carousel {
  position: relative;
  flex: 1;
  max-width: 700px;
  margin-right: 130px;
}
.carousel-container {
  position: relative;
  width: 100%;
  height: 507px;
  overflow: hidden;
  background-color: #f5f0e8;
  border-radius: 20px;
}
.about-background-image {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 50%;
  height: 70vh;
  background-image: url("img/about_us_background.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom left;
  z-index: 0;
  pointer-events: none;
}
.about-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0s 0.5s;
  z-index: 1;
}
.about-image.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-in-out, visibility 0s 0s;
  z-index: 2;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 16px;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
  transition: background-color 0.3s;
}
.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.carousel-btn.prev {
  left: 10px;
}
.carousel-btn.next {
  right: 10px;
}
.carousel-dots {
  text-align: center;
  padding: 20px 0;
}
.dot {
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}
.dot:hover {
  background-color: #717171;
}
.dot.active {
  background-color: #333;
}
/* About us Page Styles */
.about-intro {
  flex: 1;
  text-align: left;
  align-self: flex-start;
  margin-right: 0;
  background-color: #e7c39bcc;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 2;
}
.about-intro h1 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 120px;
  line-height: 100%;
  letter-spacing: 0;
  margin-top: 0;
  margin-bottom: 20px;
}
.about-intro h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: 0;
  margin-bottom: 20px;
}
.about-intro p {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0;
}
.about-intro ul {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0;
}
.about-philosophy {
  position: relative;
  flex: 1;
  text-align: center;
  margin: 0 130px 346px 130px;
  background-color: #e7c39bcc;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 2;
}
.about-philosophy h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: 0;
  margin-bottom: 20px;
}
.about-philosophy p {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0;
}

/* Projects Page Styles */
.projects-background-image {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 50%;
  height: 100vh;
  background-image: url("img/projects_background.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom center;
  z-index: 0;
  pointer-events: none;
}

.projects-main {
  margin: 0 138px;
  padding: 60px 0;
  position: relative;
  z-index: 1;
  margin-bottom: 80px;
}

.projects-hero {
  text-align: center;
  margin-bottom: 60px;
}

.projects-hero h1 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 87px;
  line-height: 100%;
  letter-spacing: 0;
  margin-bottom: 30px;
}

.projects-hero p {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0;
  max-width: 900px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 450px));
  gap: 40px;
  margin-bottom: 80px;
  justify-content: center;
}

.project-card {
  background-color: #e7c39bcc;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.project-carousel {
  position: relative;
  width: 100%;
  flex: 1;
  margin-bottom: 20px;
}

.project-carousel-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #f5f0e8;
  border-radius: 5px;
}

.project-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0s 0.5s;
  z-index: 1;
}

.project-image.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-in-out, visibility 0s 0s;
  z-index: 2;
}

.project-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  font-size: 16px;
  z-index: 10;
  transition: background-color 0.3s;
  border-radius: 3px;
}

.project-carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.project-carousel-btn.prev {
  left: 10px;
}

.project-carousel-btn.next {
  right: 10px;
}

.project-carousel-dots {
  text-align: center;
  padding: 15px 0;
}

.project-dot {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.project-dot:hover {
  background-color: #717171;
}

.project-dot.active {
  background-color: #333;
}

.project-card h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0;
  color: #333;
  margin: 0;
  text-align: center;
}

/* Contact Page Styles */
.contact-background-image {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 50%;
  height: 100vh;
  background-image: url("img/contact_background.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom center;
  z-index: 0;
  pointer-events: none;
}

.contact-main {
  margin: 0 138px;
  padding: 60px 0;
  position: relative;
  z-index: 1;
  margin-bottom: 80px;
}

.contact-hero {
  text-align: center;
  margin-bottom: 60px;
}

.contact-hero h1 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 87px;
  line-height: 100%;
  letter-spacing: 0;
  margin-bottom: 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form-section {
  background-color: #e7c39bcc;
  padding: 40px;
  border-radius: 10px;
}

.contact-form-section h2,
.contact-info-section h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: 0;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0;
  color: #333;
}

.form-group input,
.form-group textarea {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 16px;
  padding: 15px;
  border: 2px solid #d9d9d9;
  border-radius: 5px;
  background-color: rgba(217, 217, 217, 0.8);
  transition: border-color 0.3s ease;
  color: black;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #333;
  opacity: 1;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #999;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 18px;
  padding: 15px 40px;
  background-color: rgba(217, 217, 217, 0.8);
  color: black;
  border: 2px solid black;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: #e7c39b;
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-info-item {
  padding-bottom: 25px;
  padding-top: 25px;
  border-bottom: 1px solid #d9d9d9;
}

.contact-info-item:first-of-type {
  padding-top: 0;
}

.contact-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #333;
  margin-top: 2px;
}

.contact-info-header p {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0;
  color: #333;
  margin: 0;
}

/* Services Page Styles */
.services-background-image {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 70vh;
  background-image: url("img/services_background.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  z-index: 0;
  pointer-events: none;
}

.services-main {
  margin: 0 138px;
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.services-hero {
  text-align: center;
  margin-bottom: 60px;
}

.services-hero h1 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 87px;
  line-height: 100%;
  letter-spacing: 0;
  margin-bottom: 30px;
}

.services-hero p {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0;
  max-width: 900px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.service-card {
  background-color: #e7c39bcc;
  padding: 40px;
  padding-right: 80px;
  padding-top: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.service-number {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 128px;
  line-height: 100%;
  letter-spacing: 0;
  color: #cfbfa2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: absolute;
  bottom: 10px;
  right: 20px;
  margin: 0;
}

.service-card h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0;
  margin-bottom: 15px;
  color: #333;
}

.service-card p {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
  color: #666;
}

/* Footer Styles */
.site-footer {
  background: #e7c39bcc;
  color: black;
  margin: 0 138px 35px;
  padding: 60px 80px 20px 57px;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 20px;
}

.footer-section h3 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 15px;
}

.footer-section p {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
  color: black;
}

.footer-bottom {
  border-top: 1px solid #999;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: black;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  header {
    margin-left: 40px;
  }

  .home-container,
  .about-container,
  .services-main,
  .projects-main,
  .contact-main {
    margin-left: 40px;
    margin-right: 40px;
  }

  .site-footer {
    margin: 0 40px 35px;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media screen and (max-width: 768px) {
  /* Header and Navigation */
  header {
    flex-direction: row;
    justify-content: space-between;
    margin-left: 20px;
    margin-right: 20px;
    align-items: center;
  }

  .hamburger {
    display: flex;
  }

  header nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    background-color: #cfbfa2;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    gap: 0;
  }

  header nav.show {
    display: flex;
  }

  header nav a {
    font-size: 18px;
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: left;
  }

  header nav a:last-child {
    border-bottom: none;
  }

  header img {
    height: 100px;
  }

  /* Home Page */
  .home-container {
    flex-direction: column;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 80px;
  }

  .home-content h1 {
    font-size: 48px;
  }

  .home-content p {
    font-size: 16px;
  }

  .home-background-image {
    width: 100%;
    height: 50vh;
    top: auto;
    bottom: 0;
  }

  /* About Page */
  .about-container {
    flex-direction: column;
    padding: 60px 0;
    gap: 40px;
    margin-left: 20px;
    margin-right: 20px;
  }

  .about-carousel {
    max-width: 100%;
    width: 100%;
    margin-right: 0;
    flex: 1;
  }

  .carousel-container {
    width: 100%;
    height: 400px;
    min-width: 100%;
  }

  .about-intro {
    margin-right: 0;
    width: 100%;
  }

  .about-intro h1 {
    font-size: 60px;
  }

  .about-intro h2 {
    font-size: 32px;
  }

  .about-philosophy {
    margin: 0 20px 60px 20px;
  }

  .about-philosophy h2 {
    font-size: 32px;
  }

  .about-background-image {
    width: 100%;
    height: 50vh;
  }

  /* Services Page */
  .services-main,
  .projects-main,
  .contact-main {
    margin: 0 20px;
    padding: 40px 0;
  }

  .services-hero h1,
  .projects-hero h1,
  .contact-hero h1 {
    font-size: 48px;
  }

  .services-hero p,
  .projects-hero p {
    font-size: 18px;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-card,
  .project-card {
    padding: 30px;
    padding-right: 60px;
  }

  .service-number {
    font-size: 96px;
  }

  .service-card h3,
  .project-card h3 {
    font-size: 28px;
  }

  .services-background-image,
  .projects-background-image {
    width: 80%;
    height: 50vh;
  }

  /* Contact Page */
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-section,
  .contact-info-section h2 {
    font-size: 32px;
  }

  .contact-background-image {
    width: 80%;
    height: 40vh;
  }

  /* Footer */
  .site-footer {
    margin: 0 20px 20px;
    padding: 40px 30px 20px 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-section h2 {
    font-size: 24px;
  }

  .footer-section h3 {
    font-size: 18px;
  }
}

/* Mobile Landscape Orientation */
@media screen and (max-width: 900px) and (orientation: landscape) {
  .about-carousel {
    max-width: 100%;
    width: 100%;
    margin-right: 0;
  }

  .carousel-container {
    width: 100%;
    height: 60vh;
    min-width: 100%;
  }

  .about-container {
    gap: 30px;
    padding: 40px 0;
  }

  .about-intro {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  /* Extra small devices */
  header img {
    height: 80px;
  }

  header nav {
    gap: 10px;
  }

  header nav a {
    font-size: 14px;
    padding: 6px 12px;
  }

  .home-content h1 {
    font-size: 36px;
  }

  .home-content button {
    width: 120px;
    font-size: 14px;
    padding: 8px;
  }

  .about-intro h1 {
    font-size: 48px;
  }

  .about-intro h2,
  .about-philosophy h2 {
    font-size: 28px;
  }

  .services-hero h1,
  .projects-hero h1,
  .contact-hero h1 {
    font-size: 36px;
  }

  .service-card,
  .project-card {
    padding: 20px;
    padding-right: 50px;
  }

  .service-number {
    font-size: 72px;
  }

  .service-card h3,
  .project-card h3 {
    font-size: 24px;
  }

  .contact-form-section {
    padding: 30px 20px;
  }

  .contact-info-section h2,
  .contact-form-section h2 {
    font-size: 28px;
  }

  .contact-icon {
    width: 24px;
    height: 24px;
  }

  .site-footer {
    padding: 30px 20px 20px 20px;
  }

  .footer-section h2 {
    font-size: 20px;
  }

  .footer-section h3 {
    font-size: 16px;
  }

  .footer-section p {
    font-size: 14px;
  }
}
