@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&display=swap");

/* Keyframes for slide-up animation */
@keyframes slideUpFadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  background: #f0f8ff;
  margin: 0;
  padding: 0;
}

/* Contact Bar */
.contact-bar {
  background: #2c3e50;
  padding: 0.5rem 2rem;
  position: static;
  z-index: 99;
  display: none;
}

.contact-bar-content {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.contact-item i {
  color: #20b2aa;
  font-size: 1rem;
}

.contact-item a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: #20b2aa;
}

/* Show contact bar on desktop only */
@media (min-width: 1024px) {
  .contact-bar {
    display: block;
  }
}

/* Modern Navigation Bar */
nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30rem;
  background: #ffffff;
  padding: 0.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-logo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #2c3e50;
  background: #ffffff;
}

/* Modern Logo */
nav img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #2c3e50;
  background: #ffffff;
  margin-right: 2.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.15);
  cursor: pointer;
}
nav img:hover {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 4px 24px rgba(44, 62, 80, 0.25);
}

/* Navigation Links */
nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav ul li a {
  cursor: pointer;
  color: #2c3e50;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

nav ul li a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #2c3e50 60%, #20b2aa 100%);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  left: 0;
  bottom: -4px;
  border-radius: 2px;
}

nav ul li a:hover {
  color: #2c3e50;
  text-shadow: 0 0 8px rgba(44, 62, 80, 0.3);
}

nav ul li a:hover::after {
  width: 100%;
}
#lang-switch {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.3rem 0;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

#lang-switch:hover::after,
#lang-switch:focus::after {
  opacity: 1;
}

#lang-switch span {
  position: relative;
  z-index: 1;
}

#menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
  padding: 0;
  margin: 0;
}

#menu-toggle .bar {
  width: 28px;
  height: 4px;
  background: #2c3e50;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}

#nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  transition: none;
}

@media (max-width: 900px) {
  nav {
    padding: 0.5rem 1rem;
    justify-content: space-between;
    gap: 1rem;
  }
  #menu-toggle {
    display: flex;
  }
  #nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    gap: 2rem;
    padding: 2rem 0 2rem 0;
    align-items: flex-start;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 150;
  }
  #nav-links.open {
    display: flex;
  }
  .nav-logo {
    width: 48px;
    height: 48px;
  }
}

/* Header Styles */

header {
  position: relative;
  overflow: hidden;
  background: url("img/header_image.jpg") center center/cover no-repeat;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertical center */
  align-items: center; /* Center align */
  padding: 3rem 4rem;
  color: #2c3e50;
  position: relative;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.18);
}

.header-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
  pointer-events: none;
}

.header-bg.visible {
  opacity: 1;
  z-index: 1;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("img/Header_images/header_image1.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1;
  transition: opacity 0.1s ease-in-out;
  pointer-events: none;
}

header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

header > * {
  position: relative;
  z-index: 2;
}

header h1 {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  margin: 0 0 1.2rem 0;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  letter-spacing: 1.5px;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  animation: slideUpFadeIn 1s ease-out forwards;
}

header p {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2rem;
  max-width: 700px;
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  margin: 0 auto;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  animation: slideUpFadeIn 1s ease-out 0.3s forwards;
}

.header-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
  pointer-events: none;
}

.header-bg.visible {
  opacity: 1;
  z-index: 1;
}

header > h1,
header > p {
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  header {
    padding: 2rem 1.5rem;
    align-items: center; /* Center text on mobile */
    text-align: center;
    min-height: 480px;
  }

  header h1 {
    font-size: 2.8rem;
    line-height: 1.3;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: white;
    text-align: center;
  }

  header p {
    font-size: 1.3rem;
    max-width: 90%;
    color: white;
    text-align: center;
  }
}

/* Contact Section */
footer.contact {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: linear-gradient(135deg, #2c3e50 0%, #1a2634 100%);
  padding: 5rem 6vw 3rem 6vw;
  color: #ffffff;
  gap: 8rem;
  flex-wrap: wrap;
  text-align: left;
  position: relative;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
}

.footer-left img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #2c3e50;
  box-shadow: 0 8px 32px rgba(32, 178, 170, 0.3);
  margin-bottom: 1.5rem;
  background: #ffffff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.footer-left img:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(32, 178, 170, 0.5);
}

.footer-socials {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.footer-socials a {
  text-decoration: none;
  color: #ffffff;
  font-size: 2.2rem;
  transition: color 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(32, 178, 170, 0.1);
}

.footer-socials a:hover {
  color: #20b2aa;
  transform: scale(1.2);
  background: rgba(32, 178, 170, 0.2);
}

.footer-middle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 280px;
  max-width: 400px;
  flex: 1;
}

.footer-middle h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #ffffff;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 1rem;
}

.footer-middle h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #20b2aa, transparent);
  border-radius: 2px;
}

