/* ========== Global styles ========== */

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

li {
  padding: 2px;
  list-style: none;
}

#tech-services-section,
#business-consulting-section,
#production-section,
#catering-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 2rem;
}

#tech-services-section h2,
#business-consulting-section h2,
#production-section h2,
#catering-section h2 {
  color: #4a4a5a;
  font-family: Inter;
  font-size: 48px;
  font-weight: 400;
  line-height: 48px; /* 100% */
  letter-spacing: 0.7px;
}

/* ========== Section title container =========*/
.section-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
}

.section-underline {
  margin-top: -1.3rem;
  height: 3px;
}

.section-description {
  font-size: 1rem;
  text-align: center;
  color: #333333cc;
}

.wave-separator-1,
.wave-separator-2,
.wave-separator-3,
.wave-separator-4,
.wave-separator-5 {
  display: block;
  overflow: hidden;
  margin-top: -3px;
  margin-bottom: -2px;
  line-height: 0;
  font-size: 0;
}

/* ========== Vector wave separator (hero → tech services) ========== */
.wave-separator-1 {
  background-color: #eef7e0;
}

.wave-separator-shape-1 {
  display: block;
  width: 100%;
  min-height: 56px;
}

/* ========== Vector wave separator (tech services → business consulting) ========== */
.wave-separator-2 {
  background-color: #d2dcb6;
}

.wave-separator-shape-2 {
  display: block;
  width: 100%;
  height: 44px;
}

/* ========== Vector wave separator (business consulting → production) ========== */
.wave-separator-3 {
  background-color: #a1bc98;
}

.wave-separator-shape-3 {
  display: block;
  width: 100%;
  height: 65px;
}

/* ========== Vector wave separator (production → catering) ========== */
.wave-separator-4 {
  position: relative;
  z-index: 2;
  margin-bottom: -2rem;
}

.wave-separator-shape-4 {
  display: block;
  width: 100%;
  height: 60px;
}

/* ========== Vector wave separator (catering → footer) ========== */
.wave-separator-5 {
  position: relative;
  margin-top: -17px;
}

.wave-separator-shape-5 {
  display: block;
  width: 100%;
  height: 33px;
}

/* ========== Enquiry button ========== */
.enquiry-button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 2rem;
  background-color: rgb(36 145 36 / 99%);
  color: #ffffff;
  border: none;
  border-radius: 19px;
  font-size: 1rem;
  font-weight: 550;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

main .enquiry-button:not(.catering-enquiry-button) {
  margin: 3rem 0;
}

.enquiry-button:hover {
  background-color: #1f571f;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: scale(1.08);
}

.enquiry-button-icon {
  width: 24px;
  height: 24px;
  margin: 0;
}

.enquiry-button span {
  text-align: center;
}

/* ========== Hero Section styles ========== */
#hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6rem;
  padding: 5rem 2rem;
  background-color: #eef7e0;
}

#hero-section .logo {
  margin-top: 5rem;
  width: 300px;
}

.business-lines-container {
  display: flex;
  justify-content: center;
}

.business-lines-container ul {
  display: flex;
  gap: 6rem;
  padding: 0;
  margin: 0;
}

.business-line a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #1a1a1a;
  padding: 1rem;
}

.business-line-ta-prefix {
  color: #5a5a5a;
  font-size: 0.85em;
}

.business-line a:hover,
.business-line-icon:hover {
  transform: scale(1.05);
}

.business-line-icon {
  width: 60px;
  height: 64px;
  padding: 0.8rem;
}

/* ========== Technical Services section styles========== */
#tech-services-section {
  background-color: #d2dcb6;
  gap: 2rem;
}

.tech-services-content-container {
  display: flex;
  flex-direction: row;
  gap: 6rem;
}

.tech-service-icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 180px;
  height: 180px;
  cursor: pointer;
}

.tech-service-icon-container img {
  height: 100px;
}

.tech-service-icon-container span {
  font-size: 1rem;
  color: #3d4c67;
}

/* ========== Business Consulting section styles ========== */

#business-consulting-section {
  background-color: #a1bc98;
  gap: 2rem;
}

