/* ============================================
   Projects Page Styles
   Figma Group 1000001596 Implementation
   Uses global variables for consistency
   ============================================ */

/* Navigation styles now centralized in components/navigation.css */
/* Page-specific navigation overrides (if needed) can go here */

/* Hide scrollbar but keep scrolling functionality */
.page-projects {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Ensure all sections respect viewport */
.page-projects section {
  max-width: 100%;
  overflow-x: hidden;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.page-projects::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

body::-webkit-scrollbar {
  display: none;
}

/* --- Frame 97: Main Text Group --- */
.projects-hero-group {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 40px;

  /* Figma Coordinates */
  width: 746.67px;
  height: auto;
  /* Allow height to fit content naturally */
  left: 105.33px;
  top: 270.67px;
  z-index: 20;
  /* Ensures text sits above the background mask */
}

/* Heading: "Projects That Turn Ideas Into Impact" */
.projects-hero-title {
  /* Global Font Variables */
  font-family: var(--font-heading);
  color: var(--color-text-light);

  /* Specific Project Hero Styles */
  font-style: normal;
  font-weight: 800;
  font-size: 76px;
  line-height: 92px;
  margin: 0;
  width: 100%;
}

/* Title line breaks - hidden on desktop, shown on mobile */
.projects-hero-title .title-line-1,
.projects-hero-title .title-line-2,
.projects-hero-title .title-line-3 {
  display: inline;
  white-space: nowrap;
}

/* Mobile-only line breaks - hidden on desktop */
.mobile-only-br {
  display: none;
}

/* Desktop: keep on same line */
@media (min-width: 769px) {
  .projects-hero-title .title-line-1::after,
  .projects-hero-title .title-line-2::after {
    content: " ";
  }
}

/* Subtitle: "Explore real-world solutions..." */
.projects-hero-subtitle {
  /* Global Font Variables */
  font-family: var(--font-body);
  color: var(--color-text-light);

  /* Specific Project Hero Styles */
  font-style: normal;
  font-weight: 400;
  font-size: 26px;
  line-height: 36px;
  margin: 0;
  width: 100%;
}

/* --- Floating Pills (Common Styles) --- */
.hero-pill {
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 13.33px 20px;
  gap: 13.33px;
  border-radius: 106.67px;
  z-index: 21;
  /* Floating above text elements */
}

.hero-pill-text {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  color: var(--color-text-light);
  white-space: nowrap;
}

/* --- Specific Pill Variations (Colors & Rotation) --- */

/* Frame 95: Built to Scale */
.hero-pill--blue {
  width: 180px;
  height: 40px;
  left: 200px !important;
  top: 200px;
  background-color: #0088FF;
  /* Specific brand color for this element */
  transform: rotate(20.12deg);
}

/* Frame 94: AI-Driven Solutions */
.hero-pill--purple {
  width: 240px;
  height: 40px;
  left: 440px !important;
  top: 320px !important;
  background-color: #6155F5;
  /* Specific brand color for this element */
  transform: rotate(-16.51deg);
}

/* Frame 96: Global Reach */
.hero-pill--orange {
  width: 180px;
  height: 40px;
  left: 40px !important;
  top: 330px !important;
  background-color: #FF8D28;
  /* Specific brand color for this element */
  transform: rotate(-8.29deg);
}

/* --- Responsive Adjustments --- */
/* Matches 1440px breakpoint used in other-pages.css */
@media (max-width: 1440px) {
  .projects-hero-group {
    transform: scale(0.85);
    /* Scale down slightly to fit 1440px screens */
    transform-origin: top left;
    left: 79px;
    top: 206px;
  }

  .hero-pill {
    transform-origin: center;
  }

  /* Adjust positions for smaller laptop screens */
  .hero-pill--blue {
    left: 300px;
    top: 180px;
    transform: scale(0.85) rotate(20.12deg);
  }

  .hero-pill--purple {
    left: 550px;
    top: 340px;
    transform: scale(0.85) rotate(-16.51deg);
  }

  .hero-pill--orange {
    left: 60px;
    top: 380px;
    transform: scale(0.85) rotate(-8.29deg);
  }
}

/* Tablet breakpoint - 1024px */
@media (max-width: 1024px) {
  .projects-hero-group {
    width: 85%;
    max-width: 600px;
    left: var(--section-padding-x, 24px);
    top: 220px;
  }

  .projects-hero-title {
    font-size: 56px;
    line-height: 1.15;
  }

  .projects-hero-subtitle {
    font-size: 22px;
    line-height: 1.4;
  }

  /* Hide pills on tablet to prevent overflow - keeps design clean */
  .hero-pill {
    display: none;
  }
}

/* Mobile breakpoint - 768px */
@media (max-width: 768px) {
  .projects-hero-group {
    position: absolute;
    width: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0 20px;
    max-width: calc(100% - 40px);
    gap: 24px;
    overflow: visible;
    text-align: center;
    align-items: center;
  }

  .projects-hero-title {
    font-size: 40px;
    line-height: 1.2;
    text-align: center;
    width: 100%;
  }

  /* Show mobile line breaks */
  .mobile-only-br {
    display: block;
  }

  /* Keep spans as inline to respect br tags */
  .projects-hero-title .title-line-1,
  .projects-hero-title .title-line-2,
  .projects-hero-title .title-line-3 {
    display: inline;
    white-space: nowrap;
  }

  .projects-hero-subtitle {
    font-size: 15px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
  }

  /* Hide pills on mobile to prevent overlap */
  .hero-pill {
    display: none;
  }
}

/* Small mobile - 425px */
@media (max-width: 425px) {
  .projects-hero-group {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    gap: 18px;
    padding: 0 20px;
    max-width: calc(100% - 40px);
    overflow: visible;
    text-align: center;
    align-items: center;
  }

  .projects-hero-title {
    font-size: 32px;
    line-height: 1.2;
    text-align: center;
    width: 100%;
  }

  /* Show mobile line breaks */
  .mobile-only-br {
    display: block;
  }

  /* Keep spans as inline to respect br tags */
  .projects-hero-title .title-line-1,
  .projects-hero-title .title-line-2,
  .projects-hero-title .title-line-3 {
    display: inline;
    white-space: nowrap;
  }

  .projects-hero-subtitle {
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
  }

  .hero-pill {
    display: none;
  }
}

/* Extra small - 375px */
@media (max-width: 375px) {
  .projects-hero-group {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    gap: 16px;
    padding: 0 16px;
    max-width: calc(100% - 32px);
    overflow: visible;
    text-align: center;
    align-items: center;
  }

  .projects-hero-title {
    font-size: 28px;
    line-height: 1.2;
    text-align: center;
    width: 100%;
  }

  /* Show mobile line breaks */
  .mobile-only-br {
    display: block;
  }

  /* Keep spans as inline to respect br tags */
  .projects-hero-title .title-line-1,
  .projects-hero-title .title-line-2,
  .projects-hero-title .title-line-3 {
    display: inline;
    white-space: nowrap;
  }

  .projects-hero-subtitle {
    font-size: 13px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
  }

  .hero-pill {
    display: none;
  }
}

/* Extra extra small - 320px */
@media (max-width: 320px) {
  .projects-hero-group {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    gap: 14px;
    padding: 0 12px;
    max-width: calc(100% - 24px);
    overflow: visible;
    text-align: center;
    align-items: center;
  }

  .projects-hero-title {
    font-size: 26px;
    line-height: 1.2;
    text-align: center;
    width: 100%;
  }

  /* Show mobile line breaks */
  .mobile-only-br {
    display: block;
  }

  /* Keep spans as inline to respect br tags */
  .projects-hero-title .title-line-1,
  .projects-hero-title .title-line-2,
  .projects-hero-title .title-line-3 {
    display: inline;
    white-space: nowrap;
  }

  .projects-hero-subtitle {
    font-size: 12px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
  }

  .hero-pill {
    display: none;
  }
}

/* ============================================
   Stats Section
   ============================================ */

.page-projects .stats-section {
  width: 100%;
  padding: var(--section-padding-y) var(--section-padding-x);
  background-color: #F9FAFB;
  overflow-x: hidden;
}

.page-projects .stats-container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25.33px;
  padding: 0 var(--section-padding-x, 24px);
  align-items: stretch;
}

/* Individual Stat Card */
.page-projects .stat-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* Align from top */
  padding: 28px 20px;
  /* More vertical, less horizontal padding */
  gap: 24px;
  /* Consistent gap between sections */
  width: 100%;
  height: 48vh;
  max-height: 460px;
  background: #FFFFFF;
  border: 1.33px solid rgba(196, 196, 196, 0.5);
  box-shadow: 0px 5.33px 8px -1.33px rgba(0, 0, 0, 0.1), 0px 2.67px 5.33px -2.67px rgba(0, 0, 0, 0.1);
  border-radius: 21.33px;
}

