/* ============================================
   About Us Page Styles
   Hero Section Content + Additional Sections
   Uses global CSS variables from main.css for uniform styling
   ============================================ */

/* Navigation styles now centralized in components/navigation.css */
/* Page-specific navigation overrides (if needed) can go here */

/* About Hero Content Container - Positioned within hero-content */
.about-hero-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 60px;
  width: 954.67px;
  max-width: calc(100% - 210px);
  left: 105.33px;
  top: 270.67px;
  z-index: 20;
}

/* About Hero Heading - Uses global hero font size variables */
.about-hero-heading {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 800;
  font-size: var(--font-size-hero-lg);
  line-height: var(--line-height-hero);
  color: var(--color-text-light);
  margin: 0;
  width: 100%;
  max-width: 954.67px;
}

/* About Hero Paragraph - Matches services/projects hero paragraph sizing */
.about-hero-paragraph {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 26px;
  line-height: 140%;
  color: var(--color-text-light);
  margin: 0;
  width: 100%;
  max-width: 910.67px;
}

/* Responsive Design for About Hero Content */

/* 1440px breakpoint */
@media (max-width: 1440px) {
  .about-hero-text {
    width: 716px;
    max-width: calc(100% - 160px);
    left: 79px;
    top: 206px;
    gap: 45px;
  }

  .about-hero-heading {
    font-size: var(--font-size-hero-md);
    line-height: var(--line-height-hero);
    max-width: 716px;
  }

  .about-hero-paragraph {
    font-size: 20px;
    line-height: 140%;
    max-width: 683px;
  }
}

/* 768px breakpoint - Mobile Optimization */
@media (max-width: 768px) {
  .about-hero-text {
    width: calc(100% - 48px);
    max-width: calc(100% - 48px);
    left: 24px;
    right: 24px;
    top: 120px;
    gap: 20px;
    padding: 0;
  }

  .about-hero-heading {
    font-size: 28px;
    line-height: 1.2;
    max-width: 100%;
    word-wrap: break-word;
    hyphens: auto;
  }

  .about-hero-paragraph {
    font-size: 16px;
    line-height: 150%;
    max-width: 100%;
    word-wrap: break-word;
  }
}

/* 480px breakpoint - Small Mobile */
@media (max-width: 480px) {
  .about-hero-text {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    left: 16px;
    right: 16px;
    top: 100px;
    gap: 16px;
  }

  .about-hero-heading {
    font-size: 26px;
    line-height: 1.25;
  }

  .about-hero-paragraph {
    font-size: 14px;
    line-height: 150%;
  }
}

/* 375px breakpoint - Extra Small Mobile */
@media (max-width: 375px) {
  .about-hero-text {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    left: 16px;
    right: 16px;
    top: 90px;
    gap: 14px;
  }

  .about-hero-heading {
    font-size: 24px;
    line-height: 1.25;
  }

  .about-hero-paragraph {
    font-size: 13px;
    line-height: 150%;
  }
}

/* ============================================
   About Content Sections
   ============================================ */

/* Section Content - Main content area below hero */
.section-content {
  position: relative;
  width: 100%;
  background-color: #FFFFFF;
  padding: var(--section-padding-y) var(--section-padding-x);
  margin-top: 0;  /* No overlap with hero */
  z-index: 5;
}

/* Section Content Background */
.section-content-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/backgrounds/content-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.05;
  z-index: 1;  
  pointer-events: none;
}

/* Section Content Inner Container */
.section-content-inner {
  max-width: var(--section-inner-max);
  margin: 0 auto;
  width: 100%;
}

/* About Mission Section */
.about-mission {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-block-gap);
  padding: var(--section-padding-y) 0;
  text-align: center;
}

.about-mission-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(var(--font-size-section-heading), 3.5vw, 56px);
  line-height: var(--line-height-section-heading);
  color: var(--color-heading);
  margin: 0;
}

.about-mission-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--font-size-section-body);
  line-height: var(--line-height-section-body);
  color: var(--color-body);
  max-width: 900px;
  margin: 0;
}

/* About Values Section */
.about-values {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-block-gap);
  padding: var(--section-padding-y) 0;
}

.about-values-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(var(--font-size-section-heading), 3.5vw, 56px);
  line-height: var(--line-height-section-heading);
  color: var(--color-heading);
  text-align: center;
  margin: 0;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--cards-gap);
  width: 100%;
  margin-top: var(--cards-margin-top);
}

/* Value Card */
.value-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.5rem;
  gap: 1.5rem;
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.value-card-icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.value-card-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.value-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--font-size-card-heading);
  line-height: var(--line-height-card-heading);
  color: var(--color-heading);
  margin: 0;
}

