:root {
    --dark-teal: rgb(8, 54, 48);
    --light-bg: #f5f3ef;
    --orange: rgb(251, 77, 23);
    --white: #ffffff;
    --text-dark: #333;
    --text-light: #666;
    --cyan: #00bcd4;
    --cyan-card: #e6f6f7;
    --peach-card: #fff4f0;
    --lavender-card: #f2f0f8;
    --yellow-card: #fff9e6;
    --border-light: #e0e0e0;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Alibaba Sans', 'Alibaba PuHuiTi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scrollbar from animation */
}

.container {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

section {
    padding: 20px 0;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--white);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-teal);
}

h2.orange-text {
    color: var(--orange);
}

.dark-section {
    background: linear-gradient(135deg, var(--dark-teal) 0%, rgb(12, 70, 62) 50%, var(--dark-teal) 100%);
    border-radius: 30px;
    padding: 60px;
    color: var(--white);
}

.dark-section.full-width {
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
}

.dark-section h2, .dark-section h3 {
    color: var(--white);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 12px 16px 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--white);
    color: var(--dark-teal);
    border: 1px solid var(--dark-teal);
}

.btn-secondary {
    background-color: var(--cyan-card);
    color: var(--dark-teal);
    border: 2px solid rgba(87, 84, 84, 0.5);
}

.btn-tertiary {
    background-color: var(--white);
    color: var(--dark-teal);
    border: 1px solid var(--border-light);
}

.arrow-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: var(--orange);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.btn:hover .arrow-icon {
    transform: translateX(5px);
}

.small-caps {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 8px;
    display: block;
}

/* --- Header --- */
.main-header {
    padding: 20px 0;
    background-color: var(--light-bg);
    position: relative;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 20px;
}

/* Ensure menu is centered */
#menu {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: auto;
    max-width: 25em;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--orange);
    text-decoration: none;
}

/* Modern Dropdown Menu */
:root {
    --menu-width: 24em;
    --items: 4;
    --item-width: calc(var(--menu-width) / var(--items));
}

#menu {
    width: var(--menu-width);
    display: flex;
    transform-style: preserve-3d;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    perspective: 2000px;
    flex-wrap: nowrap;
    gap: 0;
}

/* --- Start: New Menu Styles --- */

#menu .menu-item {
    position: relative; /* Crucial for positioning the sub-menu */
    color: var(--dark-teal);
    font-weight: 600;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to top to anchor sub-menu */
    padding: 2em 0.5em;
    margin: 0 5px;
}

#menu .menu-text, #menu .menu-text a {
    font-size: 1em;
    color: var(--dark-teal);
    text-decoration: none;
    transition: color 0.3s ease;
    text-align: center;
    font-weight: 600;
    position: relative;
    white-space: nowrap;
}

#menu .menu-text a:hover,
#menu .menu-item:hover .menu-text a {
    color: var(--orange);
}

#menu .menu-text a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--orange);
    transition: width 0.3s ease;
}

#menu .menu-text a:hover::after,
#menu .menu-item:hover .menu-text a::after {
    width: 100%;
}

/* Sub-menu Styling */
.menu-item .sub-menu {
    position: absolute;
    top: 100%; /* Position it right below the menu item */
    left: 50%;
    transform: translateX(-50%) translateY(10px); /* Move down slightly */
    background: white;
    border-radius: 16px;
    padding: 1.5em;
    min-width: 27.5em;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;

    /* Animation */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.menu-item .sub-menu.double {
    min-width: 41.25em;
    height: 18.75em;
    display: grid;
    grid-template-columns: 54% 50%;
}

/* Hover effect to show the sub-menu */
.menu-item:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

/* Sub-menu item hover effect */
.menu-item .icon-box {
    cursor: pointer;
    float: left;
    width: 100%;
    margin: 0;
    padding: 0.5rem;
    border-radius: 8px;
    height: 4em;
    line-height: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.menu-item .icon-box:hover {
    background-color: #f7f7f7;
    transform: translateX(4px);
}

.menu-item .title {
    font-weight: 500;
    color: rgb(44, 70, 86);
    margin: 0 0 0.25em 0;
}

.menu-item .icon-box:hover .title {
    color: var(--orange);
}

/* --- End: New Menu Styles --- */

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hamburger {
    width: 24px;
    height: 20px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 2001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-teal);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    padding-top: 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

.hero-content {
    text-align: left;
    max-width: 650px;
}

.hero-content p {
    font-size: 1.1rem;
    margin: 20px 0 30px;
    color: rgba(255,255,255,0.8);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-actions a.link {
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
}

.client-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
.client-logos img {
    max-height: 25px;
}

/* --- Hero Carousel --- */
.hero-carousel {
    position: relative;
    width: 400px;
    height: 600px;
    margin-left: 100px;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
}

/* Hide mobile-only case cards on desktop */
.case-card-v2.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .case-card-v2.mobile-only {
        display: block;
    }
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 3;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 4;
}

/* Carousel Animated Elements */
.carousel-element {
    position: absolute;
    opacity: 0;
    transform: scale(0.5) translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 20;
}

.carousel-slide.active .carousel-element {
    opacity: 1;
    transform: scale(1) translate(0, 0);
}

.element-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-teal);
    white-space: nowrap;
}

