:root {
  --orange: #ff8400;
  --dark-grey: #313131;
  --medium-grey: #595959;
  --light-grey: #eeeeee;
  --pill-grey: #cccccc;
}

body {
  font-family: "Raleway", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
  font-size: 1.2rem;
}

/* Global Styles */
.grey-bg {
  background-color: #f2f2f2;
}

.mt-7{
  margin-top: 5rem;
}


/* Header Styles */
.header {
  background-color: var(--orange);
  position: relative;
  background-image: url("http://www.agencyorange.com/assets/barcode-solutions-header.png"));
  background-repeat: repeat-x;
  background-position: top;
  background-size: auto 60px;
}

.barcode-divider {
  width: 100%;
  height: 70px;
  background-image: url("http://www.agencyorange.com/assets/barcode-solutions-cx-ux.png");
  background-repeat: repeat-x;
  background-size: auto 100%;
  margin: 0rem 0;
 
  margin-top: 30px;;
  
}
.barcode-divider-branding {
  width: 100%;
  height: 70px;
  background-image: url("http://www.agencyorange.com/assets/barcode-solutions-branding.png");
  background-repeat: repeat-x;
  background-size: auto 100%;
  margin: 0rem 0;
  margin-top: 30px;;
  
}
.barcode-divider-1010, .barcode-divider-favor, .barcode-divider-troop703, .barcode-divider-chss {
	margin-top: 0px;
	background-image: url("http://www.agencyorange.com/assets/barcode-solutions-branding.png");
}
.barcode-divider-chss {
	margin-top: 0px;
	background-image: url("http://www.agencyorange.com/assets/barcode-solutions-branding.png");
}
.barcode-divider-troop703 {
	margin-top: 0px;
	background-image: url("http://www.agencyorange.com/assets/barcode-solutions-branding.png");
}
.barcode-divider-favor {
	margin-top: 0px;
	background-image: url("http://www.agencyorange.com/assets/barcode-solutions-branding.png");
}

.middle-barcode-divider {
  width: 100%;
  height: 70px;
  background-image: url("http://www.agencyorange.com/assets/barcode-solutions-branding.png");
  background-repeat: repeat-x;
  background-size: auto 100%;
  margin: 0rem 0;
  opacity: 0.2;
}

.logo-container {
  background-color: var(--dark-grey);
  max-width: 250px;
  max-height: 250px;
  min-width: 150px;
  min-height: 150px;
  width: 20vw; 
  height: 20vw; 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0rem;
}

.logo-container img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.header-title {
  color: white;
    font-weight: 300;
    font-size: 3.3rem;
    padding-left: 320px;
    padding-top: 1.5rem;
    padding-bottom: 5rem;
    margin-top: -6rem;
}

@media (max-width: 768px) {
  .mt-7{
    margin-top: 3.5rem;
  }

  .logo-container {
    width: 150px;
    height: 150px;
  }

  .header-title {
    padding-left: 20px;
    font-size: 2.2rem;
    margin-top: 0rem;
    padding-bottom: 4rem;
  }
}


/* Sticky Header Styles */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: var(--orange);
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-image: url("https://hebbkx1anhila5yf.public.blob.vercel-storage.com/Barcode-hpCpgtHPP18s3QwpZ2Kd1WscK3HwZ3.png");
  background-repeat: repeat-x;
  background-position: top;
  background-size: auto 70px;
}

.sticky-header.visible {
  transform: translateY(0);
}

.sticky-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.text-logo {
  color: white;
  font-family: "DM Serif Display", serif;
  font-size: 2.2rem;
  font-weight: 400;
  text-decoration: none;
  margin-left: 1px;
  background-color: var(--medium-grey);
  padding: 1px 20px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.text-white {
  color: white;
}

.text-greyLight {
  color: #cccccc;
}

.text-orange {
  color: var(--orange);
}

.text-logo:hover {
  color: white;
  text-decoration: none;
}



/* Custom Menu Styles */
.menu-dropdown {
  position: relative;
}

.menu-btn {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0;
}

.menu-content {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  padding: 20px;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.menu-header h2 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: 2rem;
  color: var(--dark-grey);
}

.menu-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--dark-grey);
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.menu-links a {
  color: var(--dark-grey);
  text-decoration: none;
  font-family: "DM Serif Display", serif;
  font-size: 1.25rem;
}

.menu-links a:hover {
  color: var(--orange);
}

/* Hide the default checkbox */
#menu-toggle,
#sticky-menu-toggle {
  display: none;
}