.value-card-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--font-size-card-body);
  line-height: var(--line-height-card-body);
  color: var(--color-body);
  margin: 0;
}

/* About Team Section */
.about-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-block-gap);
  padding: var(--section-padding-y) 0;
}

.about-team-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(var(--font-size-section-heading), 3.5vw, 56px);
  line-height: var(--line-height-section-heading);
  color: var(--color-heading);
  text-align: center;
  margin: 0;
}

.about-team-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--font-size-section-body);
  line-height: var(--line-height-section-body);
  color: var(--color-body);
  text-align: center;
  max-width: 800px;
  margin: 0;
}

/* Responsive adjustments for value cards */
@media (max-width: 768px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    padding: 2rem;
  }
}

@media (max-width: 375px) {
  .value-card {
    padding: 1.5rem;
    gap: 1rem;
  }

  .value-card-icon-wrap {
    width: 56px;
    height: 56px;
  }

  .value-card-icon {
    width: 32px;
    height: 32px;
  }
}

/* ============================================
   Who We Are Section - Our Story
   ============================================ */

/* Section Content - Main content area below hero */
.section-content {
  position: relative;
  width: 100%;
  background-color: var(--color-bg-light);
  padding: var(--section-padding-y) var(--section-padding-x);
  z-index: 5;
}

/* Section Content Background - Bermuda image with 50% opacity */
.section-content-bg {
  position: absolute;
  top: -250px;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../images/pages/about/bermuda-triangle-mystery-event 1-optimized.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 1;
  filter: blur(1.5px);
  pointer-events: none;
}

/* Mobile responsive background */
@media (max-width: 768px) {
  .section-content-bg {
    top: -100px;
    height: 150%;
    background-size: cover;
    background-position: center top;
    opacity: 0.35;
  }
}

@media (max-width: 480px) {
  .section-content-bg {
    top: -80px;
    height: 140%;
    background-size: cover;
    background-position: center top;
    opacity: 0.30;
  }
}

@media (max-width: 375px) {
  .section-content-bg {
    top: -60px;
    height: 130%;
    background-size: cover;
    background-position: center top;
    opacity: 0.25;
  }
}

/* Section Content Inner Container */
.section-content-inner {
  max-width: var(--section-inner-max);
  margin: 0 auto;
  width: 100%;
}

/* Who We Are Section */
.who-we-are {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 32px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* Who We Are Header */
.who-we-are-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  gap: 8px;
  width: 100%;
  max-width: 390.67px;
}