/* Element Positions */
.carousel-element.google-logo {
    top: 15%;
    left: 5%;
    animation-delay: 0.2s;
}

.carousel-element.text-box {
    bottom: 35%;
    left: 5%;
    animation-delay: 0.4s;
}

.carousel-element.name-tag {
    top: 20%;
    right: 5%;
    animation-delay: 0.6s;
}

.carousel-element.rocket-icon {
    bottom: 20%;
    right: 8%;
    animation-delay: 0.8s;
}

/* Slide Transition Animations */
.carousel-slide:not(.active) .carousel-element {
    opacity: 0;
    transform: scale(0.3) rotateY(180deg) translate(-50%, -50%);
}

.carousel-slide.active .carousel-element {
    animation: slideInFromCenter 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes slideInFromCenter {
    0% {
        opacity: 0;
        transform: scale(0.3) translate(-50%, -50%);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) translate(-50%, -50%);
    }
    100% {
        opacity: 1;
        transform: scale(1) translate(0, 0);
    }
}

/* Hover Effects */
.carousel-element:hover {
    transform: scale(1.05) translate(0, 0);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background-color: var(--orange);
    transform: scale(1.2);
}

.dot:focus {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

/* Styles for the new Infinite Cases Carousel Section (ID: #cases-section-v2)
*/

#cases-section-v2 {
  background-color: var(--light-bg); /* Set the outer background */
  padding: 120px 0; /* Increased padding for bigger section */
}

/* Make the container the dark, rounded block */
#cases-section-v2 .container.dark-section {
  position: relative; /* For positioning child elements like the SVG and arrows */
  overflow: visible; /* Allow hovered cards to extend beyond container */
  border-radius: 30px; 
  padding: 80px; /* Increased padding for bigger container */
}

/* Header: Title and Button */
.cases-v2-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 20px;
  position: relative; /* Ensure header is above the decorative lines */
  z-index: 2;
}

.cases-v2-title h2 {
  margin-top: 8px;
  color: var(--white);
}

.btn.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 50px;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
  flex-shrink: 0; /* Prevent button from shrinking */
}

.btn.btn-outline:hover {
  background-color: var(--white);
  color: var(--dark-teal);
  transform: translateY(-2px);
}

/* Decorative SVG Line Styling */
.decorative-lines {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none; /* Allows clicks to go through */
}

.swoopy-line {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: draw-line 5s ease-out forwards;
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

/* Infinite Scroller Styles */
.infinite-scroller {
  width: 100%;
  overflow: hidden;
  position: relative; /* Ensure scroller is above decorative lines */
  z-index: 2;
}

/* Add gradient overlays for fade effect without masking cloned cards */
.infinite-scroller::before,
.infinite-scroller::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 3;
  pointer-events: none;
}

.infinite-scroller::before {
  left: 0;
  background: linear-gradient(to right, var(--dark-teal), transparent);
}

.infinite-scroller::after {
  right: 0;
  background: linear-gradient(to left, var(--dark-teal), transparent);
}

.scroller-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  width: max-content; /* Ensure it can accommodate all cards including clones */
  /* Animation will be applied by JS */
}

.infinite-scroller:hover .scroller-inner {
  animation-play-state: paused;
}

/* Individual Case Card Styling */
.case-card-v2 {
  position: relative;
  flex: 0 0 auto; /* Prevent shrinking/growing */
  width: 280px; /* Slightly narrower for vertical look */
  height: 400px; /* Much taller for vertical rectangles */
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: perspective(1000px) rotateY(-5deg);
  cursor: pointer;
}

.case-card-v2:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 100; /* Higher z-index to appear above container */
}

/* Different styles for cards with mobile mockups */
.case-card-v2:has(img[alt*="Mobile"]) {
    width: 160px; /* Slightly narrower for mobile cards */
    height: 450px; /* Taller for mobile cards */
}