.footer-services {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.service-list li i {
  color: #20b2aa;
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-info p {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.footer-info .contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #20b2aa;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 250px;
  max-width: 500px;
  flex: 1;
}

.footer-right h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #ffffff;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 1rem;
}

.footer-right h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #20b2aa, transparent);
  border-radius: 2px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-links p {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.contact-icon {
  color: #20b2aa;
  font-size: 1.3rem;
  min-width: 1.3rem;
}

.contact-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.contact-links a:hover {
  color: #20b2aa;
}

/* Copyright Section */
.footer-copyright {
  background: #1a2634;
  padding: 1.5rem 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  border-top: 1px solid rgba(32, 178, 170, 0.2);
}

.footer-copyright p {
  margin: 0;
  letter-spacing: 0.3px;
}

/* Responsive adjustments */
@media (max-width: 800px) {
  footer.contact {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem; /* smaller gap for vertical stacking */
    padding: 4rem 4vw 3rem 4vw;
  }

  .footer-left,
  .footer-middle,
  .footer-right {
    align-items: center;
    text-align: center;
    margin: 0;
  }

  .footer-middle h2,
  .footer-right h2 {
    font-size: 1.75rem;
    text-align: center;
  }

  .footer-middle h2::after,
  .footer-right h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .service-list {
    align-items: center;
  }

  .service-list li {
    justify-content: center;
  }

  .footer-info {
    align-items: center;
  }

  .footer-info p {
    justify-content: center;
    text-align: center;
  }

  .contact-links {
    align-items: center;
  }

  .contact-links p {
    justify-content: center;
    flex-wrap: wrap;
  }

  .contact-links a {
    text-align: center;
  }
}

/* Projects Section */
.category-projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
  padding: 6rem 2rem;
  /* width: 100%; */
}

.project-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3rem;
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  justify-content: center;
  padding: 3rem;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-row:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.project-row:nth-child(2) {
  animation-delay: 0.2s;
}

.project-row:nth-child(3) {
  animation-delay: 0.4s;
}

.project-row:nth-child(4) {
  animation-delay: 0.6s;
}

.project-row:nth-child(5) {
  animation-delay: 0.8s;
}

.project-info {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  margin-right: 2.5rem;
  padding-top: 1.2rem;
  text-align: left;
}

.project-info h3 {
  font-size: 3.5rem;
  margin-bottom: 0;
  color: #2c3e50;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  text-shadow: none;
  position: relative;
}

.project-info h3::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #20b2aa, #2c3e50);
  border-radius: 2px;
}

.project-row p {
  width: 40%;
  color: #5a6c7d;
  font-size: 1.15rem;
  margin-bottom: 0;
  line-height: 1.8;
  letter-spacing: 0.3px;
  background: linear-gradient(
    135deg,
    rgba(232, 244, 253, 0.5),
    rgba(240, 248, 255, 0.3)
  );
  border-radius: 12px;
  padding: 1.5rem 2rem;
  border-left: 4px solid #20b2aa;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.before-after-pair {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.before-images-row,
.after-images-row {
  display: flex;
  align-items: center;
  position: relative;
}

.before-images-row {
  flex-direction: row;
  justify-content: flex-start;
}

.after-images-row {
  flex-direction: row;
  justify-content: flex-start;
  margin-top: 1.2rem;
}

.before-images-slider {
  position: relative;
}

.before-images-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  border-radius: 12px;
  transition: background 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.before-images-slider:hover::before {
  background: rgba(0, 0, 0, 0.3);
}

.slider-img {
  cursor: pointer;
  width: 500px;
  height: 730px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: none;
  background: #ffffff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  margin: 0 1rem;
}

.before-images-slider:hover .slider-img {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(32, 178, 170, 0.25);
}

.slider-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  font-size: 1.8rem;
  color: #2c3e50;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(44, 62, 80, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 0.5rem;
  user-select: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  z-index: 2;
  position: relative;
}

.slider-arrow:hover {
  color: #ffffff;
  background: #20b2aa;
  border-color: #20b2aa;
  transform: scale(1.15);
  box-shadow: 0 4px 20px rgba(32, 178, 170, 0.4);
}

.slider-arrow:active {
  transform: scale(1.05);
}

.before-h4 {
  margin-left: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.8),
    0 0 8px rgba(44, 62, 80, 0.3);
  text-align: left;
}

.after-h4 {
  margin-right: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.8),
    0 0 8px rgba(44, 62, 80, 0.3);
  text-align: left;
}

/* Project Separator */
.project-separator {
  width: 80%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #20b2aa 20%,
    #2c3e50 50%,
    #20b2aa 80%,
    transparent 100%
  );
  margin: 5rem auto;
  border-radius: 1px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.5s;
}