/* Our Story Label - Uses global section label styling */
.who-we-are-label {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 800;
  font-size: var(--font-size-section-label);
  line-height: var(--line-height-section-label);
  text-align: center;
  text-transform: uppercase;
  color: var(--color-accent-green);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Who We Are Heading - Uses global section heading styling */
.who-we-are-heading {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 800;
  font-size: clamp(var(--font-size-section-heading), 3.5vw, 56px);
  line-height: var(--line-height-section-heading);
  text-align: center;
  color: var(--color-heading);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  /* Prevent text wrapping */
}

/* Who We Are Description - Uses global section body styling */
.who-we-are-text {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: var(--font-size-section-body);
  line-height: 1.4;
  text-align: center;
  color: var(--color-body);
  margin: 0;
  width: 100%;
  max-width: 600px;
}

/* 1440px – match other page section heading sizes */
@media (max-width: 1440px) {
  .who-we-are-heading {
    font-size: 42px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .who-we-are {
    gap: 32px;
    padding: 0 var(--spacing-md);
  }

  .who-we-are-header {
    gap: 10px;
  }

  .who-we-are-heading {
    font-size: var(--font-size-section-heading);
  }
}

@media (max-width: 480px) {
  .who-we-are-heading {
    font-size: 24px;
  }
}

@media (max-width: 375px) {
  .who-we-are {
    gap: 24px;
    padding: 0 var(--spacing-sm);
  }

  .who-we-are-heading {
    font-size: 24px;
  }
}

/* ============================================
   Image Gallery - Team Photos
   ============================================ */

/* Image Gallery Container */
.who-we-are-gallery {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0;
  gap: 40px;
  width: 100%;
  max-width: 1028px;
  margin: 0 auto;
}

/* Individual Image Card */
.gallery-image {
  width: 300px;
  height: 380px;
  border-radius: 26.6667px;
  object-fit: cover;
  flex: none;
}

/* Responsive adjustments for image gallery */
@media (max-width: 1200px) {
  .who-we-are-gallery {
    gap: 30px;
    max-width: 900px;
  }

  .gallery-image {
    width: 280px;
    height: 450px;
  }
}

@media (max-width: 992px) {
  .who-we-are-gallery {
    gap: 24px;
    max-width: 750px;
  }

  .gallery-image {
    width: 230px;
    height: 370px;
  }
}

/* Mobile Horizontal Slider */
@media (max-width: 768px) {
  .who-we-are-gallery {
    flex-direction: row;
    gap: 20px;
    padding: 0 var(--spacing-md);
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
  }

  /* Hide scrollbar for Chrome, Safari and Opera */
  .who-we-are-gallery::-webkit-scrollbar {
    display: none;
  }

  .gallery-image {
    width: 280px;
    min-width: 280px;
    height: 360px;
    scroll-snap-align: center;
  }
}

@media (max-width: 375px) {
  .who-we-are-gallery {
    gap: 16px;
    padding: 0 var(--spacing-sm);
  }

  .gallery-image {
    width: 250px;
    min-width: 250px;
    height: 320px;
  }
}

/* ============================================
   Team Section - Meet the Team
   ============================================ */

.team-section {
  position: relative;
  width: 100%;
  background-color: var(--color-bg-light);
  padding: var(--section-padding-y) var(--section-padding-x);
  z-index: 5;
  overflow: visible;
}

/* Background decorative images */
.team-section-bg-left,
.team-section-bg-right {
  position: absolute;
  pointer-events: none;
  opacity: 0.3;
  z-index: 0;
}

.team-section-bg-left {
  width: 1100px;
  height: 650px;
  left: -650px;
  top: -220px;
  transform: rotate(-44.82deg);
}

.team-section-bg-right {
  width: 1100px;
  height: 650px;
  right: -650px;
  top: -220px;
  transform: rotate(34.36deg);
}

/* Team content wrapper */
.team-content {
  position: relative;
  z-index: 10;
  max-width: var(--section-inner-max);
  margin: 0 auto;
  width: 100%;
}

/* Team header container */
.team-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.8rem;
  margin-bottom: 3.5rem;
}

/* Team label */
.team-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--font-size-section-label);
  line-height: var(--line-height-section-label);
  text-transform: uppercase;
  color: var(--color-accent-green);
  margin: 0;
  text-align: center;
}

/* Team heading */
.team-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(var(--font-size-section-heading), 3.5vw, 56px);
  line-height: var(--line-height-section-heading);
  color: var(--color-heading);
  margin: 0;
  text-align: center;
}

/* Team description */
.team-description {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--font-size-section-body);
  line-height: var(--line-height-section-body);
  color: var(--color-body);
  text-align: center;
  margin: 0;
  max-width: 700px;
}

/* Grid layout for team member images - Desktop: 8 in single row, Mobile: 4 per row, 2 rows */
.team-members-grid-alt {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: auto;
  gap: 24px;
  padding: 0 24px;
  justify-items: center;
}