#business-consulting-section.layout-panel-active .business-consulting-layout {
  justify-content: flex-start;
}

.business-consulting-layout {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1100px;
}

.business-consulting-content-container {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.business-consulting-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.consulting-label-center {
  text-align: center;
}

.consulting-item {
  cursor: pointer;
}

.business-consulting-icon-box {
  display: flex;
  padding: 1.1rem;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 4px 6px 16px rgba(0, 0, 0, 0.08);
}

/* Hover state on icon box */
.consulting-item:hover .business-consulting-icon-box {
  background-color: #7a9b6e;
}
.consulting-item:hover .business-consulting-icon-box img {
  filter: brightness(0) invert(1);
}

.business-consulting-icon-box img {
  width: 56px;
  height: 56px;
  transition: filter 0.2s ease;
}

/* Slide-in detail panel  */
.business-consulting-detail-panel {
  position: absolute;
  right: -78px;
  width: 320px;
  min-height: 150px;
  padding: 1.5rem 1.75rem;
  background-color: #8fa882;
  border-radius: 16px;
  box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.3s ease,
    opacity 0.25s ease,
    visibility 0.25s ease;
  z-index: 10;
}

.business-consulting-detail-panel.is-visible {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.panel-close-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  color: #1f2a1c;
  font-size: 1.4rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.panel-close-btn:hover {
  background: rgba(0, 0, 0, 0.28);
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.panel-close-btn:active,
.business-consulting-detail-panel .panel-close-btn:active,
.production-detail-panel .panel-close-btn:active {
  background: rgba(0, 0, 0, 0.35);
  transform: scale(0.96);
}

.consulting-panel-title {
  margin: 0 0 1rem 0;
  padding-right: 2rem;
}

.consulting-panel-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.consulting-panel-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
}

.consulting-panel-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #49763b;
  font-weight: bold;
  font-size: 1rem;
}

/* ========== Practical Frameworks and Guides (Business Consulting) ========== */

.frameworks-wrapper {
  width: 100%;
  max-width: 920px;
  margin: 3rem 1.5rem 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Trigger button: "Frameworks" — click to expand */
.frameworks-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(180deg, #8fa882 0%, #7a9b6e 100%);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.frameworks-trigger:hover {
  background: linear-gradient(180deg, #7a9b6e 0%, #6b8f5c 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.frameworks-trigger:focus-visible {
  outline: 2px solid #2d3a2a;
  outline-offset: 2px;
}

.frameworks-trigger-icon {
  display: inline-block;
  font-size: 0.7rem;
  transition: transform 0.35s ease;
}

.frameworks-wrapper.is-expanded .frameworks-trigger-icon {
  transform: rotate(180deg);
}

.frameworks-subline {
  margin: 0.9rem 0;
  font-size: 0.95rem;
  text-align: center;
  color: var(--text-muted, #5a5a5a);
}

/* Collapsible content */
.frameworks-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 1.25rem 0;
  transition:
    max-height 0.45s ease-out,
    opacity 0.3s ease-out,
    padding 0.35s ease;
}

.frameworks-wrapper.is-expanded .frameworks-content {
  max-height: 1260px;
  opacity: 1;
  padding: 0 1.25rem 1.5rem;
  transition:
    max-height 0.5s ease-in,
    opacity 0.35s ease-in 0.05s,
    padding 0.35s ease;
}

.frameworks-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  width: 100%;
}

.frameworks-table {
  width: 100%;
  border-spacing: 0;
  font-size: 0.9rem;
}

.frameworks-table th,
.frameworks-table td {
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.55rem 0.85rem;
  transition: background-color 0.2s ease;
}

.frameworks-table tbody tr.frameworks-row:hover td {
  background-color: #f2f7ef;
}

.frameworks-section-header th {
  background-color: #90b98a;
  color: #fff;
}

.frameworks-id,
.frameworks-view,
.frameworks-download {
  text-align: center;
}

.frameworks-header-title,
.frameworks-header-desc,
.frameworks-name,
.frameworks-desc {
  text-align: left;
}

.frameworks-header-title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.frameworks-header-desc {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.95;
}

.frameworks-row td {
  background-color: #fff;
}

.frameworks-row:nth-child(odd) td {
  background-color: #fcfdfb;
}

.frameworks-row:hover td {
  background-color: #f2f7ef !important;
}

.frameworks-id {
  width: 3.25rem;
  font-weight: 600;
  color: #333;
  font-variant-numeric: tabular-nums;
}

.frameworks-name {
  min-width: 10rem;
  font-weight: 500;
  color: #2d3a2a;
}

.frameworks-desc {
  min-width: 8rem;
  color: #444;
}

.frameworks-download-link {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: linear-gradient(180deg, #7a9b6e 0%, #6b8f5c 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}

.download-link-template-mobile {
  display: none;
}

.frameworks-download-link:hover {
  background: linear-gradient(180deg, #6b8f5c 0%, #5a7a4c 100%);
  color: #fff;
  transform: scale(1.05);
}

.frameworks-download-link:focus-visible {
  outline: 2px solid #2d3a2a;
  outline-offset: 2px;
}

.frameworks-download-link:hover {
  background: linear-gradient(180deg, #7a6b3a 0%, #6a5b2a 100%);
}

/* ========== Production section styles ========== */

#production-section {
  background-color: #778873;
  gap: 2rem;
}

#production-section .section-title-container h2 {
  color: #e7e7e7;
}

/* Only "Punkfrog" gets this color; "Productions" stays default */
#production-section .production-title-brand {
  color: rgba(71, 71, 71, 0.85);
}

/* When panel is open: hide the two non-selected cards, keep panel on the right */
#production-section.layout-panel-active .production-content-container {
  max-width: calc(100% - 340px);
  margin-right: 1rem;
}

#production-section.layout-panel-active
  .production-content-container
  li:not(.is-selected) {
  display: none;
}

.production-layout {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1100px;
  align-items: center;
}

.production-content-container {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.production-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.production-content img {
  width: 215px;
  height: 330px;
  border-radius: 25px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.production-content-container li:nth-child(2) img {
  object-position: 16% 50%;
  object-fit: cover;
}

.production-content:hover {
  transform: scale(1.05);
}

.production-item {
  cursor: pointer;
}

/* Production slide-in detail panel */
.production-detail-panel {
  position: absolute;
  height: 100%;
  padding: 1.5rem 1.75rem;
  background-color: #8fa882;
  border-radius: 16px;
  box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  visibility: hidden;
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.25s ease,
    visibility 0.25s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

.production-detail-panel.is-visible {
  width: 80%;
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

/* PP Panel left block */
.production-panel-left {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* PP panel right block */
.production-panel-right {
  width: 70%;
}

.production-panel-img {
  width: 100%;
  max-width: 160px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  flex-shrink: 0;
  display: block;
}

.production-panel-img.production-panel-img--jan {
  aspect-ratio: 5 / 7;
  object-position: 28% 50%;
}

.production-panel-title {
  margin: 0;
  padding: 0;
  color: #1f2a1c;
  font-weight: 600;
  font-size: 1.15rem;
  text-align: center;
  line-height: 1.2;
}

.production-panel-subtitle {
  font-style: italic;
  margin: 0 0 0.75rem 0;
  padding: 0;
  font-size: 0.8rem;
  color: #1f2a1c;
  white-space: pre-line;
  line-height: 1.35;
  margin-bottom: 2rem;
  text-align: center;
}

.production-panel-description {
  font-size: 1rem;
  margin: 0 2rem;
  color: #1f2a1c;
  white-space: pre-line;
}

.production-detail-panel .production-panel-link {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: #5f6d5c;
  color: #fff;
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 20px;
  white-space: pre-line;
  text-align: center;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.production-detail-panel .production-panel-link:hover {
  background: #4a5548;
}

.production-detail-panel .production-panel-link-wrap {
  margin-top: 2rem;
  text-align: center;
}

/* ========== Catering section styles ========== */
#catering-section {
  position: relative;
  background-image: url(./Images/cc-palm-tree.jpg);
  background-size: cover;
  background-position: center;
  padding: 8rem 1.5rem 0;
}

#catering-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.25) 40%,
    rgba(0, 0, 0, 0.35) 100%
  );
  pointer-events: none;
  z-index: 0;
}

#catering-section .catering-section-inner {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: -3rem 0 1rem;
  overflow: hidden;
  box-sizing: border-box;
}

/* Title block */
.catering-title-container {
  padding: 1.5rem 2.5rem;
  margin-bottom: 10rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

#catering-section .catering-headline {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 48px);
  letter-spacing: 0.02em;
  margin: 0;
}

.catering-underline {
  margin-top: 0.8rem;
}

.catering-tagline {
  color: rgb(255 244 236 / 95%);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  margin: 0.5rem 0 0;
  max-width: 575px;
  text-align: center;
}

/* ========== Food carousel ========== */

/* Carousel container */
.food-carousel-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 1rem;
  overflow: hidden;
  box-sizing: border-box;
}

/* catergory carousel edge fades effect*/
.food-carousel-wrapper::before,
.food-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
}

.food-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), transparent);
  pointer-events: none;
}