/* Show menu content when checkbox is checked */
#menu-toggle:checked ~ .menu-content,
#sticky-menu-toggle:checked ~ .menu-content {
  display: block;
}

/* Hide hamburger icon when menu is open */
#menu-toggle:checked ~ .menu-btn .menu-icon,
#sticky-menu-toggle:checked ~ .menu-btn .menu-icon {
  display: none;
}

/* Show close icon when menu is open */
#menu-toggle:checked ~ .menu-btn .close-icon,
#sticky-menu-toggle:checked ~ .menu-btn .close-icon {
  display: inline-block;
}

/* Hide close icon by default */
.close-icon {
  display: none;
}



/* Section Styles */
.section-title {
  color: var(--orange);
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: "DM Serif Display", serif;
}

.sidebar-title {
  color: var(--medium-grey);
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: "DM Serif Text", serif;
}

.section-text {
  color: var(--medium-grey);
}

.solution {
  font-family: "DM Serif Text", serif;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 400;
}

.section-border {
  border-top: 1px solid var(--light-grey);
}

/* Checkbox Styles */
.custom-checkbox {
  font-size: 1.3rem;
  display: inline-block;
  margin-right: 7px;
  flex-shrink: 0;
  color: #ff8400;
}

/* Capability */
.capability-pill {
  background-color: var(--orange);
  color: white;
  border-radius: 50px;
  padding: 6px 12px;
  font-size: 1rem;
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  font-family: 'dm serif display';

}

.capability-pill:hover {
  background-color: #14e65a;
  text-decoration: underline;
  font-family: 'dm serif display';

}

/* Client Pills */
.client-pill {
  background-color: var(--pill-grey);
  color: var(--dark-grey);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 1rem;
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  font-family: 'dm serif display';

}

.client-pill:hover {
  background-color: #14e65a;
  text-decoration: underline;
  font-family: 'dm serif display';

}

/* Footer */
.footer-text {
  color: var(--medium-grey);
  font-size: 0.75rem;
}

/* Email Link */
.email-link {
  color: var(--orange);
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
  color: var(--orange);
}



/* Showcase */

.page-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
}

.content-wrapper {
  position: relative;
  z-index: 2;
}

.showcase-wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: 70px; /* Height of sticky header */
  width: 100%;
  z-index: -1;
  background-color: #cccccc;
}

.case-study-link {
  cursor: pointer;
  text-decoration: underline;
  font-size: 1.1rem;
  width: fit-content;
  padding: 0rem 6px;
  border-radius: 5px;
}

.case-study-link:hover {
  background-color: #14e65a;
  text-decoration: none;
  color: white;
}

.case-study-link:hover a {
  color: white;
}

.case-study-link:hover i {
  color: white;
  background-color: #ef4444;
  line-height: 0.7;
}

.showcase-section {
  background-color: #cccccc;
  position: relative;
  overflow: hidden;
  padding: 3rem 0 0 0;
  /* Responsive height based on viewport */
  min-height: min(80vh, 800px);
  max-height: 90vh;
  display: flex;
  align-items: center;
}

.browser-stack {
  position: relative;
  width: 90%;
  max-width: 1200px;
  /* Height is now proportional to viewport */
  height: min(calc(80vh - 2rem), 700px);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
}

.browser-window {
  position: absolute;
  width: 55%;
  background: linear-gradient(to bottom, transparent 60px, white 30px);
  background-size: 100% 100%;
  background-position: top;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateY(100%);
  transition: all 2s cubic-bezier(0.22, 1, 0.36, 1), filter 2s ease;
  overflow: hidden;
  border: 0px solid #e2e8f0;
  border-bottom: none;
  filter: blur(0);
}

.browser-window.active {
  opacity: 1;
  transform: translateY(0);
}

.browser-window.blur {
  filter: blur(2px);
}

.browser-bar {
  height: 28px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 8px 8px 0 0;
  position: relative;
}

.browser-bar::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 18px 0 0 #fbbf24, 36px 0 0 #22c55e;
}

#window-1 {
  left: 0;
  bottom: 0;
  z-index: 1;
  height: 75%;
}

#window-2 {
  left: 15%;
  bottom: 0;
  z-index: 2;
  height: 82%;
}

#window-3 {
  left: 30%;
  bottom: 0;
  z-index: 3;
  height: 90%;
}

#window-4 {
  left: 45%;
  bottom: 0;
  z-index: 4;
  height: 100%;
}