.team-member-card {
  position: relative;
  width: 100%;
  max-width: 129px;
  height: 306px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stagger alternating items for visual interest - Desktop only */
.team-member-card:nth-child(2),
.team-member-card:nth-child(4),
.team-member-card:nth-child(6),
.team-member-card:nth-child(8) {
  margin-top: 40px;
}

.team-member-pill {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 538.14px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-pill:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.team-member-role-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  justify-content: center;
  padding: 8px 6px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 100%);
  border-radius: 500px;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.team-member-card:hover .team-member-role-badge {
  opacity: 1;
}

/* Responsive design for team section */
@media (max-width: 1440px) {
  .team-section-bg-left {
    width: 1400px;
    height: 820px;
    left: -1200px;
    top: -520px;
  }

  .team-section-bg-right {
    width: 1400px;
    height: 820px;
    right: -1100px;
    top: -600px;
  }

  .team-header {
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .team-heading {
    font-size: 42px;
    line-height: 50px;
  }

  .team-members-grid-alt {
    max-width: 1200px;
    gap: 20px;
  }

  .team-member-card {
    max-width: 120px;
    height: 285px;
  }

  .team-member-card:nth-child(2),
  .team-member-card:nth-child(4),
  .team-member-card:nth-child(6),
  .team-member-card:nth-child(8) {
    margin-top: 35px;
  }
}

@media (max-width: 992px) {
  .team-members-grid-alt {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    max-width: 750px;
    gap: 40px 16px;
  }

  .team-member-card {
    max-width: 100px;
    height: 238px;
  }

  .team-member-card:nth-child(2),
  .team-member-card:nth-child(4),
  .team-member-card:nth-child(6),
  .team-member-card:nth-child(8) {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .team-section-bg-left,
  .team-section-bg-right {
    display: none;
  }

  .team-header {
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .team-heading {
    font-size: var(--font-size-section-heading);
    line-height: var(--line-height-section-heading);
  }

  .team-description {
    font-size: 16px;
    line-height: 24px;
  }

  /* Mobile Grid - 2 rows × 4 columns */
  .team-members-grid-alt {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 24px 12px;
    padding: 0 var(--spacing-md);
    max-width: 100%;
    justify-items: center;
  }

  .team-member-card {
    width: 71px;
    max-width: 71px;
    height: 169px;
  }

  .team-member-pill {
    border-radius: 296.5px;
  }

  /* Reset all staggers for mobile grid */
  .team-member-card:nth-child(2),
  .team-member-card:nth-child(4),
  .team-member-card:nth-child(6),
  .team-member-card:nth-child(8) {
    margin-top: 0;
  }

  .team-member-role-badge {
    font-size: 10px;
    padding: 6px 4px;
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 480px) {
  .team-heading {
    font-size: 24px;
    line-height: 30px;
  }
}

@media (max-width: 375px) {
  .team-header {
    gap: 1.25rem;
    margin-bottom: 2rem;
  }

  .team-heading {
    font-size: 24px;
    line-height: 30px;
  }

  .team-description {
    font-size: 14px;
    line-height: 20px;
  }

  .team-members-grid-alt {
    gap: 20px 8px;
    padding: 0 12px;
  }

  .team-member-card {
    width: 68px;
    max-width: 68px;
    height: 162px;
  }

  .team-member-role-badge {
    font-size: 9px;
    padding: 5px 3px;
  }
}

@media (max-width: 320px) {
  .team-members-grid-alt {
    gap: 16px 6px;
    padding: 0 8px;
  }

  .team-member-card {
    width: 65px;
    max-width: 65px;
    height: 155px;
  }

  .team-member-role-badge {
    font-size: 8px;
    padding: 4px 2px;
  }
}

/* ============================================
   Our Vision Section
   ============================================ */

/* Vision Section Container with Background Image */
.our-vision-section {
  position: relative;
  width: 100%;
  background-color: var(--color-bg-light);
  padding: var(--section-padding-y) var(--section-padding-x);
  z-index: 5;
  overflow: hidden;
}

/* Background Image - Rectangle 51 with rotation */
.vision-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../images/pages/about/Rectangle 51.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  transform: rotate(180deg);
  border-radius: 66.6667px;
  z-index: -5;
  pointer-events: none;
}

/* Vision Content Wrapper - Two Column Layout */
.vision-content {
  max-width: var(--section-inner-max);
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
  padding: 3rem 3rem;
  border: 2px solid rgba(0, 217, 255, 0.2);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

/* Left Column - Text Content */
.vision-text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Vision Label */
.vision-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--font-size-section-label);
  line-height: var(--line-height-section-label);
  text-transform: uppercase;
  color: var(--color-accent-green);
  margin: 0;
}

/* Vision Heading */
.vision-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 56px);
  line-height: 1.2;
  color: var(--color-heading);
  margin: 0;
}

/* Vision Description */
.vision-description {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 26px);
  line-height: 1.5;
  color: var(--color-body);
  margin: 0;
}

/* Right Column - Image */
.vision-image-wrapper {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-image {
  width: 400px;
  height: 280px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Vision responsive adjustments */
@media (max-width: 992px) {
  .vision-content {
    flex-direction: column;
    gap: 32px;
    padding: 2rem;
  }

  .vision-heading {
    font-size: clamp(24px, 5vw, 36px);
  }

  .vision-image {
    width: 350px;
    height: 245px;
  }
}

@media (max-width: 768px) {
  .our-vision-section {
    padding: 2.5rem var(--section-padding-x);
  }

  .vision-content {
    padding: 1.5rem;
    gap: 24px;
  }

  .vision-heading {
    font-size: clamp(22px, 6vw, 28px);
  }

  .vision-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    aspect-ratio: 10 / 7;
  }
}

@media (max-width: 375px) {
  .vision-content {
    padding: 1.25rem;
    gap: 20px;
  }

  .vision-text-content {
    gap: 12px;
  }
}

/* ============================================
   Core Values Section
   ============================================ */

/* Core Values Section */
.core-values-section {
  position: relative;
  width: 100%;
  background-color: var(--color-bg-light);
  padding: var(--section-padding-y) var(--section-padding-x);
  z-index: 5;
}

/* Core Values Header Container */
.core-values-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 22.67px;
  max-width: 728px;
  margin: 0 auto;
}