/* Icon Container */
.page-projects .stat-icon {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  min-height: 48px;
  /* Fixed height for alignment */
  border: 1.33px solid rgba(196, 196, 196, 0.5);
  border-radius: 12px;
  flex: none;
}

.page-projects .stat-icon-img {
  width: 28px;
  height: 28px;
}

/* Large Number */
.page-projects .stat-number {
  width: 100%;
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  height: 50px;
  /* Fixed height for alignment */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1F2937;
  flex: none;
  align-self: stretch;
  margin: 0;
}

/* Text Group Container */
.page-projects .stat-text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  flex: none;
  align-self: stretch;
}

/* Title */
.page-projects .stat-title {
  width: 100%;
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  height: 26px;
  /* Fixed height for alignment */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1F2937;
  margin: 0;
  flex: none;
  align-self: stretch;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Description */
.page-projects .stat-description {
  width: 100%;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  min-height: 63px;
  /* Fixed height for alignment (3 lines of text) */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  color: #6B7280;
  margin: 0;
  flex: none;
  align-self: stretch;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Responsive Adjustments - Grid System */
@media (max-width: 1440px) {
  .page-projects .stats-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .page-projects .stat-card {
    max-width: 100%;
    padding: 24px 20px;
    height: auto;
    min-height: 320px;
  }

  .page-projects .stat-number {
    font-size: 36px;
    line-height: 1.1;
  }

  .page-projects .stat-title {
    font-size: 18px;
    line-height: 1.3;
  }

  .page-projects .stat-description {
    font-size: 13px;
    line-height: 1.5;
  }
}

/* Tablet - 2 column grid */
@media (max-width: 1024px) {
  .page-projects .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-projects .stat-card {
    height: auto;
    min-height: 280px;
    max-height: none;
  }
}

@media (max-width: 768px) {
  /* Mobile: horizontal slider-style layout */
  .page-projects .stats-section {
    padding: var(--section-padding-y) 0;
  }

  .page-projects .stats-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 0 var(--section-padding-x);
  }

  .page-projects .stat-card {
    flex: 0 0 80%;
    max-width: 80%;
    min-width: 80%;
    height: auto;
    min-height: 260px;
    max-height: none;
    padding: 24px 20px;
    scroll-snap-align: start;
  }

  .page-projects .stat-number {
    font-size: 36px;
    line-height: 1.1;
  }

  .page-projects .stat-title {
    font-size: 18px;
    line-height: 1.3;
  }

  .page-projects .stat-description {
    font-size: 14px;
    line-height: 1.5;
    min-height: auto;
  }

  .page-projects .stat-icon {
    width: 48px;
    height: 48px;
    min-height: 48px;
  }

  .page-projects .stat-icon-img {
    width: 28px;
    height: 28px;
  }
}

/* Small mobile - 425px */
@media (max-width: 425px) {
  .page-projects .stat-card {
    flex: 0 0 85%;
    max-width: 85%;
    min-width: 85%;
    padding: 20px 18px;
    min-height: 240px;
  }

  .page-projects .stat-number {
    font-size: 32px;
  }

  .page-projects .stat-title {
    font-size: 17px;
  }

  .page-projects .stat-description {
    font-size: 13px;
  }

  .page-projects .stat-icon {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .page-projects .stat-icon-img {
    width: 26px;
    height: 26px;
  }
}

/* Extra small - 375px */
@media (max-width: 375px) {
  .page-projects .stats-container {
    gap: 14px;
    padding: 0 16px;
  }

  .page-projects .stat-card {
    flex: 0 0 88%;
    max-width: 88%;
    min-width: 88%;
    padding: 18px 16px;
    min-height: 230px;
  }

  .page-projects .stat-number {
    font-size: 30px;
  }

  .page-projects .stat-title {
    font-size: 16px;
  }

  .page-projects .stat-description {
    font-size: 12px;
  }

  .page-projects .stat-icon {
    width: 42px;
    height: 42px;
    min-height: 42px;
  }

  .page-projects .stat-icon-img {
    width: 26px;
    height: 26px;
  }
}

/* Extra extra small - 320px */
@media (max-width: 320px) {
  .page-projects .stats-container {
    gap: 12px;
    padding: 0 12px;
  }

  .page-projects .stat-card {
    flex: 0 0 90%;
    max-width: 90%;
    min-width: 90%;
    padding: 16px 14px;
    min-height: 220px;
  }

  .page-projects .stat-number {
    font-size: 28px;
  }

  .page-projects .stat-title {
    font-size: 15px;
  }

  .page-projects .stat-description {
    font-size: 11px;
    line-height: 1.4;
  }

  .page-projects .stat-icon {
    width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .page-projects .stat-icon-img {
    width: 24px;
    height: 24px;
  }
}

/* ============================================
    font-size: 17px;
  }

  .page-projects .stat-description {
    font-size: 13px;
  }
}

/* ============================================
   Virtual Call Agent Section
   ============================================ */

.page-projects .virtual-agent-section {
  position: relative;
  width: 100%;
  padding: var(--section-padding-y) var(--section-padding-x);
  background-color: #FFFFFF;
  overflow: hidden;
}

/* Background Decoration */
.page-projects .virtual-agent-bg-decoration {
  position: absolute;
  width: 550px;
  height: 500px;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #E8F1FA;
  border-radius: 26.67px;
  z-index: 1;
  background-image: url('../../images/pages/projects/bg-color.png');
  background-size: 600px 500px;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1;
}

.page-projects .virtual-agent-container {
  max-width: var(--section-inner-max, 1400px);
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 2;
}

/* Left Content */
.page-projects .virtual-agent-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: 50%;
  flex-shrink: 0;
}

.page-projects .virtual-agent-heading {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 800;
  font-size: 64px;
  line-height: 83px;
  color: #1F2937;
  margin: 0;
  width: 100%;
}

.page-projects .virtual-agent-description {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 37px;
  color: #6B7280;
  margin: 0;
  width: 100%;
}

/* Right Side - Cards Grid */
.page-projects .virtual-agent-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 50%;
  flex-grow: 1;
}

.page-projects .cards-row {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
}

.page-projects .agent-card {
  flex: 1;
  aspect-ratio: 418 / 309;
  border-radius: 20px;
  overflow: hidden;
  /* box-shadow: 0px 5.33px 8px -1.33px rgba(0, 0, 0, 0.1), 0px 2.67px 5.33px -2.67px rgba(0, 0, 0, 0.1); */
}

.page-projects .agent-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive Adjustments - Virtual Agent Section */
@media (max-width: 1440px) {
  .page-projects .virtual-agent-container {
    gap: 60px;
  }

  .page-projects .virtual-agent-heading {
    font-size: 52px;
    line-height: 1.2;
  }

  .page-projects .virtual-agent-description {
    font-size: 20px;
    line-height: 1.5;
  }

  .page-projects .virtual-agent-bg-decoration {
    width: 400px;
    height: 360px;
    background-size: 450px 400px;
  }
}

/* Tablet - stack content and cards */
@media (max-width: 1024px) {
  .page-projects .virtual-agent-container {
    flex-direction: column;
    gap: 48px;
  }

  .page-projects .virtual-agent-content {
    width: 100%;
  }

  .page-projects .virtual-agent-heading {
    font-size: 44px;
  }

  .page-projects .virtual-agent-description {
    font-size: 18px;
  }

  .page-projects .virtual-agent-cards {
    width: 100%;
  }

  .page-projects .virtual-agent-bg-decoration {
    width: 300px;
    height: 280px;
    right: -20px;
    background-size: 350px 300px;
  }
}

@media (max-width: 768px) {
  .page-projects .virtual-agent-container {
    flex-direction: column;
    gap: 40px;
  }

  .page-projects .virtual-agent-content {
    width: 100%;
    gap: 24px;
    align-items: center;
    text-align: center;
  }

  .page-projects .virtual-agent-heading {
    font-size: 32px;
    line-height: 1.2;
    text-align: center;
  }

  .page-projects .virtual-agent-description {
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
  }

  /* Mobile: 2x2 image grid under the text */
  .page-projects .virtual-agent-cards {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    position: relative;
    z-index: 2;
  }

  /* Flatten rows so all 4 cards participate in the same grid */
  .page-projects .cards-row {
    display: contents;
  }

  .page-projects .agent-card {
    width: 100%;
  }

  .page-projects .virtual-agent-bg-decoration {
    width: 90%;
    max-width: 420px;
    height: 360px;
    left: auto;
    right: auto;
    top: 230px;
    bottom: auto;
    margin-left: 28px;
    transform: none;
    background-size: cover;
    opacity: 0.3;
    border-radius: 20px;
  }
}

@media (max-width: 425px) {
  .page-projects .virtual-agent-heading {
    font-size: 26px;
    line-height: 1.2;
    text-align: center;
  }

  .page-projects .virtual-agent-description {
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
  }

  .page-projects .virtual-agent-cards {
    gap: 12px;
  }

  .page-projects .virtual-agent-bg-decoration {
    width: 100%;
    max-width: 360px;
    height: 340px;
    left: auto;
    right: auto;
    top: 242px;
    bottom: auto;
    margin-left: 34px;
    transform: none;
    background-size: cover;
    opacity: 0.25;
  }
}

@media (max-width: 375px) {
  .page-projects .virtual-agent-heading {
    font-size: 24px;
    text-align: center;
  }

  .page-projects .virtual-agent-description {
    font-size: 13px;
    text-align: center;
  }

  .page-projects .virtual-agent-cards {
    gap: 10px;
  }

  .page-projects .virtual-agent-bg-decoration {
    width: 100%;
    max-width: 320px;
    height: 330px;
    left: auto;
    right: auto;
    top: 212px;
    bottom: auto;
    margin-left: 24px;
    transform: none;
    background-size: cover;
    opacity: 0.25;
  }
}

@media (max-width: 320px) {
  .page-projects .virtual-agent-heading {
    font-size: 22px;
    text-align: center;
  }

  .page-projects .virtual-agent-description {
    font-size: 12px;
    text-align: center;
  }

  .page-projects .virtual-agent-cards {
    gap: 8px;
  }

  .page-projects .virtual-agent-bg-decoration {
    width: 90%;
    max-width: 265px;
    height: 310px;
    left: auto;
    right: auto;
    top: 221px;
    bottom: auto;
    margin-left: 28px;
    transform: none;
    background-size: cover;
    opacity: 0.25;
  }
}

/* ============================================
   AI Personal Productivity Coach Section
   ============================================ */

.page-projects .productivity-coach-section {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 900px;
  padding: 60px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Background Decoration - Purple Rectangle */
.page-projects .productivity-bg-decoration {
  position: absolute;
  width: 450px;
  height: 600px;
  left: 200px;
  top: 50%;
  transform: translateY(-50%);
  background: #F2ECFA;
  border-radius: 27px;
  z-index: 1;
}

/* Mockup Image - ADJUST SIZE HERE */
.page-projects .productivity-mockup {
  position: absolute;
  left: 0px;
  /* HORIZONTAL: negative=left, positive=right */
  top: 50%;
  transform: translateY(-50%);
  width: 650px;
  /* IMAGE SIZE: adjust this value (try 500-700px range) */
  height: 500px;
  z-index: 2;
}

.page-projects .productivity-mockup img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Details Content - Right Side */
.page-projects .productivity-details {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: 600px;
  max-width: 45%;
  margin-left: 700px;
  /* Prevents overlap with mockup */
  margin-right: calc((100% - 1440px) / 2 + 80px);
  z-index: 3;
}

/* Title Group */
.page-projects .productivity-title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.page-projects .productivity-heading {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 800;
  font-size: 42px;
  line-height: 52px;
  color: #1F2937;
  margin: 0;
}

.page-projects .productivity-subtitle {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #6B7280;
  margin: 0;
}

/* Features List */
.page-projects .productivity-features {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

/* Individual Feature */
.page-projects .productivity-feature {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

/* Feature Icon */
.page-projects .feature-icon {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #EAF7F2;
  border-radius: 22px;
  flex: none;
}

.page-projects .feature-icon svg {
  width: 24px;
  height: 24px;
}

/* Feature Content */
.page-projects .feature-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}

.page-projects .feature-title {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: #1F2937;
  margin: 0;
}

.page-projects .feature-description {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #6B7280;
  margin: 0;
}

/* Responsive - Productivity Coach Section */
@media (max-width: 1440px) {
  .page-projects .productivity-details {
    margin-left: 580px;
    margin-right: 40px;
    max-width: 45%;
  }

  .page-projects .productivity-mockup {
    width: 550px;
    height: auto;
  }

  .page-projects .productivity-bg-decoration {
    left: 120px;
    width: 400px;
    height: 500px;
  }
}

@media (max-width: 1200px) {
  .page-projects .productivity-coach-section {
    height: auto;
    min-height: auto;
    max-height: none;
    padding: 60px var(--section-padding-x);
  }

  .page-projects .productivity-heading {
    font-size: 38px;
    line-height: 1.2;
  }

  .page-projects .productivity-subtitle,
  .page-projects .feature-description {
    font-size: 16px;
    line-height: 1.5;
  }

  .page-projects .feature-title {
    font-size: 20px;
    line-height: 1.3;
  }

  .page-projects .productivity-details {
    gap: 32px;
    margin-left: 480px;
    margin-right: 40px;
  }

  .page-projects .productivity-bg-decoration {
    left: 80px;
    width: 350px;
    height: 450px;
  }

  .page-projects .productivity-mockup {
    width: 450px;
  }
}

/* Tablet - Stack layout */
@media (max-width: 992px) {
  .page-projects .productivity-coach-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px var(--section-padding-x);
  }

  .page-projects .productivity-bg-decoration {
    display: none;
  }

  .page-projects .productivity-heading {
    font-size: 36px;
    line-height: 1.2;
    text-align: center;
  }

  .page-projects .productivity-subtitle {
    text-align: center;
  }

  /* Split productivity-details to allow proper ordering */
  .page-projects .productivity-details {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    gap: 0;
    display: contents; /* Makes children direct flex items of parent */
  }

  /* Title group - Order 1 (appears first) */
  .page-projects .productivity-title-group {
    order: 1;
    text-align: center;
    margin-bottom: 32px;
    width: 100%;
  }

  /* Mockup image - Order 2 (appears second) */
  .page-projects .productivity-mockup {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin-bottom: 32px;
    order: 2;
  }

  /* Features - Order 3 (appears last) */
  .page-projects .productivity-features {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-projects .productivity-coach-section {
    padding: 48px var(--section-padding-x);
  }

  .page-projects .productivity-title-group {
    margin-bottom: 24px;
  }

  .page-projects .productivity-mockup {
    max-width: 100%;
    margin-bottom: 32px;
  }

  .page-projects .productivity-heading {
    font-size: 32px;
    line-height: 1.2;
    text-align: center;
  }

  .page-projects .productivity-subtitle {
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
  }

  .page-projects .feature-description {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-projects .feature-title {
    font-size: 18px;
    line-height: 1.3;
  }

  .page-projects .productivity-features {
    gap: 12px;
    width: 100%;
  }

  .page-projects .productivity-feature {
    gap: 16px;
  }
}

@media (max-width: 425px) {
  .page-projects .productivity-coach-section {
    padding: 36px 20px;
  }

  .page-projects .productivity-title-group {
    margin-bottom: 20px;
  }

  .page-projects .productivity-mockup {
    margin-bottom: 28px;
  }

  .page-projects .productivity-heading {
    font-size: 26px;
    line-height: 1.2;
    text-align: center;
  }

  .page-projects .productivity-subtitle {
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
  }

  .page-projects .feature-description {
    font-size: 13px;
    line-height: 1.5;
  }

  .page-projects .feature-title {
    font-size: 16px;
    line-height: 1.3;
  }

  .page-projects .feature-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 7px;
  }
}

@media (max-width: 375px) {
  .page-projects .productivity-coach-section {
    padding: 32px 16px;
  }

  .page-projects .productivity-title-group {
    margin-bottom: 18px;
  }

  .page-projects .productivity-mockup {
    margin-bottom: 24px;
  }

  .page-projects .productivity-heading {
    font-size: 24px;
    text-align: center;
  }

  .page-projects .productivity-subtitle {
    font-size: 12px;
    text-align: center;
  }

  .page-projects .feature-description {
    font-size: 12px;
  }

  .page-projects .feature-title {
    font-size: 15px;
  }

  .page-projects .feature-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 6px;
  }
}

@media (max-width: 320px) {
  .page-projects .productivity-coach-section {
    padding: 28px 12px;
  }

  .page-projects .productivity-title-group {
    margin-bottom: 16px;
  }

  .page-projects .productivity-mockup {
    margin-bottom: 20px;
  }

  .page-projects .productivity-heading {
    font-size: 22px;
    text-align: center;
  }

  .page-projects .productivity-subtitle {
    font-size: 11px;
    text-align: center;
  }

  .page-projects .feature-description {
    font-size: 11px;
  }

  .page-projects .feature-title {
    font-size: 14px;
  }

  .page-projects .feature-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 6px;
  }
}

  .page-projects .feature-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* ============================================
   VCA Section with Stats
   ============================================ */

.page-projects .vca-section {
  position: relative;
  width: 100%;
  padding: var(--section-padding-y) var(--section-padding-x);
  background-color: #FFFFFF;
  overflow: hidden;
}

.page-projects .vca-container {
  max-width: var(--section-inner-max, 1400px);
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 100px;
  position: relative;
}

/* Left Side - Image with Decorative Elements */
.page-projects .vca-image-wrapper {
  position: relative;
  width: 45%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-projects .vca-decorative-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* Decorative Dots */
.page-projects .vca-dot {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  z-index: 1;
}

.page-projects .vca-dot--blue {
  background-color: #3B82F6;
  top: 10%;
  left: 15%;
  width: 20px;
  height: 20px;
}

.page-projects .vca-dot--purple {
  background-color: #8B5CF6;
  top: 15%;
  right: 10%;
  width: 16px;
  height: 16px;
}

.page-projects .vca-dot--orange {
  background-color: #F97316;
  bottom: 20%;
  left: 5%;
  width: 18px;
  height: 18px;
}

.page-projects .vca-dot--green {
  background-color: #10B981;
  bottom: 15%;
  right: 15%;
  width: 22px;
  height: 22px;
}

.page-projects .vca-image {
  position: relative;
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 24px;
  /* box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1); */
  z-index: 2;
}

/* Right Side - Content */
.page-projects .vca-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: 55%;
  flex-grow: 1;
}

.page-projects .vca-text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.page-projects .vca-heading {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 800;
  font-size: 56px;
  line-height: 1.3;
  color: #1F2937;
  margin: 0;
  width: 100%;
}

.page-projects .vca-description {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.6;
  color: #6B7280;
  margin: 0;
  width: 100%;
}

/* Stats Row */
.page-projects .vca-stats {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.page-projects .vca-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}

.page-projects .vca-stat-number {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  color: #1F2937;
  margin: 0;
}

.page-projects .vca-stat-label {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: #6B7280;
  margin: 0;
}

/* Stat Divider */
.page-projects .vca-stat-divider {
  width: 2px;
  height: 60px;
  background-color: #1F2937;
  flex: none;
}

/* Responsive Adjustments */
@media (max-width: 1440px) {
  /* Removed - now using global var(--section-padding-y) */
  /* .page-projects .vca-section {
    padding: 100px var(--section-padding-x, 24px);
  } */

  .page-projects .vca-container {
    gap: 80px;
  }

  .page-projects .vca-heading {
    font-size: 48px;
  }

  .page-projects .vca-description {
    font-size: 18px;
  }

  .page-projects .vca-stat-number {
    font-size: 42px;
  }

  .page-projects .vca-stat-label {
    font-size: 18px;
  }
}

@media (max-width: 1024px) {
  .page-projects .vca-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
  }

  /* Content wrapper - use display: contents to flatten hierarchy */
  .page-projects .vca-content {
    width: 100%;
    display: contents; /* Makes children direct flex items of parent */
  }

  /* Text content - Order 1 (heading and description appear first) */
  .page-projects .vca-text-content {
    order: 1;
    width: 100%;
    align-items: center;
    text-align: center;
    margin-bottom: 32px;
  }

  /* Stats - Order 2 (appears second) */
  .page-projects .vca-stats {
    order: 2;
    width: 100%;
    margin-bottom: 32px;
  }

  /* Image - Order 3 (appears last) */
  .page-projects .vca-image-wrapper {
    width: 100%;
    max-width: 500px;
    order: 3;
    padding: 0 20px;
    box-sizing: border-box;
    margin-bottom: 0;
  }

  .page-projects .vca-heading {
    font-size: 42px;
    text-align: center;
  }

  .page-projects .vca-description {
    text-align: center;
  }

  /* Add extra bottom padding to vca section on mobile */
  .page-projects .vca-section {
    padding-bottom: calc(var(--section-padding-y) + 40px);
  }
}