.browser-content {
  width: 100%;
  height: calc(100% - 28px);
  overflow: hidden;
  background: transparent;
}

.browser-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}


/* Details */

.title-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.details-section {
  padding-top: -3rem;
  margin-top: -5rem; /* Create overlap with showcase section */
}

.branding-details-section {
  padding-top: 0rem;
  margin-top: 0rem; /* Create overlap with showcase section */
}

.project-details {
  position: relative;
  z-index: 3;
  background-color: #f2f2f2;
  padding-top: 2rem;
  margin-top: -2vh; /* Create overlap with showcase section */
}

.branding-details{
  position: relative;
  z-index: 3;
  background-color: #f2f2f2;
  padding-top: 0rem;
  margin-top: 0vh; /* Create overlap with showcase section */
}

.project-title-container {
  width: 100%;
  text-align: left;
  align-self: start;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.project-title {
  font-family: "DM Serif Display", serif;
  font-size: 3rem;
  color: var(--dark-grey);
  padding: 1.6rem;
  background-color: white;
  width: fit-content;
  text-align: left;
  align-self: start;
}

.branding-project-title {
  font-family: "DM Serif Display", serif;
  font-size: 3rem;
  color: var(--dark-grey);
  padding: 1.6rem;
  background-color: white;
  width: fit-content;
  text-align: left;
  align-self: start;
  margin-bottom: 1.5rem;
}

.capabilities-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
}

.project-links {
  background-color: #d1d1d1;
  padding: 1.5rem;
  margin-top: -4rem;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.link {
  width: fit-content;
  background-color: white;
  cursor: pointer;
}

.link:hover {
  background-color: #14e65a;
}

.link a {
  font-size: 1rem;
}

.project-links h3 {
  font-family: "DM Serif Display", serif;
  color: var(--dark-grey);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.rss-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark-grey);
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-family: "DM Serif Text", serif;
}

.rss-link:hover {
  color: var(--orange);
}

.rss-icon {
  color: var(--orange);
}


.scroll-to-top {
 
  position: absolute;
  top: 20px;
  right: 100px;
  background-color: #ff8400;
  color: white;
  padding: 10px;
  border: none;
  font-size: 2.3rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  text-align: center;
  z-index: 10000;
}

.scroll-to-top:hover {
  background-color: #14e65a;
}


/* Additional Solutions */
.additional-solutions {
  background-color: #f2f2f2;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.solution-item {
  margin-bottom: 2rem;
}

.solution-title {
  font-family: "Raleway", serif;
  color: var(--dark-grey);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  font-weight: 600;
  min-height: 2.5rem;
}

.solution-item img {
  width: 100%;
  height: auto;
  display: block;
}

.solution-link {
  margin-top: 1rem;
}

.solution-link a {
  color: var(--medium-grey);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.solution-link a:hover {
  color: var(--orange);
}

.solution-link i {
  color: var(--orange);
  font-size: 1rem;
}

@media (max-width: 992px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .solution-title {
    font-size: 1.1rem;
  }

  .scroll-to-top {
    right: 40px;
    top: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .card-container {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
  .solution-item {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .showcase-wrapper {
    top: 60px;
  }

  .project-details {
    margin-top: -1.4vh;
  }

  .project-title {
    font-size: 1.7rem;
    padding: 1.4rem;
  }

  .branding-project-title {
    font-size: 1.7rem;
    padding: 1.4rem;
  }

  .project-links {
    margin-top: 0rem;
  }

  .scroll-to-top {
    right: 10px;
    top: 10px;
    font-size: 1.3rem;
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 480px) {
  .showcase-wrapper {
    top: 40px;
  }

  .details-section {
    padding-top: 2rem;
    margin-top: -4rem; /* Create overlap with showcase section */
  }

  .project-details {
    position: relative;
    z-index: 3;
    background-color: white;
    padding-top: 0.6rem;
    margin-top: -1.2vh; /* Create overlap with showcase section */
  }

  .project-title-container {
    width: 100%;
    text-align: left;
    align-self: start;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .project-title {
    font-size: 1.3rem;
    padding: 1.2rem;
    margin-top: -1rem;
  }

  .branding-project-title {
    font-size: 1.3rem;
    padding: 1.2rem;
  }

}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .browser-window {
    width: 60%;
  }

  #window-2 {
    left: 14%;
  }
  #window-3 {
    left: 28%;
  }
  #window-4 {
    left: 42%;
  }
}

@media (max-width: 992px) {
  .showcase-section {
    min-height: min(70vh, 600px);
    padding-top: 3rem;
  }
  .browser-window {
    width: 65%;
  }

  #window-2 {
    left: 12%;
  }
  #window-3 {
    left: 24%;
  }
  #window-4 {
    left: 36%;
  }

  .browser-stack {
    height: min(calc(75vh - 2rem), 600px);
  }
}

