:root {
  --black: #121212;
  --slate: #333333;
  --mist: #777777;
  --cloud: #e5e5e5;
  --white: #ffffff;
  --olive: #556B2F;
  --olive-dark: #3A4A1F;
  --bright-green: #4AD107; 
  --bright-green-dark: #3DB000;
  --bright-green-light: #E9F7E0;
  
  --font-heading: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  line-height: 1.4;
  color: var(--black);
  background: var(--white);
  font-size: 14pt;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--olive-dark);
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 1.8rem;
  color: var(--olive-dark);
}

h2 {
  font-size: 1.4rem;
  color: var(--olive);
  border-bottom: 2px solid var(--bright-green);
  padding-bottom: 0.3rem;
  margin-bottom: 0.7rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.page {
  max-width: 8.5in;
  margin: 0.3rem auto;
  padding: 0.3rem;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  position: relative;
  padding-top: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-image {
  height: 55px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.05);
}

.logo-text {
  font-weight: 700;
  font-size: 1.8rem;
}

.logo-subtext {
  font-size: 1rem;
}

.qr-header {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.qr-header:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.section {
  margin-bottom: 1.2rem;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.card {
  background: var(--bright-green-light);
  padding: 0.8rem;
  border-radius: 4px;
  border-left: 2px solid var(--bright-green);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.hero-content {
  background: var(--bright-green-light);
  padding: 1.2rem;
  border-radius: 8px;
  border-left: 3px solid var(--bright-green);
  margin-bottom: 1.2rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.highlight {
  color: var(--olive-dark);
  font-weight: bold;
}

.btn {
  display: inline-block;
  background-color: var(--bright-green);
  color: white;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1rem;
  margin-top: 0.7rem;
  transition: all 0.2s ease;
}

.btn:hover {
  background-color: var(--bright-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service-icon {
  height: 30px;
  width: 30px;
  margin-bottom: 0.25rem;
  color: var(--bright-green);
}

.expertise-icon {
  height: 24px;
  width: 24px;
  margin-bottom: 0.25rem;
  color: var(--olive);
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
  font-size: 1rem;
  background: var(--bright-green-light);
  padding: 0.4rem;
  border-radius: 4px;
}

.contact-info a {
  color: var(--olive-dark);
  text-decoration: none;
  font-weight: 600;
}

.qr-code-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.5rem;
  background-color: var(--white);
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.qr-code {
  width: 120px;
  height: 120px;
  border: 1px solid var(--cloud);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.qr-code:hover {
  transform: scale(1.05);
}

.qr-text {
  font-size: 0.9rem;
  flex: 1;
}

.qr-text h5 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--cloud);
  font-size: 0.9rem;
}

.footer-qr {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  transition: transform 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.footer-qr:hover {
  transform: scale(1.1);
}

.audience-selector {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.audience-btn {
  flex: 1;
  background-color: var(--bright-green-light);
  color: var(--olive-dark);
  font-weight: 600;
  padding: 0.8rem 0.7rem;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1rem;
  border: 1px solid var(--bright-green);
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.audience-btn:hover {
  background-color: var(--bright-green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.packaging-card {
  text-align: center;
  position: relative;
  padding-top: 1rem;
}

.package-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin: 0 auto 1rem;
  transition: transform 0.3s ease;
}

.packaging-card:hover .package-img {
  transform: translateY(-5px);
}

.certification-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
  padding: 0.8rem;
  background-color: var(--white);
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  width: 100%;
}

.certification-badge {
  height: auto;
  width: 18%;
  max-width: 100px;
  transition: transform 0.3s ease;
}

.certification-badge:hover {
  transform: scale(1.1);
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.service-card-icon {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--olive);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-icon {
  transform: scale(1.1);
  color: var(--bright-green);
}

.service-card-icon img {
  height: 22px;
  width: 22px;
  filter: invert(33%) sepia(16%) saturate(1050%) hue-rotate(54deg) brightness(92%) contrast(89%);
  transition: filter 0.3s ease;
}

.service-card:hover .service-card-icon img {
  filter: invert(61%) sepia(75%) saturate(1066%) hue-rotate(68deg) brightness(96%) contrast(90%);
}

.service-card-content {
  flex: 1;
}

.stats-card {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--olive-dark);
  margin: 0.3rem 0;
}

.cta-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--bright-green-light);
  border-left: 4px solid var(--bright-green);
  margin: 1.5rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.cta-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.cta-heading {
  font-size: 1.3rem;
  color: var(--olive-dark);
  margin-bottom: 0.6rem;
}

.cta-subtext {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.cta-btn {
  display: inline-block;
  background-color: var(--bright-green);
  color: white;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1rem;
  margin: 0.8rem 0;
  transition: all 0.2s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.cta-btn:hover {
  background-color: var(--bright-green-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}

.contact-email {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--olive-dark);
  text-decoration: none;
  display: block;
  margin: 0.7rem 0;
  transition: all 0.2s ease;
}

.contact-email:hover {
  color: var(--bright-green-dark);
  transform: scale(1.05);
}

.facility-image {
  height: 70px;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.card:hover .facility-image {
  transform: translateY(-3px);
}

.packaging-card .package-img[src="img/flexi.png"] {
  transform: none;
}

.tailored-solutions-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.tailored-solutions-card .btn {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  padding: 0.6rem 0.8rem;
}

/* Language Switcher */
.language-switcher {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.lang-btn {
  padding: 0.3rem 0.6rem;
  background: var(--white);
  border: 1px solid var(--cloud);
  border-radius: 4px;
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--slate);
  transition: all 0.2s ease;
}

.lang-btn:hover {
  background: var(--cloud);
  transform: translateY(-2px);
}

.lang-btn.active {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
  /* Tablet Styles */
  body {
    font-size: 13pt;
  }
  
  .grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.6rem;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  
  .page {
    padding: 0.5rem;
  }
  
  .logo-text {
    font-size: 1.1rem;
  }
  
  .qr-header {
    width: 55px;
    height: 55px;
  }
  
  /* Fix card images for tablets */
  .package-img, .solution-image, .feature-img {
    height: auto;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 0.5rem;
  }
  
  /* Add more padding to packaging cards */
  .packaging-card {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
  }
  
  /* Hero content tablet improvements */
  .hero-content {
    padding: 1rem;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  /* Reduce font size slightly for better fit */
  .card p {
    font-size: 0.95rem;
  }
  
  /* Service card tablet improvements */
  .service-card {
    gap: 0.6rem;
  }
}

@media screen and (max-width: 600px) {
  /* Small Tablet/Large Mobile Styles */
  /* Ensure Solutions By Business Type and Packaging Options display in a single column */
  .solutions-grid, .packaging-grid {
    grid-template-columns: 1fr !important;
  }
}

@media screen and (max-width: 480px) {
  /* Mobile Styles */
  body {
    font-size: 12pt;
  }
  
  .grid-3, .grid-2, .grid-4 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }
  
  .logo {
    justify-content: flex-start;
    max-width: 75%;
  }
  
  .logo-text {
    font-size: 1.3rem;
  }
  
  .logo-subtext {
    font-size: 0.8rem;
  }
  
  .qr-header {
    width: 55px;
    height: 55px;
  }
  
  .language-switcher {
    position: relative;
    top: 0;
    right: 0;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
  }
  
  .audience-selector {
    flex-direction: column;
    gap: 0.6rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.2rem;
  }
  
  .certification-badges {
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.3rem;
    padding: 0.5rem;
  }
  
  .certification-badge {
    width: 16%;
    max-width: 45px;
  }
  
  /* Card enhancements for mobile */
  .card {
    padding: 1rem;
  }
  
  /* Fix image scaling issues */
  .package-img, .solution-image, .feature-img {
    height: auto;
    min-height: 120px;
    max-height: 150px;
    object-fit: contain;
  }
  
  /* Ensure other images also scale properly */
  .facility-image, .facility-img {
    object-fit: contain;
    height: auto;
    min-height: 60px;
  }
  
  /* Ensure icons and smaller images display properly */
  .icon-img, .service-icon {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .footer {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

@media print {
  @page {
    size: letter;
    margin: 0.3in;
  }

  body {
    font-size: 9pt;
  }

  .page {
    margin: 0;
    padding: 0;
  }

  .card {
    break-inside: avoid;
    background: none;
    border: 1px solid var(--olive);
    box-shadow: none;
    transform: none;
  }

  .hero-content {
    background: none;
    border: 1px solid var(--olive);
    box-shadow: none;
  }
  
  .language-switcher {
    display: none;
  }
  
  .logo-image {
    height: 35px;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .logo-subtext {
    font-size: 0.7rem;
  }
  
  .qr-header {
    width: 50px;
    height: 50px;
    box-shadow: none;
  }
  
  .cta-card {
    background: none;
    border: 1px solid var(--olive);
    box-shadow: none;
  }
  
  .certification-badges {
    box-shadow: none;
    background: none;
  }
  
  .certification-badge {
    height: 35px;
  }
  
  .facility-img, .facility-image {
    height: 50px;
  }

  .package-img, .solution-image, .feature-img {
    height: 50px;
  }
  
  .qr-code {
    width: 50px;
    height: 50px;
    box-shadow: none;
  }
  
  .footer-qr {
    width: 40px;
    height: 40px;
    box-shadow: none;
  }
  
  .qr-code-container {
    box-shadow: none;
    background: none;
  }
  
  .service-card-icon {
    box-shadow: none;
  }

  h1 {
    font-size: 14pt;
  }

  h2 {
    font-size: 12pt;
  }

  h3 {
    font-size: 10pt;
  }

  p, td, th {
    font-size: 9pt;
  }
} 