.case-tag-v2 {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 3;
}

.case-image-v2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-card-v2:hover .case-image-v2 {
  transform: scale(1.1);
}

/* --- NEW: Hover Effect Elements --- */
.case-hover-overlay-v2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px; /* Match parent */
  overflow: hidden;
  z-index: 2;
}

.case-hover-gradient-v2 {
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at bottom left, 
    rgba(251, 77, 23, 0.7) 0%, 
    rgba(251, 77, 23, 0.5) 25%, 
    rgba(251, 77, 23, 0) 60%
  );
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.case-hover-title-v2,
.case-hover-arrow-v2 {
  position: absolute;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  pointer-events: none; /* Make sure text doesn't block hover */
}

.case-hover-title-v2 {
  bottom: 60px; /* Position above the arrow */
  left: 20px;
  right: 20px;
  font-size: 1.1rem;
  font-weight: 700;
  transform: translateY(20px);
}

.case-hover-arrow-v2 {
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transform: scale(0.8);
}

.case-hover-arrow-v2::before {
  display: none; /* Remove any dot/point icon */
}

/* --- NEW: Hover State --- */
.case-card-v2:hover .case-hover-gradient-v2 {
  opacity: 1;
  transform: scale(1);
}

.case-card-v2:hover .case-hover-title-v2 {
  opacity: 1;
  transform: translateY(0);
}

.case-card-v2:hover .case-hover-arrow-v2 {
  opacity: 1;
  transform: scale(1);
}


/* Animation Keyframes */
@keyframes scroll {
  to {
    transform: translate(calc(-50% - 15px)); /* 50% of width + half the gap */
  }
}

/* Carousel Arrow Navigation Styles */
.carousel-arrow-v2 {
  position: absolute; /* Position absolutely within the container */
  bottom: -40px; /* Position at bottom of the dark container */
  width: 50px;
  height: 50px;
  background-color: transparent;
  border: 2px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.carousel-arrow-v2:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.carousel-arrow-v2:active {
  transform: scale(0.95);
}

.carousel-arrow-v2.left {
  right: 70px; /* Position left arrow 70px from right edge */
}

.carousel-arrow-v2.right {
  right: 10px; /* Position right arrow 10px from right edge */
}

/* Arrow container for positioning */
.carousel-arrows-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 20px;
  position: relative;
  width: 100%;
}