@media (max-width: 768px) {
  .page-projects .vca-section {
    padding-bottom: calc(var(--section-padding-y) + 40px);
  }

  .page-projects .vca-content {
    align-items: center;
    text-align: center;
  }

  .page-projects .vca-text-content {
    align-items: center;
  }

  .page-projects .vca-heading {
    font-size: 36px;
    line-height: 1.2;
    text-align: center;
  }

  .page-projects .vca-description {
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
  }

  /* Mobile: keep stats in one row with vertical dividers */
  .page-projects .vca-stats {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .page-projects .vca-stat {
    width: auto;
    padding-bottom: 0;
    border-bottom: none;
    align-items: center;
    text-align: center;
  }

  .page-projects .vca-stat-divider {
    display: block;
    width: 1px;
    height: 40px;
    background-color: #1F2937;
  }

  .page-projects .vca-stat-number {
    font-size: 32px;
  }

  .page-projects .vca-stat-label {
    font-size: 14px;
  }

  .page-projects .vca-image-wrapper {
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .page-projects .vca-container {
    gap: 40px;
  }

  /* Adjust decorative dots for mobile */
  .page-projects .vca-dot {
    width: 16px;
    height: 16px;
  }

  .page-projects .vca-dot--blue {
    width: 14px;
    height: 14px;
  }

  .page-projects .vca-dot--purple {
    width: 12px;
    height: 12px;
  }

  .page-projects .vca-dot--orange {
    width: 13px;
    height: 13px;
  }

  .page-projects .vca-dot--green {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 425px) {
  .page-projects .vca-heading {
    font-size: 26px;
    line-height: 1.2;
    text-align: center;
  }

  .page-projects .vca-description {
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
  }

  .page-projects .vca-stat-number {
    font-size: 30px;
  }

  .page-projects .vca-stat-label {
    font-size: 13px;
  }

  .page-projects .vca-image-wrapper {
    padding: 0 20px;
  }
}

@media (max-width: 375px) {
  .page-projects .vca-heading {
    font-size: 24px;
    text-align: center;
  }

  .page-projects .vca-description {
    font-size: 12px;
    text-align: center;
  }

  .page-projects .vca-stat-number {
    font-size: 28px;
  }

  .page-projects .vca-stat-label {
    font-size: 12px;
  }

  .page-projects .vca-container {
    gap: 32px;
  }

  .page-projects .vca-image-wrapper {
    padding: 0 16px;
  }
}

@media (max-width: 320px) {
  .page-projects .vca-heading {
    font-size: 22px;
    text-align: center;
  }

  .page-projects .vca-description {
    font-size: 11px;
    text-align: center;
  }

  .page-projects .vca-stat-number {
    font-size: 26px;
  }

  .page-projects .vca-stat-label {
    font-size: 11px;
  }

  .page-projects .vca-container {
    gap: 28px;
  }

  .page-projects .vca-image-wrapper {
    padding: 0 12px;
  }
}

/* ============================================
   AI-Powered Finance Solution Section
   ============================================ */

.page-projects .finance-section {
  position: relative;
  width: 100%;
  padding: var(--section-padding-y) var(--section-padding-x);
  padding-bottom: calc(var(--section-padding-y) + 100px);  /* Extra bottom padding to account for pattern overflow */
  background-color: #FFFFFF;
  overflow: visible;  /* Changed from hidden to allow pattern to show */
}

.page-projects .finance-container {
  max-width: var(--section-inner-max, 1400px);
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 100px;
  position: relative;
}

/* Left Side - Text Content with Background */
.page-projects .finance-content {
  position: relative;
  width: 45%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-projects .finance-bg-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
}

.page-projects .finance-bg-image {
  width: 110%;  /* Increased from 100% to compensate for border radius */
  height: 150%; /* Increased to fill the rounded container */
  max-width: none; /* Remove max-width constraint */
  object-fit: cover; /* Changed from contain to cover to fill space */
  opacity: 1;
  border-radius: 40px;
}

/* Decorative Pattern */
.page-projects .finance-pattern-wrapper {
  position: absolute;
  width: 540px;
  left: 1px;
  top: 100px;
  z-index: 1;
  pointer-events: none;
}

.page-projects .finance-pattern {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.3;
  border-radius: 40px;
}

.page-projects .finance-text-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  padding: 20px 40px 60px 40px;
  width: 100%;
  top: 0;  /* Changed from -100px to align properly */
}

.page-projects .finance-heading {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 800;
  font-size: 56px;
  line-height: 1.3;
  color: #1F2937;
  margin: 0;
  width: 100%;
}

.page-projects .finance-description {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.6;
  color: #6B7280;
  margin: 0;
  width: 100%;
}

/* Right Side - Finance Images */
.page-projects .finance-images {
  width: 55%;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-projects .finance-grid-image {
  width: 100%;
  height: auto;
  max-width: 650px;
  object-fit: contain;
}

/* Responsive Adjustments - Finance Section */
@media (max-width: 1440px) {
  .page-projects .finance-container {
    gap: 80px;
  }

  .page-projects .finance-heading {
    font-size: 48px;
  }

  .page-projects .finance-description {
    font-size: 18px;
  }

  .page-projects .finance-text-content {
    padding: 20px 32px 50px 32px;
  }

  .page-projects .finance-pattern-wrapper {
    width: 420px;
    left: 0;
  }
}

@media (max-width: 1024px) {
  .page-projects .finance-section {
    padding-bottom: calc(var(--section-padding-y) + 60px);
  }

  .page-projects .finance-container {
    flex-direction: column;
    gap: 60px;
    align-items: center;
  }

  .page-projects .finance-content {
    width: 100%;
    max-width: 600px;
  }

  .page-projects .finance-images {
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
  }

  .page-projects .finance-heading {
    font-size: 42px;
  }

  .page-projects .finance-pattern-wrapper {
    width: 380px;
  }
}

@media (max-width: 768px) {
  .page-projects .finance-section {
    padding-bottom: calc(var(--section-padding-y) + 40px);
  }

  .page-projects .finance-heading {
    font-size: 32px;
    line-height: 1.2;
  }

  .page-projects .finance-description {
    font-size: 16px;
    line-height: 1.5;
  }

  .page-projects .finance-text-content {
    padding: 16px 24px 40px 24px;
    gap: 24px;
  }

  .page-projects .finance-content {
    max-width: 100%;
  }

  .page-projects .finance-images {
    max-width: 100%;
  }

  .page-projects .finance-grid-image {
    max-width: 100%;
  }

  .page-projects .finance-pattern-wrapper {
    width: 280px;
    top: 60px;
  }
}

@media (max-width: 425px) {
  .page-projects .finance-heading {
    font-size: 26px;
    line-height: 1.2;
  }

  .page-projects .finance-description {
    font-size: 14px;
    line-height: 1.5;
  }

  .page-projects .finance-text-content {
    padding: 12px 18px 30px 18px;
    gap: 18px;
  }

  .page-projects .finance-pattern-wrapper {
    width: 200px;
    top: 40px;
  }
}

@media (max-width: 375px) {
  .page-projects .finance-heading {
    font-size: 24px;
  }

  .page-projects .finance-description {
    font-size: 13px;
  }

  .page-projects .finance-text-content {
    padding: 10px 16px 28px 16px;
    gap: 16px;
  }

  .page-projects .finance-pattern-wrapper {
    width: 180px;
    top: 35px;
  }
}

@media (max-width: 320px) {
  .page-projects .finance-heading {
    font-size: 22px;
  }

  .page-projects .finance-description {
    font-size: 12px;
  }

  .page-projects .finance-text-content {
    padding: 10px 12px 24px 12px;
    gap: 14px;
  }

  .page-projects .finance-pattern-wrapper {
    width: 160px;
    top: 30px;
  }
}

/* ============================================
   1441-1535px Breakpoint – Smooth transition from 1440px up
   Base point: 1440px values, scaled slightly up
   ============================================ */

@media (min-width: 1441px) and (max-width: 1535px) {

  /* --- Hero Text --- */
  .projects-hero-group {
    transform: scale(0.92);
    transform-origin: top left;
    width: 760px;
    left: 90px;
    top: 240px;
    gap: 40px;
  }

  .projects-hero-title {
    font-size: 72px;
    line-height: 86px;
  }

  .projects-hero-subtitle {
    font-size: 25px;
    line-height: 35px;
  }

  .hero-pill-text {
    font-size: 19px;
  }

  /* --- Stats Section --- */
  .page-projects .stat-number {
    font-size: 38px;
  }

  .page-projects .stat-title {
    font-size: 19px;
  }

  .page-projects .stat-description {
    font-size: 14px;
  }

  .page-projects .stat-card {
    height: auto;
    max-height: none;
    min-height: 340px;
  }

  /* --- Virtual Call Agent Section --- */
  .page-projects .virtual-agent-heading {
    font-size: 56px;
    line-height: 1.2;
  }

  .page-projects .virtual-agent-description {
    font-size: 21px;
    line-height: 1.5;
  }

  /* --- AI Productivity Coach Section --- */
  .page-projects .productivity-heading {
    font-size: 43px;
    line-height: 53px;
  }

  .page-projects .productivity-subtitle {
    font-size: 16px;
  }

  .page-projects .feature-title {
    font-size: 20px;
  }

  .page-projects .feature-description {
    font-size: 14px;
  }

  /* --- VCA Section with Stats --- */
  .page-projects .vca-heading {
    font-size: 52px;
  }

  .page-projects .vca-description {
    font-size: 19px;
  }

  .page-projects .vca-stat-number {
    font-size: 45px;
  }

  .page-projects .vca-stat-label {
    font-size: 19px;
  }

  /* --- Finance Section --- */
  .page-projects .finance-heading {
    font-size: 52px;
  }

  .page-projects .finance-description {
    font-size: 19px;
  }
}

/* ============================================
   1536px Breakpoint – Full page optimization for large desktop
   ============================================ */

@media (min-width: 1536px) {

  /* --- Hero Text --- */
  .projects-hero-group {
    width: 800px;
    left: 110px;
    top: 280px;
    gap: 42px;
  }

  .projects-hero-title {
    font-size: 82px;
    line-height: 98px;
  }

  .projects-hero-subtitle {
    font-size: 27px;
    line-height: 38px;
  }

  /* --- Hero Pills --- */
  .hero-pill--blue {
    left: 291px !important;
    top: 266px !important;
  }

  .hero-pill--purple {
    left: 593px !important;
    top: 435px !important;
  }

  .hero-pill--orange {
    left: 97px !important;
    top: 447px !important;
  }

  .hero-pill-text {
    font-size: 21px;
  }

  /* --- Stats Section --- */
  .page-projects .stats-container {
    max-width: 1400px;
    gap: 28px;
  }

  .page-projects .stat-card {
    padding: 32px 24px;
    gap: 26px;
    border-radius: 22px;
    height: auto;
    max-height: none;
    min-height: 320px;
  }

  .page-projects .stat-icon {
    width: 52px;
    height: 52px;
    min-height: 52px;
    border-radius: 13px;
  }

  .page-projects .stat-icon-img {
    width: 30px;
    height: 30px;
  }

  .page-projects .stat-number {
    font-size: 44px;
    height: 54px;
  }

  .page-projects .stat-title {
    font-size: 20px;
    height: 28px;
  }

  .page-projects .stat-description {
    font-size: 15px;
    line-height: 1.5;
  }

  /* --- Virtual Call Agent Section --- */
  .page-projects .virtual-agent-container {
    max-width: 1400px;
    gap: 90px;
  }

  .page-projects .virtual-agent-heading {
    font-size: 60px;
    line-height: 1.18;
  }

  .page-projects .virtual-agent-description {
    font-size: 22px;
    line-height: 1.5;
  }

  .page-projects .virtual-agent-bg-decoration {
    width: 520px;
    height: 470px;
    background-size: 580px 470px;
  }

  .page-projects .agent-card {
    border-radius: 22px;
  }

  .page-projects .cards-row {
    gap: 34px;
  }

  .page-projects .virtual-agent-cards {
    gap: 34px;
  }

  /* --- AI Productivity Coach Section --- */
  .page-projects .productivity-coach-section {
    max-height: 950px;
  }

  .page-projects .productivity-bg-decoration {
    width: 480px;
    height: 640px;
    left: 210px;
    border-radius: 30px;
  }

  .page-projects .productivity-mockup {
    width: 680px;
    height: 530px;
  }

  .page-projects .productivity-details {
    width: 630px;
    max-width: 44%;
    margin-left: 730px;
    margin-right: calc((100% - 1500px) / 2 + 80px);
    gap: 44px;
  }

  .page-projects .productivity-heading {
    font-size: 45px;
    line-height: 55px;
  }

  .page-projects .productivity-subtitle {
    font-size: 17px;
    line-height: 27px;
  }

  .page-projects .feature-title {
    font-size: 21px;
    line-height: 29px;
  }

  .page-projects .feature-description {
    font-size: 15px;
    line-height: 23px;
  }

  .page-projects .feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    padding: 11px;
    border-radius: 24px;
  }

  .page-projects .feature-icon svg {
    width: 25px;
    height: 25px;
  }

  .page-projects .productivity-features {
    gap: 18px;
  }

  .page-projects .productivity-feature {
    gap: 22px;
  }

  /* --- VCA Section with Stats --- */
  .page-projects .vca-container {
    max-width: 1400px;
    gap: 100px;
  }

  .page-projects .vca-image {
    max-width: 640px;
    border-radius: 26px;
  }

  .page-projects .vca-heading {
    font-size: 56px;
    line-height: 1.25;
  }

  .page-projects .vca-description {
    font-size: 20px;
    line-height: 1.6;
  }

  .page-projects .vca-stat-number {
    font-size: 50px;
  }

  .page-projects .vca-stat-label {
    font-size: 20px;
  }

  .page-projects .vca-stat-divider {
    height: 65px;
  }

  .page-projects .vca-stats {
    gap: 36px;
  }

  /* --- Finance Section --- */
  .page-projects .finance-container {
    max-width: 1400px;
    gap: 100px;
  }

  .page-projects .finance-heading {
    font-size: 56px;
    line-height: 1.25;
  }

  .page-projects .finance-description {
    font-size: 20px;
    line-height: 1.6;
  }

  .page-projects .finance-text-content {
    padding: 24px 40px 64px 40px;
    gap: 42px;
  }

  .page-projects .finance-grid-image {
    max-width: 700px;
  }

  .page-projects .finance-pattern-wrapper {
    width: 560px;
    top: 105px;
  }

  .page-projects .finance-bg-wrapper {
    border-radius: 42px;
  }

  .page-projects .finance-bg-image {
    border-radius: 42px;
  }
}

/* ============================================
   1920px Breakpoint – Full optimization for ultra-wide
   ============================================ */
@media (min-width: 1920px) {

  /* --- Hero Text --- */
  .projects-hero-group {
    width: 860px;
    left: 130px;
    top: 300px;
    gap: 44px;
  }

  .projects-hero-title {
    font-size: 88px;
    line-height: 106px;
  }

  .projects-hero-subtitle {
    font-size: 28px;
    line-height: 40px;
  }

  /* --- Hero Pills --- */
  .hero-pill--blue {
    left: 338px !important;
    top: 295px !important;
  }

  .hero-pill--purple {
    left: 653px !important;
    top: 463px !important;
  }

  .hero-pill--orange {
    left: 115px !important;
    top: 493px !important;
  }

  .hero-pill-text {
    font-size: 22px;
  }

  /* --- Stats Section --- */
  .page-projects .stats-container {
    max-width: 1800px;
    gap: 32px;
  }

  .page-projects .stat-card {
    padding: 36px 28px;
    gap: 28px;
    border-radius: 24px;
    height: auto;
    max-height: none;
    min-height: 340px;
  }

  .page-projects .stat-icon {
    width: 56px;
    height: 56px;
    min-height: 56px;
    border-radius: 14px;
  }

  .page-projects .stat-icon-img {
    width: 32px;
    height: 32px;
  }

  .page-projects .stat-number {
    font-size: 48px;
    height: 58px;
  }

  .page-projects .stat-title {
    font-size: 22px;
    height: 30px;
  }

  .page-projects .stat-description {
    font-size: 16px;
    line-height: 1.55;
  }

  /* --- Virtual Call Agent Section --- */
  .page-projects .virtual-agent-container {
    max-width: 1800px;
    gap: 100px;
  }

  .page-projects .virtual-agent-heading {
    font-size: 72px;
    line-height: 1.15;
  }

  .page-projects .virtual-agent-description {
    font-size: 26px;
    line-height: 1.55;
  }

  .page-projects .virtual-agent-bg-decoration {
    width: 620px;
    height: 560px;
    background-size: 680px 560px;
  }

  .page-projects .agent-card {
    border-radius: 24px;
  }

  .page-projects .cards-row {
    gap: 36px;
  }

  .page-projects .virtual-agent-cards {
    gap: 36px;
  }

  /* --- AI Productivity Coach Section --- */
  .page-projects .productivity-coach-section {
    max-height: 1000px;
  }

  .page-projects .productivity-bg-decoration {
    width: 520px;
    height: 680px;
    left: 240px;
    border-radius: 32px;
  }

  .page-projects .productivity-mockup {
    width: 720px;
    height: 560px;
  }

  .page-projects .productivity-details {
    width: 660px;
    max-width: 42%;
    margin-left: 780px;
    margin-right: calc((100% - 1800px) / 2 + 100px);
    gap: 48px;
  }

  .page-projects .productivity-heading {
    font-size: 48px;
    line-height: 58px;
  }

  .page-projects .productivity-subtitle {
    font-size: 18px;
    line-height: 28px;
  }

  .page-projects .feature-title {
    font-size: 22px;
    line-height: 30px;
  }

  .page-projects .feature-description {
    font-size: 16px;
    line-height: 24px;
  }

  .page-projects .feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    padding: 12px;
    border-radius: 25px;
  }

  .page-projects .feature-icon svg {
    width: 26px;
    height: 26px;
  }

  .page-projects .productivity-features {
    gap: 20px;
  }

  .page-projects .productivity-feature {
    gap: 24px;
  }

  /* --- VCA Section with Stats --- */
  .page-projects .vca-container {
    max-width: 1800px;
    gap: 120px;
  }

  .page-projects .vca-image {
    max-width: 680px;
    border-radius: 28px;
  }

  .page-projects .vca-heading {
    font-size: 64px;
    line-height: 1.2;
  }

  .page-projects .vca-description {
    font-size: 22px;
    line-height: 1.6;
  }

  .page-projects .vca-stat-number {
    font-size: 54px;
  }

  .page-projects .vca-stat-label {
    font-size: 22px;
  }

  .page-projects .vca-stat-divider {
    height: 70px;
  }

  .page-projects .vca-stats {
    gap: 40px;
  }

  /* --- Finance Section --- */
  .page-projects .finance-container {
    max-width: 1800px;
    gap: 120px;
  }

  .page-projects .finance-heading {
    font-size: 64px;
    line-height: 1.2;
  }

  .page-projects .finance-description {
    font-size: 22px;
    line-height: 1.6;
  }

  .page-projects .finance-text-content {
    padding: 28px 48px 72px 48px;
    gap: 44px;
  }

  .page-projects .finance-grid-image {
    max-width: 740px;
  }

  .page-projects .finance-pattern-wrapper {
    width: 600px;
    top: 110px;
  }

  .page-projects .finance-bg-wrapper {
    border-radius: 44px;
  }

  .page-projects .finance-bg-image {
    border-radius: 44px;
  }
}