/* Core Values Label */
.core-values-label {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 800;
  font-size: var(--font-size-section-label);
  line-height: var(--line-height-section-label);
  text-align: center;
  text-transform: uppercase;
  color: var(--color-accent-green);
  margin: 0;
  width: 100%;
}

/* Core Values Heading */
.core-values-heading {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 800;
  font-size: clamp(var(--font-size-section-heading), 3.5vw, 56px);
  line-height: var(--line-height-section-heading);
  text-align: center;
  color: var(--color-heading);
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Core Values Cards Container */

/* Cards wrapper */
.core-values-cards-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 3.5rem auto 0;
  padding: 0 var(--section-padding-x);
}

/* Cards container - flex layout */
.core-values-cards {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Core Values Card - Using SVG backgrounds like section cards */
.core-value-card {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 320px;
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  border-radius: 24px;
  text-align: left;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  aspect-ratio: 4/4;
}

/* Card color variants */
.core-value-card--blue {
  background-image: url('../../images/sections/card-shape-primary-blue.svg');
}

.core-value-card--green {
  background-image: url('../../images/sections/card-shape-primary-green.svg');
}

.core-value-card--purple {
  background-image: url('../../images/sections/card-shape-primary-purple.svg');
}

.core-value-card--red {
  background-image: url('../../images/sections/card-shape-primary-red.svg');
}

/* Card icon wrapper */
.core-value-card-icon-wrap {
  position: absolute;
  top: -1.25rem;
  left: 1rem;
  width: 64px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  z-index: 10;
}

.core-value-card--blue .core-value-card-icon-wrap {
  background-image: url('../../images/sections/pill-blue.svg');
}

.core-value-card--green .core-value-card-icon-wrap {
  background-image: url('../../images/sections/pill-green.svg');
}

.core-value-card--purple .core-value-card-icon-wrap {
  background-image: url('../../images/sections/pill-purple.svg');
}

.core-value-card--red .core-value-card-icon-wrap {
  background-image: url('../../images/sections/pill-red.svg');
}

/* Card icon image */
.core-value-card-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Content container */
.core-value-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0;
}

/* Card heading */
.core-value-card-heading {
  font-family: 'AirbnbCereal_W_Bd';
  font-style: normal;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.3;
  color: #1F2937;
  margin: 0;
}

/* Card description */
.core-value-card-description {
  font-family: 'AirbnbCereal_W_Bk';
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #6B7280;
  margin: 0;
}

/* Core Values responsive design */
@media (max-width: 1440px) {
  .core-values-heading {
    font-size: 42px;
  }

  .core-values-header {
    max-width: 90%;
  }

  .core-values-cards {
    gap: 20px;
    justify-content: center;
  }

  .core-value-card {
    min-width: 200px;
    max-width: 280px;
    padding-top: 4rem;
  }

  .core-value-card-heading {
    font-size: 30px;
    line-height: 1.3;
  }

  .core-value-card-description {
    font-size: 18px;
    line-height: 1.5;
  }
}