.food-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.25), transparent);
  pointer-events: none;
}

/* Horizontal scroll: users can drag/scroll; autoplay is done in script.js (scrollLeft, not transform) */
.food-carousel-track {
  display: flex;
  padding: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}

.food-carousel-track::-webkit-scrollbar {
  height: 8px;
}

.food-carousel-track::-webkit-scrollbar-track {
  background: transparent;
}

.food-carousel-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
}

.food-carousel-track::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.6);
}

.food-carousel-track-inner {
  display: flex;
  gap: 1.25rem;
  padding: 0 0.5rem;
  width: max-content;
  animation: carousel-scroll-left 60s linear infinite;
}

.food-carousel-bottom-line .food-carousel-track-inner {
  animation: carousel-scroll-right 60s linear infinite;
}

/* Pause when user hovers or has just scrolled */
.food-carousel-wrapper:hover .food-carousel-track-inner,
.food-carousel-track-inner.food-carousel-track-inner--user-scrolling {
  animation-play-state: paused;
}

.food-carousel-track-inner.food-carousel-track-inner--user-scrolling {
  animation: none;
  transform: none;
}

@keyframes carousel-scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes carousel-scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.food-carousel-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.5rem 0 0;
  padding: 0 0.75rem 0.25rem;
  text-align: center;
  font-size: clamp(0.75rem, 1.85vw, 0.9rem);
  letter-spacing: 0.04em;
  color: rgba(255, 244, 236, 0.7);
  font-weight: 500;
}