@keyframes fadeIn {
  to {
    opacity: 0.4;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  position: relative;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

#modalImage {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  right: 25px;
  top: 10px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.modal-arrow {
  color: white;
  font-size: 30px;
  cursor: pointer;
  padding: 150px;
  user-select: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.modal-arrow.left {
  left: 20px;
}

.modal-arrow.right {
  right: 20px;
}

/* Category Landing Page - Project Cards Carousel */
.projects-carousel-section {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
}

/* Empty Projects Message */
.empty-projects-message {
  text-align: center;
  padding: 6rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.empty-projects-icon {
  margin-bottom: 2rem;
}

.empty-projects-icon i {
  font-size: 5rem;
  color: #20b2aa;
  opacity: 0.7;
}

.empty-projects-message h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.empty-projects-message p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1800px;
  margin: 0 auto;
  position: relative;
}

.carousel-container {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  gap: 2rem;
}

.carousel-item {
  flex: 0 0 calc((100% - 4rem) / 3);
  min-width: 0;
}

.carousel-arrow {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #2c3e50;
  color: #2c3e50;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.carousel-arrow:hover:not(:disabled) {
  background: #20b2aa;
  border-color: #20b2aa;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(32, 178, 170, 0.3);
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.project-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card-landing {
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.project-card-landing:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.project-card-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 85%; /* Increased height for taller cards */
  overflow: hidden;
}

.project-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card-landing:hover .project-card-image {
  transform: scale(1.1);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(32, 178, 170, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.project-card-overlay i {
  color: #ffffff;
  font-size: 3rem;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-card-landing:hover .project-card-overlay {
  background: rgba(27, 109, 105, 0.7);
}

.project-card-landing:hover .project-card-overlay i {
  opacity: 1;
  transform: scale(1);
}

.project-card-content {
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
}

.project-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  letter-spacing: 0.5px;
}

/* Breadcrumb Navigation */
.breadcrumb {
  padding: 1.5rem 3rem;
  background: #f8fbfd;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumb-item {
  color: #2c3e50;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.breadcrumb-item:hover {
  color: #20b2aa;
}

.breadcrumb-separator {
  color: #999;
}

.breadcrumb-current {
  color: #20b2aa;
  font-weight: 600;
}

/* Project Detail Gallery */
.project-detail-gallery {
  padding: 1rem 4rem 6rem 4rem;
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
}

.gallery-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 4rem;
  position: relative;
}

.gallery-title::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #20b2aa, #2c3e50);
  border-radius: 2px;
}

.gallery-carousel-wrapper {
  max-width: 1800px;
  margin: 0 auto;
}

.gallery-carousel-item {
  flex: 0 0 calc((100% - 4rem) / 3);
  min-width: 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(32, 178, 170, 0.25);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.08);
}

@media (max-width: 1023px) and (min-width: 768px) {
  .carousel-item {
    flex: 0 0 calc((100% - 2rem) / 2);
  }

  .gallery-carousel-item {
    flex: 0 0 calc((100% - 2rem) / 2);
  }
}

@media (max-width: 768px) {
  /* Landing page responsive */
  .projects-carousel-section {
    padding: 3rem 1rem;
  }

  .carousel-wrapper {
    gap: 1rem;
  }

  .carousel-item {
    flex: 0 0 100%;
  }

  .carousel-track {
    gap: 0;
  }

  .carousel-arrow {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }

  .project-card-title {
    font-size: 1.25rem;
  }

  .gallery-carousel-item {
    flex: 0 0 100%;
  }

  /* Detail page responsive */
  .breadcrumb {
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
  }

  .project-detail-gallery {
    padding: 3rem 1.5rem;
  }

  .gallery-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  /* Original project list styles */
  .category-projects {
    gap: 3rem;
    padding: 3rem 1rem;
    align-items: center;
  }

  .project-row {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 1.5rem;
    width: 95%;
    border-radius: 16px;
  }

  .project-row:hover {
    transform: translateY(-4px);
  }

  .project-info {
    align-items: center;
    text-align: center;
    margin: 0;
    max-width: 100%;
    padding: 0 1rem;
  }

  .project-info h3 {
    font-size: 2.2rem;
    text-align: center;
  }

  .project-info h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .project-row p {
    width: 100%;
    font-size: 1rem;
    padding: 1.25rem 1.5rem;
    line-height: 1.7;
  }

  .before-after-pair {
    align-items: center;
    gap: 2rem;
    width: 100%;
  }

  .before-images-row,
  .after-images-row {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .before-h4,
  .after-h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-align: center;
    width: 100%;
  }

  /* Move h4 above image rows */
  .before-images-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .after-images-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .slider-img {
    width: 90vw;
    max-width: 320px;
    height: 450px;
    margin: 0;
    border-radius: 12px;
  }

  .before-images-slider:hover .slider-img {
    transform: scale(1.03);
  }

  .slider-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    margin: 0 0.5rem;
  }

  .slider-arrow:hover {
    transform: scale(1.1);
  }

  .project-separator {
    width: 90%;
    margin: 3rem auto;
  }

  .modal-arrow {
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 0;
    user-select: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Floating Request Button */
.floating-request-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #20b2aa 0%, #17a298 100%);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 8px 20px rgba(32, 178, 170, 0.4);
  z-index: 1000;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.floating-request-btn i {
  font-size: 1.2rem;
}

.floating-request-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(32, 178, 170, 0.6);
  background: linear-gradient(135deg, #17a298 0%, #20b2aa 100%);
}

.floating-request-btn:active {
  transform: translateY(-2px) scale(1.02);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .floating-request-btn {
    bottom: 20px;
    right: 20px;
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }

  .floating-request-btn span {
    display: none;
  }

  .floating-request-btn i {
    font-size: 1.5rem;
  }

  .floating-request-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
  }
}