/* Mobile Horizontal Slider for Core Values */
@media (max-width: 768px) {
  .core-values-section {
    padding-left: 0;
    padding-right: 0;
  }

  .core-values-header {
    gap: 16px;
    max-width: 90%;
    padding: 0 var(--section-padding-x);
  }

  .core-values-heading {
    font-size: var(--font-size-section-heading);
  }

  .core-values-cards-wrapper {
    margin: 2.5rem 0 0 0;
    padding: 0;
    overflow: visible;
    width: 100%;
  }

  .core-values-cards {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 0 24px;
  }

  /* Hide scrollbar for Chrome, Safari and Opera */
  .core-values-cards::-webkit-scrollbar {
    display: none;
  }

  .core-value-card {
    min-width: 240px;
    max-width: 240px;
    width: 240px;
    flex-shrink: 0;
    scroll-snap-align: center;
    padding-top: 3.5rem;
  }

  .core-value-card:first-child {
    margin-left: 0;
  }

  .core-value-card:last-child {
    margin-right: 24px;
  }

  .core-value-card-icon-wrap {
    top: -0.75rem;
    width: 52px;
    height: 68px;
  }

  .core-value-card-icon {
    width: 30px;
    height: 30px;
  }

  .core-value-card-heading {
    font-size: 24px;
    line-height: 1.3;
  }

  .core-value-card-description {
    font-size: 13px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .core-values-heading {
    font-size: 24px;
  }

  .core-value-card-icon-wrap {
    top: -0.5rem;
    width: 56px;
    height: 62px;
  }

  .core-value-card-icon {
    width: 28px;
    height: 28px;
  }

  .core-value-card {
    min-width: 220px;
    max-width: 220px;
    width: 220px;
    padding-top: 3rem;
  }

  .core-value-card-heading {
    font-size: 20px;
  }

  .core-value-card-description {
    font-size: 12px;
  }
}

@media (max-width: 375px) {
  .core-values-header {
    gap: 12px;
    padding: 0 16px;
  }

  .core-values-cards {
    gap: 16px;
    padding: 0 16px;
  }

  .core-value-card {
    min-width: 200px;
    max-width: 200px;
    width: 200px;
    padding: 1.25rem 1rem 1rem;
    padding-top: 2.75rem;
  }

  .core-value-card:last-child {
    margin-right: 16px;
  }

  .core-value-card-icon-wrap {
    top: -0.5rem;
    left: 0.75rem;
    width: 44px;
    height: 58px;
  }

  .core-value-card-icon {
    width: 26px;
    height: 26px;
  }

  .core-value-card-heading {
    font-size: 17px;
    line-height: 1.3;
  }

  .core-value-card-description {
    font-size: 11px;
    line-height: 1.5;
  }
}

@media (max-width: 320px) {
  .core-value-card {
    min-width: 185px;
    max-width: 185px;
    width: 185px;
    padding: 1rem 0.75rem 0.75rem;
    padding-top: 2.5rem;
  }

  .core-value-card-icon-wrap {
    top: -0.5rem;
    left: 0.75rem;
    width: 40px;
    height: 52px;
  }

  .core-value-card-icon {
    width: 24px;
    height: 24px;
  }

  .core-value-card-heading {
    font-size: 15px;
    line-height: 1.3;
  }

  .core-value-card-description {
    font-size: 10px;
    line-height: 1.45;
  }
}

/* ============================================
   Why Automaxion Section
   ============================================ */

.why-automaxion-section {
  position: relative;
  width: 100%;
  padding: 6rem var(--section-padding-x);
  z-index: 5;
}

.why-automaxion-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../../images/backgrounds/bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: -2;
}

.why-automaxion-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../../images/pages/about/why-automaxion.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: -1;
}

.why-automaxion-content {
  max-width: var(--section-inner-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.why-automaxion-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13.33px;
  max-width: 800px;
  text-align: center;
}

.why-automaxion-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--font-size-section-label);
  line-height: var(--line-height-section-label);
  text-transform: uppercase;
  color: var(--color-accent-green);
  margin: 0;
}

.why-automaxion-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(var(--font-size-section-heading), 3.5vw, 56px);
  line-height: 1.3;
  color: var(--color-heading);
  margin: 0;
}

.why-automaxion-description {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--font-size-section-body);
  line-height: var(--line-height-section-body);
  color: var(--color-body);
  margin: 0;
}

.why-automaxion-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 0;
  background-color: var(--color-heading);
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18.67px;
  line-height: 21px;
  text-decoration: none;
  border: 1.33px solid var(--color-heading);
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-text {
  padding: 16px 24px 16px 32px;
}

.cta-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-heading);
  padding: 16px 20px;
  border-radius: 0 20px 20px 0;
  transition: all 0.3s ease;
  position: relative;
}

.cta-icon-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background-color: rgba(255, 255, 255, 0.2);
}

.cta-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.why-automaxion-cta::before {
  content: '';
  position: absolute;
  inset: -2px;
  border: 1.33px solid var(--color-heading);
  border-radius: 20px;
  pointer-events: none;
}

.why-automaxion-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  background-color: transparent;
}

.why-automaxion-cta:hover .cta-text {
  color: var(--color-heading);
}

.why-automaxion-cta:hover .cta-icon-wrapper {
  background-color: var(--color-accent-green);
}

.why-automaxion-cta:hover .cta-icon-wrapper::before {
  opacity: 0;
}