@media (max-width: 768px) {
  .showcase-section {
    min-height: min(70vh, 600px);
    padding-top: 6.5rem;
  }

  .browser-stack {
    height: min(calc(65vh - 1rem), 500px);
  }

  .browser-window {
    width: 70%;
  }

  #window-2 {
    left: 10%;
  }
  #window-3 {
    left: 20%;
  }
  #window-4 {
    left: 30%;
  }

  .sticky-header .text-logo {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .sticky-header {
    height: 60px;
    background-size: auto 60px;
  }

  .sticky-header .text-logo {
    height: 60px;
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .showcase-section {
    min-height: min(60vh, 450px);
    padding-top: 4rem;
  }

  .browser-stack {
    height: min(calc(55vh - 1rem), 400px);
  }

  .browser-window {
    width: 75%;
  }

  #window-2 {
    left: 8%;
  }
  #window-3 {
    left: 16%;
  }
  #window-4 {
    left: 24%;
  }
}

@media (max-width: 480px) {
  .sticky-header {
    height: 50px;
    background-size: auto 50px;
  }

  .sticky-header .text-logo {
    height: 50px;
  }

  .showcase-section {
    min-height: min(50vh, 350px);
  }

  .browser-stack {
    height: min(calc(45vh - 1rem), 300px);
    width: 95%;
  }

  .browser-window {
    width: 80%;
  }

  #window-2 {
    left: 7%;
  }
  #window-3 {
    left: 14%;
  }
  #window-4 {
    left: 21%;
  }

  .browser-bar {
    height: 20px;
  }

  .browser-content {
    height: calc(100% - 20px);
  }
}



/* Branding In-System Word Mark Identity */
/* Logo Grid Styles */

.sub-heading{
  font-size: 11px;
  font-weight: 500;
}

.top-logo img{
  max-width: 500px;
  margin-bottom: 7px;
}

.logo-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-bottom: 30px;
  background-color: white;
  padding: 0rem;
}

.logo-row {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}
.logo-row-secondary {
  display: flex;
  justify-content: all;
  gap: 60px;
}
.logo-row-50 {
	width: 50%;
}

.transitional{
  gap: 40px;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
}

.logo-item img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

.font-container{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.color-container{
  display: flex;
  gap: 30px;

}
.color-container img{
  max-width: 150px;
}

.business-unit-container{
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.business-unit-container img{
  max-height: 250px;
}

.main-logo{
  max-height: 80px;
}

hr{
  width: 100%;
  height: 0;
  border-top: 1px dashed grey;
  margin-bottom: 30px;
  margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 576px) {

  .top-logo img{
    max-width: 250px;
    margin-bottom: 7px;
    max-height: 80px;
  }

  .logo-grid {
    gap: 20px;
  }
  
  .logo-item {
    max-width: 150px;
    height: auto;
  }
  
  .logo-row {
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
  
  .logo-item {
    width: 100%;
  }

  .color-container img{
    max-width: 100px;
  }

  .business-unit-container{
    gap: 20px;
    flex-wrap: wrap;
  }

  .business-unit-container img{
    max-height: 80px;
  }

  .main-logo{
    max-height: 80px;
    max-width: 200px;
  }
  
}


/* Logo Grid Styles */
.branding-logo-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-bottom: 20px;
}

.branding-logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
}

.branding-logo-item {
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(16.666% - 50px);
}


.branding-logo-item img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

/* Medium screens */
@media (max-width: 992px) {
  .branding-logo-item {
    width: calc(33.333% - 40px); /* Approximately 1/3 of the row width, accounting for gap */
  }

  .branding-logo-grid {
    gap: 40px;
  }
  
  .branding-logo-row {
    gap: 40px;
  }

  .branding-logo-item img {
    max-width: 100%;
    max-height: px;
    object-fit: contain;
  }
}

/* Small screens and below */
@media (max-width: 576px) {
  .branding-logo-item {
    width: calc(33.333% - 14px); /* 2 logos per row */
  }

  .branding-logo-grid {
    gap: 20px;
  }
  
  .branding-logo-row {
    gap: 20px;
  }
}