.food-carousel-scroll-hint__icon {
  opacity: 0.65;
  font-size: 1em;
  line-height: 1;
}

.food-carousel-item {
  position: relative;
  flex-shrink: 0;
  scroll-snap-align: center;
  scroll-snap-stop: normal;
  overflow: hidden;
  border-radius: 16px;
}

.food-carousel-item img {
  display: block;
  width: 130px;
  height: 120px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.food-carousel-top-line .food-carousel-item:nth-child(2) img,
.food-carousel-top-line .food-carousel-item:nth-child(4) img {
  object-position: 55% 40%;
}

.food-carousel-item:hover img {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

/* Bottom overlay: dish name on hover */
.food-carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.6rem;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.4));
  opacity: 0;
  transform: translateY(100%);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
  border-radius: 0 0 16px 16px;
}

.food-carousel-item:hover .food-carousel-caption {
  opacity: 1;
  transform: translateY(0);
}

.caption-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.caption-translation {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 2px;
}

.catering-enquiry-button {
  margin-top: 2.5rem;
  margin-bottom: 0;
}

/* ============footer section styles ========== */
footer {
  background-color: #717863;
  z-index: 4;
  margin-top: -1px;
}

.footer-content-container {
  display: flex;
  justify-content: space-evenly;
  gap: 3rem;
  padding: 2.5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  margin-right: 7rem;
  text-align: center;
}

.footer-enquiry-text {
  color: #e0e0e0;
  font-size: 1rem;
  width: max-content;
}

.footer-enquiry-text a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.footer-enquiry-text a:hover {
  text-decoration: underline;
}