.why-automaxion-cta:hover .cta-icon {
  transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 1440px) {
  .why-automaxion-section {
    padding: 5rem var(--section-padding-x);
  }

  .why-automaxion-heading {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .why-automaxion-section {
    padding: 4rem var(--section-padding-x);
  }

  .why-automaxion-header {
    gap: 16px;
  }

  .why-automaxion-heading {
    font-size: var(--font-size-section-heading);
  }

  .why-automaxion-description {
    font-size: 18px;
    line-height: 28px;
  }

  .cta-text {
    padding: 14px 20px 14px 28px;
    font-size: 16px;
  }

  .cta-icon-wrapper {
    padding: 14px 16px;
  }

  .cta-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .why-automaxion-heading {
    font-size: 24px;
  }
}

@media (max-width: 375px) {
  .why-automaxion-section {
    padding: 3rem var(--section-padding-x);
  }

  .why-automaxion-heading {
    font-size: 24px;
  }

  .why-automaxion-description {
    font-size: 16px;
    line-height: 24px;
  }

  .cta-text {
    padding: 12px 16px 12px 24px;
    font-size: 14px;
  }

  .cta-icon-wrapper {
    padding: 12px 14px;
  }

  .cta-icon {
    width: 18px;
    height: 18px;
  }
}

/* ============================================
   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 --- */
  .about-hero-text {
    width: 800px;
    max-width: calc(100% - 180px);
    left: 90px;
    top: 220px;
    gap: 50px;
  }

  .about-hero-heading {
    font-size: 72px;
    line-height: 86px;
    max-width: 800px;
  }

  .about-hero-paragraph {
    font-size: 22px;
    line-height: 140%;
    max-width: 760px;
  }

  /* --- Who We Are Section --- */
  .who-we-are-heading {
    font-size: 46px;
  }

  /* --- Core Values Section --- */
  .core-values-heading {
    font-size: 46px;
  }

  .core-value-card-heading {
    font-size: 32px;
  }

  .core-value-card-description {
    font-size: 19px;
  }

  /* --- Team Section --- */
  .team-heading {
    font-size: 46px;
    line-height: 54px;
  }

  .team-member-role-badge {
    font-size: 13px;
  }

  /* --- Why Automaxion Section --- */
  .why-automaxion-heading {
    font-size: 46px;
  }
}

/* ============================================
   1536px Breakpoint – Full optimization for large desktop
   ============================================ */

@media (min-width: 1536px) {

  /* --- Hero Text --- */
  .about-hero-text {
    width: 920px;
    max-width: calc(100% - 220px);
    left: 110px;
    top: 230px;
    gap: 52px;
  }

  .about-hero-heading {
    font-size: 80px;
    line-height: 96px;
    max-width: 920px;
  }

  .about-hero-paragraph {
    font-size: 25px;
    line-height: 140%;
    max-width: 860px;
  }

  /* --- Who We Are Section --- */
  .who-we-are-heading {
    font-size: 54px;
  }

  /* --- Core Values Section --- */
  .core-values-header {
    max-width: 780px;
    gap: 24px;
  }

  .core-values-label {
    font-size: 22px;
  }

  .core-values-heading {
    font-size: 58px;
    line-height: 1.15;
  }

  .core-values-cards-wrapper {
    max-width: 1500px;
    margin-top: 3.5rem;
    padding: 0;
  }

  .core-values-cards {
    gap: 32px;
    flex-wrap: nowrap;
  }

  .core-value-card {
    min-width: 0;
    max-width: none;
    flex: 1;
    padding: 2rem 1.75rem 1.75rem;
    padding-top: 5rem;
  }

  .core-value-card-icon-wrap {
    width: 72px;
    height: 94px;
    top: -1.25rem;
  }

  .core-value-card-icon {
    width: 40px;
    height: 40px;
  }

  .core-value-card-heading {
    font-size: 34px;
    line-height: 1.3;
  }

  .core-value-card-description {
    font-size: 20px;
    line-height: 1.5;
  }

  .core-value-card-content {
    gap: 0.75rem;
  }

  /* --- Team Section --- */
  .team-heading {
    font-size: 54px;
    line-height: 62px;
  }

  .team-member-role-badge {
    font-size: 14px;
  }

  /* --- Why Automaxion Section --- */
  .why-automaxion-heading {
    font-size: 54px;
  }
}

/* ============================================
   1920px Breakpoint – Full optimization for ultra-wide
   ============================================ */