/* Focus styles for accessibility */
.carousel-arrow-v2:focus {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* Employee Card Expansion Styles */
.name-tag {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  font-size: 0.9rem;
  cursor: none; /* Hide default cursor */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 10;
  overflow: hidden;
  max-width: 200px;
}

/* Hide default cursor when custom cursor is active */
.team-photo-container,
.team-photo-container *,
.team-photo-container img,
.team-photo-container .name-tag,
.team-photo-container .employee-card-content,
.team-photo-container .employee-avatar,
.team-photo-container .employee-contact-btn,
.team-photo-container .employee-close-btn {
  cursor: none !important;
}

/* Custom cursor for employee cards */
.employee-cursor {
  position: fixed;
  width: 140px;
  height: 50px;
  background: rgba(251, 77, 23, 0.9);
  border-radius: 25px;
  pointer-events: none;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  will-change: transform;
}

.employee-cursor.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.employee-cursor.hovering {
  background: var(--dark-teal); /* Dark teal color when hovering over clickable elements */
  border-color: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Hide cursor on body when custom cursor is active */
body.custom-cursor-active {
  cursor: none !important;
}

body.custom-cursor-active * {
  cursor: none !important;
}

/* Aiming arrow */
.aiming-arrow {
  position: fixed;
  width: 40px;
  height: 40px;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  contain: layout style paint;
  will-change: opacity;
}

.aiming-arrow svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.aiming-arrow.active {
  opacity: 1;
  animation: arrow-pulse 2s ease-in-out infinite;
  transform: translate(-50%, -50%) scale(1);
}

@keyframes arrow-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

/* Subtle pulse animation to indicate interactivity */
.name-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  background: linear-gradient(45deg, transparent, rgba(251, 77, 23, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.name-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  background-color: rgba(255, 255, 255, 0.95);
  border-color: rgba(251, 77, 23, 0.3);
}

.name-tag:hover::before {
  opacity: 1;
  animation: subtle-pulse 2s ease-in-out infinite;
}

/* Expanded state */
.name-tag.expanded {
  max-width: 300px;
  width: 300px;
  height: auto;
  min-height: 120px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(251, 77, 23, 0.2);
  z-index: 100;
}

.name-tag.expanded::before {
  display: none;
}

.employee-card-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.name-tag.expanded .employee-card-content {
  opacity: 1;
  max-height: 200px;
  margin-top: 12px;
}

.employee-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--orange);
  margin-bottom: 12px;
  display: block;
}

.employee-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.employee-description {
  color: var(--text-dark);
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

.employee-contact-btn {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.employee-contact-btn:hover {
  background: #e65a1a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(251, 77, 23, 0.3);
}

.employee-contact-btn:active {
  transform: translateY(0);
}

/* Close button for expanded cards */
.employee-close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: none;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: bold;
}

.name-tag.expanded .employee-close-btn {
  display: flex;
}

.employee-close-btn:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

@keyframes subtle-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Arrow icon styling with dots */
.carousel-arrow-v2::before {
  display: none; /* Remove the dot/point icon */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  #cases-section-v2 .container.dark-section {
    padding: 40px 20px;
    border-radius: 20px;
  }
  
  .cases-v2-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .case-card-v2 {
    width: 240px; /* Slightly smaller on mobile */
    height: 320px; /* Maintain vertical rectangle proportions */
    transform: perspective(800px) rotateY(-3deg);
  }
  
  .case-card-v2:has(img[alt*="Mobile"]) {
    width: 140px; /* Smaller mobile cards on mobile */
    height: 380px; /* Maintain vertical rectangle proportions */
  }
  
  /* Mobile arrow adjustments */
  .carousel-arrow-v2 {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .carousel-arrow-v2.left {
    right: 55px; /* Adjusted for mobile */
  }
  
  .carousel-arrow-v2.right {
    right: 8px; /* Adjusted for mobile */
  }
  
  .carousel-arrow-v2::before {
    display: none; /* Remove the dot/point icon on mobile too */
  }
  
  /* Mobile employee modal adjustments */
  .employee-modal {
    margin: 10px;
    max-height: 95vh;
  }
  
  .employee-modal-header {
    padding: 20px 20px 15px;
  }
  
  .employee-modal-content {
    padding: 15px 20px 20px;
  }
  
  .employee-info {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .employee-avatar {
    width: 60px;
    height: 60px;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  /* Mobile employee card adjustments */
  .name-tag.expanded {
    max-width: 280px;
    width: 280px;
    min-height: 140px;
    padding: 12px;
  }
  
  .employee-card-content {
    margin-top: 8px;
  }
  
  .employee-description {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }
  
  .employee-contact-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  
  /* Disable custom cursor on mobile */
  .name-tag {
    cursor: pointer; /* Restore default cursor on mobile */
  }
  
  .employee-cursor {
    display: none; /* Hide custom cursor on mobile */
  }
  
  .aiming-arrow {
    display: none !important; /* Hide aiming arrows on mobile */
  }
}
  

/* --- Services Overview --- */
.services-overview {
    padding: 60px 0;
}

.service-intro-text {
    margin-bottom: 40px;
}

.service-intro-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.service-intro-content .service-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.service-description {
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    text-decoration: none;
}

.service-card:hover {
    text-decoration: none;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-top: 15px;
    margin-bottom: 10px;
}

.service-card p {
    margin-top: 8px;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-card .arrow-icon {
    align-self: flex-end;
    margin-top: 15px;
    text-decoration: none;
    border: none;
}

.service-card a {
    text-decoration: none;
    border: none;
}

.service-icon {
    font-size: 2.5rem;
}

/* --- CTA Bar --- */
.cta-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.cta-bar h2 {
    margin: 0;
    font-size: 2rem;
}

/* --- About Section --- */
.about-section-grid {
     display: grid;
     grid-template-columns: 1fr 1.2fr;
     gap: 50px;
     align-items: center;
}

/* --- Team Photo --- */
.team-photo-container {
    position: relative;
    margin-top: 60px;
}
.team-photo {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.name-tag {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Subtle pulse animation to indicate interactivity */
.name-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(45deg, transparent, rgba(251, 77, 23, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.name-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    background-color: rgba(255, 255, 255, 0.95);
    border-color: rgba(251, 77, 23, 0.3);
}

.name-tag:hover::before {
    opacity: 1;
    animation: subtle-pulse 2s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}
.name-tag strong { display: block; }

.tag-martijn { top: 40%; left: 5%; }
.tag-dominic { top: 55%; right: 35%;}
.tag-derk { bottom: 30%; right: 10%;}

/* --- Values Section --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    text-align: center;
}
.value-item h3 { font-size: 1.5rem; margin: 15px 0 10px; }
.value-item .icon { font-size: 2.5rem; color: var(--orange); }
.values-cta { text-align: center; margin-top: 50px; }

/* --- Pricing Section --- */
.pricing-section {
    padding: 100px 0;
    background-color: var(--light-bg);
    position: relative;
    text-align: center;
}

/* Modern Pricing Calculator */
.pricing-calculator-wrapper {
    margin-bottom: 80px;
}

.pricing-calculator {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
}

.calculator-header {
    text-align: center;
}

.calculator-header h3 {
    font-size: 1.8rem;
    color: var(--dark-purple);
    margin-bottom: 8px;
}

.calculator-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.calculator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.budget-input-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.budget-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark-purple);
}

.budget-display {
    background: var(--orange);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 80px;
    text-align: center;
}

.slider-container {
    position: relative;
    padding: 12px 0; /* Reduced padding to better accommodate the thumb */
    height: 30px; /* Add height to container to accommodate thumb */
}

.budget-slider {
    width: 100%;
    height: -60px;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    z-index: 2;
}

.budget-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--orange);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(251, 77, 23, 0.3);
    transition: transform 0.2s ease;
}

.budget-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.budget-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--orange);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(251, 77, 23, 0.3);
}

.slider-track {
    position: absolute;
    top: 15px; /* Position track in the middle of the container */
    left: 0;
    right: 0;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    z-index: 1;
}

.slider-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--orange) 0%, #ff8a65 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.slider-markers {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.recommendation-section {
    display: flex;
    justify-content: center;
}