.email-link {
  color: #d0e5af;
  transition: color 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
  text-align: center;
}

/* Contact row */
.footer-contact-container {
  display: flex;
  gap: 2.5rem;
}

.footer-trading-as {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: #e0e0e0;
  font-size: 0.92rem;
  justify-content: center;
  width: 15%;
}

.footer-ta-prefix {
  color: #bfc7b2;
  font-size: 0.86em;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-contact-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #4caf50;
  border-radius: 8px;
  flex-shrink: 0;
}

.footer-contact-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.footer-contact-text {
  font-size: 0.95rem;
  color: #e0e0e0;
  width: max-content;
}

/* Dotted separator between top and bottom */
.footer-separator {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px dotted rgba(224, 224, 224, 0.5);
}

.footer-copyright-container {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 1.5rem 0.8rem;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: #403f3c;
}

/* Smooth scroll (e.g. back to top) */
html.scroll-smooth {
  scroll-behavior: smooth;
}

/* ========== Back to top button ========== */
.back-to-top-button {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.back-to-top-button.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.back-to-top-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  background: #daf1d4;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(119, 136, 115, 0.4);
}

.back-to-top-button a:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.back-to-top-button span {
  font-size: 1.5rem;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .back-to-top-button {
    display: none !important;
  }
}

/* ========== Hamburger button ========== */
.hamburger-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.hamburger-button:hover {
  background: #f5f5f5;
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

body.nav-menu-open .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
body.nav-menu-open .hamburger-bar:nth-child(2) {
  opacity: 0;
}
body.nav-menu-open .hamburger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hamburger panel styles */
.hamburger-menu-panel {
  display: none;
}

@media (max-width: 1024px) {
  .hamburger-button {
    display: flex;
    position: fixed;
    top: 5px;
    left: 5px;
    z-index: 1003;
  }

  .hero-top-row {
    justify-content: center;
    margin-top: 2.5rem;
  }

  #hero-section {
    gap: 4rem;
  }

  #hero-section .logo {
    width: 240px;
    margin-top: 2.5rem;
  }

  .business-lines-container {
    width: 100%;
  }

  .business-lines-container ul {
    display: flex;
    gap: 2rem 6rem;
    justify-content: center;
    max-width: 650px;
  }

  .business-line {
    width: 100%;
    max-width: 200px;
  }

  .business-line a {
    text-align: center;
    padding: 0;
  }

  .business-line-icon {
    width: 52px;
    height: 56px;
  }

  /* Hamburger dropdown */
  .hamburger-menu-panel {
    display: none;
    position: fixed;
    top: 4.5rem;
    right: 1rem;
    z-index: 1001;
    width: 220px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    overflow: hidden;
  }

  body.nav-menu-open .hamburger-menu-panel {
    display: block;
  }

  .hamburger-menu-panel ul {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
  }

  .hamburger-menu-panel li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .hamburger-menu-panel li:last-child {
    border-bottom: none;
  }

  .hamburger-menu-panel a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 0.95rem;
  }

  .hamburger-menu-panel a:hover {
    background: rgba(0, 0, 0, 0.05);
  }

  #tech-services-section h2,
  #business-consulting-section h2,
  #production-section h2,
  #catering-section h2 {
    font-size: 38px;
    line-height: 1.2;
    text-align: center;
  }

  .section-title-container {
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .section-title-container .section-underline {
    margin-left: auto;
    margin-right: auto;
  }

  .section-description {
    text-align: center;
  }

  #tech-services-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .tech-services-content-container {
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .tech-service-icon-container {
    width: 110px;
    height: 150px;
  }

  .tech-service-icon-container img {
    height: 80px;
  }

  .business-consulting-layout {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 1.5rem;
    box-sizing: border-box;
  }

  .business-consulting-content-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
    width: 100%;
    max-width: 500px;
    justify-items: center;
  }

  .business-consulting-content-container .consulting-item {
    width: 100%;
    max-width: 260px;
  }

  .business-consulting-detail-panel {
    right: 0;
    position: relative;
    width: 100%;
    max-width: 560px;
    padding: 0;
    min-height: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition:
      opacity 0.3s ease,
      max-height 0.35s ease,
      margin 0.3s ease,
      padding 0.3s ease;
  }

  .business-consulting-detail-panel.is-visible {
    margin-top: 1.5rem;
    padding: 1.5rem 1.75rem;
    visibility: visible;
    opacity: 1;
    max-height: 420px;
    overflow-y: auto;
  }

  #business-consulting-section.layout-panel-active .business-consulting-layout {
    justify-content: center;
  }

  .frameworks-wrapper {
    margin-left: 1rem;
    margin-right: 1rem;
    width: calc(89% - 3rem);
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }

  .frameworks-download {
    display: none;
  }

  .download-link-template-mobile {
    display: block;
  }

  .frameworks-download-header {
    display: none;
  }

  .frameworks-download-link {
    margin: 0.3rem;
  }

  .frameworks-table {
    font-size: 0.85rem;
  }

  .production-layout {
    flex-direction: column;
    margin-top: 3rem;
  }

  .production-content-container {
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .production-content img {
    width: 165px;
    height: 250px;
    max-width: 100%;
  }

  .production-content-container li:nth-child(2) img {
    object-position: 16% 50%;
    object-fit: cover;
  }

  .production-detail-panel {
    width: 70%;
    align-items: stretch;
    overflow: visible;
    height: auto;
  }

  .production-panel-left {
    justify-content: center;
    align-items: center;
  }

  .production-panel-img {
    width: 100%;
    max-width: 120px;
  }

  .production-panel-right {
    width: 60%;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    overflow: visible;
    justify-content: center;
  }

  .production-panel-description {
    flex: 0 1 auto;
    overflow-y: visible;
  }

  .production-panel-right .production-panel-link-wrap {
    flex-shrink: 0;
    text-align: center;
  }

  .production-detail-panel.is-visible {
    transform: translateX(0);
  }

  #production-section.layout-panel-active .production-content-container {
    max-width: calc(100% - 320px);
    margin-right: 1rem;
  }

  .catering-title-container {
    padding: 1.25rem 2rem;
    margin-bottom: 6rem;
    text-align: center;
  }

  .catering-tagline {
    text-align: center;
  }

  #catering-section .food-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .food-carousel-item img {
    width: 140px;
    height: 105px;
  }

  .footer-content-container {
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .footer-brand {
    margin-right: 0;
  }

  .footer-contact-container {
    justify-content: center;
  }

  .footer-trading-as {
    width: 100%;
    align-items: center;
  }
}

