* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  color: var(--color0);
}

img {
  width: 100%;
  height: auto;
}

h1 {
  padding-right: 40px;
}

i {
  color: var(--color50);
}

/* Container */
.container {
  max-width: 1600px;
  margin: 0 auto;
  background: white;
}

/* Hero sectie */
.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: 450px 1fr;
  align-items: flex-end;
  gap: 40px;
  margin-top: -40px;
}

.hero-section p {
  font-size: 24px;
  line-height: 110%;
  margin-top: 16px;
}

/* Foto sectie */
.photo-section {
  position: relative;
  height: 450px;
  background: white;
  overflow-x: visible;
  overflow-y: clip;
}

.photo-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120%;
  margin-left: -20px;
  object-fit: contain;
  filter: grayscale(100%);
  mix-blend-mode: multiply;
  display: block;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.2s;
  /* width: 50%; */
  padding-left: 10%;
}

.mob {
  display: none;
}

.desk {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Oranje overlay */
.orange-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 160px;
  background: var(--color50);
  margin-left: calc(-50vw + 50%);
  width: calc(50vw + 50%);
  z-index: 1;
  transform: translateX(-100%);
  animation: slideInFromLeft 1.5s ease-out 1s forwards;
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Content sectie */
.content-section {
  position: relative;
  z-index: 1;
}

.hero-title {
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.5s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services sectie */
.services-section {
  padding: 40px;
  margin: 100px auto 0;
  background-color: var(--bg-main);
  transition: 0.5s;
  border-radius: 8px;
  max-width: 1600px;
}

.services-section:hover {
  box-shadow: var(--box-shadow);
  transition: 0.5s;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}

.service-item p {
  line-height: 1.6;
  font-size: 1rem;
  max-width: 300px;
}

.service-item button {
  background-color: transparent;
  border: none;
  margin-top: 40px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  font-weight: 500;
  text-align: left;
}

.service-item button:hover img {
  transition: 0.3s;
  transform: translateX(12px);
}

.service-item button img {
  width: 50px;
}

.achievements li {
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Projects */
.projects {
  position: relative;
  min-height: 55vh;
  z-index: 2;
  padding: 72px 0;
}

.projects h2 {
  text-align: center;
}

.projects h3 {
  /* margin-top: -4px; */
  line-height: 100%;
}

.background,
.background-services {
  width: 100%;
  background-color: var(--color50);
  box-shadow: inset 0 100px 0px #fff, inset 0 -100px 0px #fff;
}

.background-services {
  background-color: var(--color100);
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 1600px;
  margin: 40px auto 72px;
  background-color: var(--bg-main);
  padding: 8px;
  border-radius: 8px;
}

.projects-container h3 {
  margin-bottom: 40px;
  text-align: center;
}

.projects-container .project-card:nth-child(1) img {
  padding: 0 12px;
}

.projects-container img {
  width: 100%;
  height: auto;
  margin: 0 auto 24px;
  display: block;
}

.project-card {
  padding: 20px;
  border-radius: 8px;
  transition: 0.5s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card:hover {
  background-color: var(--color100);
  box-shadow: var(--box-shadow);
  transition: 0.3s;
}

span.projects-title-card-bottom1,
span.projects-title-card-bottom2 {
  display: block;
  text-align: center;
  font-size: 24px;
}

span.projects-title-card-bottom2 {
  font-size: 32px;
  line-height: 100%;
  margin: 4px 0 32px;
  font-weight: 500;
}

.project-card button {
  margin: 0 auto;
  display: block;
  border: none;
  background-color: var(--color50);
  color: var(--color100);
  border-radius: 8px;
  padding: 16px 60px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.project-card a {
  text-decoration: none;
  cursor: pointer;
}

/* Media Queries */
@media (max-width: 2559px) {
  .container {
    max-width: 1200px;
  }

  .projects-container {
    max-width: 1200px;
  }

  .services-section {
    max-width: 1200px;
  }
}

@media (max-width: 1200px) {
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-section {
    min-height: 500px;
  }

  .photo-section {
    height: 425px;
  }

  .photo-wrapper-top {
    width: 110%;
  }

  .photo-wrapper-bottom {
    width: 110%;
    height: 62%;
  }
}

@media (max-width: 1040px) {
  .container {
    max-width: 600px;
    padding: 0 24px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    align-items: flex-end;
    min-height: 400px;
  }

  .photo-section {
    height: 450px;
  }

  .photo-wrapper-top {
    width: 100%;
  }

  .photo-wrapper-bottom {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  h1 {
    font-size: 32px;
    padding-right: 20px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 28px;
  }

  .hero-section p {
    font-size: 20px;
  }

  .photo-wrapper-bottom {
    bottom: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-x: visible;
  }

  .services-section {
    padding: 30px;
    margin: 80px auto 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .projects-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 30px auto 60px;
  }

  span.projects-title-card-bottom1 {
    font-size: 20px;
  }

  span.projects-title-card-bottom2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  h1,
  h3 {
    text-align: center;
  }

  .mob {
    display: block;
  }

  .desk {
    display: none;
  }

  .hero-section {
    padding: 40px 0;
    gap: 60px;
    min-height: 400px;
  }

  .hero-section p {
    font-size: 18px;
    margin-top: 12px;
  }

  .photo-section {
    height: 360px;
  }

  .photo-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 0;
    width: 95%;
    margin: 0;
  }

  .orange-overlay {
    top: auto;
    margin-left: calc(-50vw + 50%);
    width: calc(50vw + 50%);
  }

  .services-section {
    padding: 24px;
    margin: 0 auto 0;
    box-shadow: var(--box-shadow);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-item button {
    margin: 12px auto 0;
  }

  .service-item p {
    max-width: 100%;
    text-align: center;
    margin-top: 12px;
  }

  .projects {
    padding: 48px 0;
  }

  .projects-container {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 24px auto 48px;
    padding: 24px;
  }

  .projects-container h3 {
    margin-bottom: 24px;
  }

  span.projects-title-card-bottom1 {
    font-size: 18px;
  }

  span.projects-title-card-bottom2 {
    font-size: 24px;
    margin: 4px 0 24px;
  }

  .project-card {
    background-color: var(--color100);
    box-shadow: var(--box-shadow);
  }

  .project-card button {
    padding: 12px 40px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 24px;
    padding: 0;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  .container {
    padding: 0 24px;
  }

  .hero-section {
    gap: 40px;
    margin: 0;
    padding: 0;
  }

  .hero-section p {
    font-size: 16px;
  }

  .background-services {
    background-color: var(--color50);
    padding: 0 24px;
  }

  .services-section {
    padding: 20px;
    margin: 40px auto 0;
    text-align: center;
  }

  .service-item p {
    font-size: 14px;
  }

  .project-card {
    padding: 24px;
  }

  .project-card:hover {
    padding: 16px;
  }

  span.projects-title-card-bottom2 {
    font-size: 20px;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: 0 40px 80px;
  max-width: 1600px;
  margin: 0 auto;
}

.testimonials-container {
  text-align: center;
}

h3.mick::after {
  content: ' Aipassa';
}
h3.kel::after {
  content: ' Meiy';
}
h3.viec::after {
  content: ' Nguyen';
}

.testimonials-container h2 {
  margin-bottom: 12px;
}

.testimonials-subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 60px;
}

.testimonials-grid,
.testimonials-slider {
  margin-top: 40px;
}

/* Desktop: Grid layout */
.testimonials-slider .testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

/* Slider dots hidden on desktop */
.slider-dots {
  display: none;
}

.testimonial-card {
  background-color: var(--bg-main);
  padding: 32px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  min-height: 300px;
}
.testimonial-card:hover {
  box-shadow: var(--box-shadow);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow);
}

.testimonial-content {
  margin-bottom: 24px;
}

.testimonial-quote {
  font-size: 16px;
  line-height: 1.7;
  font-style: italic;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.author-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.author-info span {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 400;
  color: var(--color50);
}

/* Responsive Testimonials */
@media (max-width: 2559px) {
  .testimonials-section {
    max-width: 1200px;
  }
}

@media (max-width: 1024px) {
  .testimonials-section {
    padding: 60px 30px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .testimonials-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 48px 24px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Activate slider on mobile */
  .testimonials-slider {
    overflow: hidden;
    position: relative;
    padding: 8px;
    margin: 32px -8px 0;
  }

  .testimonials-slider .testimonials-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 20px;
  }

  .testimonials-slider .testimonial-card {
    flex: 0 0 calc(100% - 20px);
    min-width: calc(100% - 20px);
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
  }

  .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d0d0d0;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0;
  }

  .dot.active {
    background-color: var(--color50);
  }

  .testimonial-card {
    padding: 24px;
    min-height: auto;
  }

  .testimonial-quote {
    font-size: 15px;
  }

  .testimonials-subtitle {
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .testimonials-section {
    padding: 40px 24px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-quote {
    font-size: 14px;
    line-height: 1.6;
  }

  .author-info h3 {
    font-size: 16px;
  }

  .author-info span {
    font-size: 13px;
  }
}