.recommendation-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--orange);
    width: 100%;
    max-width: 320px;
}

.recommendation-header {
    text-align: center;
    margin-bottom: 20px;
}

.recommendation-badge {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.recommendation-header h4 {
    font-size: 1.4rem;
    color: var(--dark-teal);
    margin-bottom: 8px;
}

.recommendation-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.recommendation-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.detail-value {
    font-weight: 600;
    color: var(--dark-teal);
}

.calculator-actions {
    text-align: center;
}

.calculator-cta {
    margin-bottom: 16px;
    padding: 16px 32px;
    font-size: 1.1rem;
}

.calculator-note {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

/* Responsive Calculator */
@media (max-width: 768px) {
    .calculator-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-calculator {
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .recommendation-card {
        max-width: 100%;
    }
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header h2 {
    margin: 10px 0 20px;
}

.pricing-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 28px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    flex: 0 1 22%; /* was about 20%, now 10% bigger */
    max-width: 340px; /* was 310px, now 10% bigger */
    min-width: 260px;
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Featured card styling */
.pricing-card.featured {
    background: var(--dark-teal);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 12px 50px rgba(0,0,0,0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pink);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    animation: badge-bounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes badge-bounce {
    0% { transform: translateX(-50%) scale(0); }
    50% { transform: translateX(-50%) scale(1.1); }
    100% { transform: translateX(-50%) scale(1); }
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--dark-teal);
}

.pricing-card.featured .pricing-card-header h3 {
    color: var(--white);
}

.pricing-tagline {
    font-size: 0.9rem;
    color: var(--text-light);
}

.pricing-card.featured .pricing-tagline {
    color: rgba(255,255,255,0.8);
}

.pricing-price {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-teal);
    line-height: 1;
}

.pricing-card.featured .pricing-price .currency,
.pricing-card.featured .pricing-price .amount {
    color: var(--white);
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-card.featured .pricing-price .period {
    color: rgba(255,255,255,0.8);
}

.pricing-budget {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 12px 20px;
    background: rgba(0,0,0,0.03);
    border-radius: 10px;
    margin-bottom: 30px;
}

.pricing-card.featured .pricing-budget {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.pricing-features li.muted {
    opacity: 0.5;
}

.check-icon {
    color: #22c55e;
    font-weight: 700;
    font-size: 1.1rem;
}

.x-icon {
    color: var(--text-light);
    font-size: 1.1rem;
}

.pricing-card.featured .check-icon {
    color: #86efac;
}

.pricing-card.featured .x-icon {
    color: rgba(255,255,255,0.5);
}

/* Pricing CTA buttons */
.btn-pricing {
    width: 100%;
    justify-content: center;
    background: var(--white);
    color: var(--dark-teal);
    border: 2px solid var(--border-light);
    margin-top: auto;
}

.btn-pricing:hover {
    background: var(--dark-teal);
    color: var(--white);
    border-color: var(--dark-teal);
}

.