/* ========== Mobile ========== */
@media (max-width: 767px) {
  #hero-section {
    gap: 1rem;
    padding: 3rem 1rem 2rem;
  }

  .hero-top-row {
    margin-top: 1rem;
  }

  #hero-section .logo {
    width: 180px;
    margin-top: 15px;
  }

  .hamburger-button {
    width: 38px;
    height: 38px;
    padding: 8px;
    border: none;
  }

  .business-lines-container ul {
    gap: 0;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .business-line {
    max-width: 190px;
  }

  .business-line-icon {
    width: 44px;
    height: 48px;
  }

  .business-line a {
    font-size: 0.9rem;
    padding: 0.8rem;
  }

  main .enquiry-button:not(.catering-enquiry-button) {
    margin: 2rem 0;
  }

  .enquiry-button {
    padding: 0.45rem 1.5rem;
    font-size: 0.95rem;
  }

  .enquiry-button-icon {
    width: 20px;
    height: 20px;
  }

  #tech-services-section h2,
  #business-consulting-section h2,
  #production-section h2,
  #catering-section h2 {
    font-size: 1.5rem;
  }

  .section-title-container {
    padding: 0 1rem;
  }

  .section-underline {
    margin-top: -0.5rem;
    height: 2px;
  }

  .section-underline.catering-underline {
    margin-top: 9px;
  }

  .section-description {
    font-size: 0.8rem;
  }

  #tech-services-section {
    gap: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .tech-services-content-container {
    gap: 0;
    flex-wrap: nowrap;
    justify-content: center;
    width: 90%;
  }

  .tech-service-icon-container {
    width: 90px;
    height: 120px;
  }

  .tech-service-icon-container img {
    height: 56px;
  }

  .tech-service-icon-container span {
    font-size: 0.85rem;
  }

  #business-consulting-section {
    gap: 0;
  }

  .business-consulting-layout {
    margin-top: 2rem;
  }

  .business-consulting-content-container {
    gap: 1.2rem 0.6rem;
    max-width: 85%;
  }

  .business-consulting-icon-box {
    padding: 0.8rem;
    border-radius: 15px;
  }

  .business-consulting-icon-box img {
    width: 24px;
    height: 24px;
  }

  .business-consulting-icon span {
    text-align: center;
    font-size: 0.8rem;
  }

  .business-consulting-content-container .consulting-item {
    max-width: 260px;
    justify-self: center;
  }

  .business-consulting-detail-panel.is-visible {
    margin-top: 2rem;
    padding: 1.25rem 1.25rem;
    max-height: 70vh;
    width: 90%;
  }

  .business-consulting-detail-panel {
    right: 0;
  }

  .consulting-panel-title {
    font-size: 1rem;
  }

  .consulting-panel-list li {
    font-size: 0.8rem;
  }

  .frameworks-wrapper {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    width: calc(100% - 1rem);
  }

  .frameworks-trigger {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .frameworks-subline {
    margin: 0;
    padding: 5px;
    font-size: 0.8rem;
  }

  .frameworks-table {
    font-size: 0.8rem;
  }

  .frameworks-id {
    white-space: nowrap;
  }

  #production-section {
    gap: 0;
  }

  .production-layout {
    margin-top: 2rem;
  }

  .production-content-container {
    gap: 0.5rem;
  }

  .production-content-container li {
    padding: 0;
  }

  .production-content {
    gap: 0.5rem;
  }

  .production-content img {
    width: 110px;
    height: 175px;
  }

  .production-content span {
    font-size: 0.8rem;
  }

  #production-section.layout-panel-active .production-content-container {
    max-width: 100%;
    margin-right: 0;
  }

  .production-detail-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    transform: translateY(100%);
    border-radius: 20px 20px 0 0;
    overflow-y: visible;
    box-sizing: border-box;
    z-index: 1003;
  }

  .production-detail-panel.is-visible {
    transform: translateY(0);
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .production-content img {
    border-radius: 10px;
  }

  .production-panel-title {
    font-size: 1rem;
  }

  .production-panel-img {
    max-width: 90px;
  }

  .production-panel-link {
    float: none;
  }

  .production-panel-right {
    width: 100%;
    overflow: visible;
  }

  .production-panel-description {
    max-height: none;
    font-size: 0.9rem;
    margin-top: 1rem;
    overflow-y: visible;
  }

  .production-panel-subtitle {
    margin: 0.5rem auto;
    text-align: center;
    font-size: 0.6rem;
  }

  .catering-title-container {
    margin-top: 1rem;
    padding: 0.5rem;
  }

  #catering-section {
    padding-top: 5rem;
  }

  #catering-section .catering-headline {
    font-size: 1.5rem;
  }

  .catering-tagline {
    font-size: 0.8rem;
  }

  .food-carousel-item img {
    width: 100px;
    height: 75px;
  }

  .food-carousel-track-inner {
    gap: 0.5rem;
  }

  .food-carousel-wrapper {
    padding-bottom: 0;
  }

  .caption-name {
    font-size: 0.7rem;
  }

  .caption-translation {
    font-size: 0.6rem;
  }

  .footer-content-container {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1rem;
  }

  .footer-contact-container {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-contact-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }

  .footer-contact-icon {
    width: 16px;
    height: 16px;
  }

  .footer-contact-text {
    font-size: 0.85rem;
  }

  .footer-copyright-container {
    flex-direction: column;
    text-align: center;
    padding: 0.6rem 1rem;
  }

  .footer-copyright-container span {
    font-size: 0.7rem;
  }

  .footer-designer {
    font-size: 0.7rem;
  }

  .footer-logo {
    width: 150px;
  }

  .back-to-top-button {
    display: none;
  }
}