@media (min-width: 1920px) {

  /* --- Hero Text --- */
  .about-hero-text {
    width: 1060px;
    max-width: calc(100% - 260px);
    left: 130px;
    top: 220px;
    gap: 48px;
  }

  .about-hero-heading {
    font-size: 90px;
    line-height: 108px;
    max-width: 1060px;
  }

  .about-hero-paragraph {
    font-size: 28px;
    line-height: 40px;
    max-width: 960px;
  }

  /* --- Who We Are Section --- */
  .section-content-inner {
    max-width: 1800px;
  }

  .who-we-are {
    max-width: 1100px;
  }

  .who-we-are-header {
    max-width: 460px;
  }

  .who-we-are-heading {
    font-size: 68px;
    line-height: 1.15;
  }

  .who-we-are-label {
    font-size: 24px;
  }

  .who-we-are-text {
    font-size: 22px;
    line-height: 1.5;
    max-width: 700px;
  }

  /* Image Gallery */
  .who-we-are-gallery {
    max-width: 1200px;
    gap: 48px;
  }

  .gallery-image {
    width: 350px;
    height: 440px;
    border-radius: 30px;
  }

  /* --- Our Vision Section --- */
  .vision-content {
    max-width: 1800px;
    gap: 100px;
    padding: 4rem 5rem;
    border-radius: 36px;
  }

  .vision-text-content {
    gap: 22px;
  }

  .vision-label {
    font-size: 26px;
  }

  .vision-heading {
    font-size: 54px;
    line-height: 1.18;
  }

  .vision-description {
    font-size: 24px;
    line-height: 1.55;
  }

  .vision-image {
    width: 560px;
    height: 392px;
    border-radius: 28px;
  }

  /* --- Core Values Section --- */
  .core-values-header {
    max-width: 850px;
    gap: 26px;
  }

  .core-values-label {
    font-size: 24px;
  }

  .core-values-heading {
    font-size: 68px;
    line-height: 1.15;
  }

  .core-values-cards-wrapper {
    max-width: 1800px;
    margin-top: 4rem;
    padding: 0;
  }

  .core-values-cards {
    gap: 40px;
    flex-wrap: nowrap;
  }

  .core-value-card {
    min-width: 0;
    max-width: none;
    flex: 1;
    padding: 2.5rem 2rem 2rem;
    padding-top: 5.5rem;
  }

  .core-value-card-icon-wrap {
    width: 80px;
    height: 104px;
    top: -1.5rem;
  }

  .core-value-card-icon {
    width: 44px;
    height: 44px;
  }

  .core-value-card-heading {
    font-size: 38px;
    line-height: 1.3;
  }

  .core-value-card-description {
    font-size: 25px;
    line-height: 1.5;
  }

  .core-value-card-content {
    gap: 0.85rem;
  }

  /* Card background SVG overrides for 1920px */
  .core-value-card--blue {
    background-image: url('../../images/sections/card-shape-blue.svg');
  }

  .core-value-card--green {
    background-image: url('../../images/sections/card-shape-green.svg');
  }

  .core-value-card--purple {
    background-image: url('../../images/sections/card-shape-purple.svg');
  }

  /* --- Team Section --- */
  .team-content {
    max-width: 1800px;
  }

  .team-header {
    gap: 3rem;
    margin-bottom: 4rem;
  }

  .team-label {
    font-size: 24px;
  }

  .team-heading {
    font-size: 68px;
    line-height: 1.15;
  }

  .team-description {
    font-size: 22px;
    line-height: 1.5;
    max-width: 700px;
  }

  .team-members-grid-alt {
    max-width: 1600px;
    gap: 32px;
  }

  .team-member-card {
    max-width: 150px;
    height: 356px;
  }

  .team-member-card:nth-child(2),
  .team-member-card:nth-child(4),
  .team-member-card:nth-child(6),
  .team-member-card:nth-child(8) {
    margin-top: 48px;
  }

  .team-member-role-badge {
    font-size: 15px;
    padding: 10px 7px;
  }

  .team-section-bg-left {
    width: 1300px;
    height: 780px;
    left: -700px;
    top: -280px;
  }

  .team-section-bg-right {
    width: 1300px;
    height: 780px;
    right: -700px;
    top: -280px;
  }

  /* --- Why Automaxion Section --- */
  .why-automaxion-content {
    max-width: 1800px;
    gap: 48px;
  }

  .why-automaxion-header {
    max-width: 800px;
    gap: 18px;
  }

  .why-automaxion-label {
    font-size: 24px;
  }

  .why-automaxion-heading {
    font-size: 68px;
    line-height: 1.2;
  }

  .why-automaxion-description {
    font-size: 22px;
    line-height: 1.5;
  }

  .why-automaxion-cta {
    font-size: 21px;
    line-height: 24px;
    border-radius: 22px;
  }

  .cta-text {
    padding: 18px 28px 18px 36px;
  }

  .cta-icon-wrapper {
    padding: 18px 24px;
    border-radius: 0 22px 22px 0;
  }

  .cta-icon {
    width: 26px;
    height: 26px;
  }

  .why-automaxion-cta::before {
    border-radius: 22px;
  }
}