:root {
  --color-maroon: #7F080A;
  --color-maroon-dark: #500502;
  --color-bone: #F9F6F2;
  --color-dark: #1A1A1A;
  --color-text: #333333;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-bone);
  color: var(--color-text);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  color: var(--color-maroon);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background-color: rgba(249, 246, 242, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(74, 0, 0, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin-left: auto;
  margin-right: 30px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  color: var(--color-maroon);
}

.btn-primary {
  display: inline-block;
  background-color: var(--color-maroon);
  color: var(--color-bone);
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid var(--color-maroon);
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-maroon);
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(249, 246, 242, 0.95) 0%, rgba(249, 246, 242, 0.7) 50%, rgba(249, 246, 242, 0) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 650px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--color-dark);
}

/* Catalog Section (Bento Grid) */
.catalog {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-text);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 20px;
}

.bento-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease;
}

.bento-item:hover {
  transform: translateY(-5px);
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.bento-item:hover img {
  transform: scale(1.05);
}

.bento-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: white;
}

.bento-overlay h3 {
  color: white;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.bento-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.item-large .bento-overlay h3 {
  font-size: 2rem;
}

.item-large .bento-overlay p {
  font-size: 1.1rem;
}

.catalog-actions {
  margin-top: 50px;
  text-align: center;
}

/* Export Suite */
.export-suite {
  background-color: var(--color-maroon-dark);
  color: var(--color-bone);
  padding: 100px 0;
}

.export-suite h2 {
  color: var(--color-bone);
}

.export-suite .section-header p {
  color: rgba(249, 246, 242, 0.8);
}

.export-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.export-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.export-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.export-card h3 {
  color: var(--color-bone);
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.export-card p {
  color: rgba(249, 246, 242, 0.8);
  font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 20px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--color-dark);
  font-weight: 600;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.4s ease;
  margin-top: 0;
  color: var(--color-text);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  margin-top: 15px;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--color-maroon);
  transition: transform 0.3s ease;
  font-weight: 300;
  display: inline-block;
}

/* Clients Marquee Section */
.marquee-section {
  padding: 80px 0;
  background-color: #F5F1ED;
  overflow: hidden;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  display: flex;
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: scrollMarquee 20s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-logo {
  padding: 0 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee-logo img {
  height: 50px;
  /* Adjust this value if your logos need to be larger or smaller */
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.marquee-logo:hover img {
  opacity: 1;
}

@keyframes scrollMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Trust Section (Auto-Scrolling Marquee) */
.trust-section {
  padding: 60px 0;
  background-color: var(--color-bone);
  overflow: hidden;
}

.trust-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: scrollMarquee 25s linear infinite;
}

.trust-marquee-track:hover {
  animation-play-state: paused;
}

.trust-card {
  flex-shrink: 0;
  width: 400px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust-card svg {
  margin-bottom: 15px;
}

.trust-card h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-maroon);
  margin: 0;
}

/* Why Us Page Styles */
.whyus-hero {
  background-color: var(--color-maroon-dark);
  color: var(--color-bone);
  padding: 80px 0;
  text-align: center;
}

.whyus-hero-content h1 {
  color: var(--color-bone);
  font-size: 3rem;
  margin-bottom: 15px;
  line-height: 1.2;
}

.whyus-hero-content p {
  font-size: 1.1rem;
  color: rgba(249, 246, 242, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* History Timeline Section */
.history-section {
  padding: 100px 0;
  background-color: var(--color-bone);
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-maroon), transparent);
}

.timeline-item {
  display: flex;
  margin-bottom: 50px;
  align-items: flex-start;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background-color: var(--color-maroon);
  border: 4px solid white;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--color-maroon);
}

.timeline-content {
  width: 45%;
  padding: 30px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 55%;
  margin-right: 0;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: 55%;
  margin-left: 0;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--color-maroon);
}

.timeline-content p {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Partners Section */
.partners-section {
  padding: 100px 0;
  background-color: #F5F1ED;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.partner-card {
  background: white;
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border-top: 4px solid var(--color-maroon);
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.partner-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--color-maroon);
}

.partner-card p {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Differentiators Section */
.differentiators {
  padding: 100px 0;
  background-color: var(--color-bone);
}

.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.diff-card {
  text-align: center;
  padding: 40px 30px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.diff-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.diff-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.diff-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--color-maroon);
  font-family: var(--font-sans);
  font-weight: 600;
}

.diff-card p {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Trust Testimonials */
.trust-testimonials {
  padding: 100px 0;
  background-color: var(--color-maroon-dark);
  color: white;
}

.trust-testimonials .section-header h2,
.trust-testimonials .section-header p {
  color: white;
}

.trust-testimonials .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
}

.testimonial-card h4 {
  color: rgba(249, 246, 242, 0.9);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Why Us CTA Section */
.whyus-cta {
  background-color: var(--color-maroon-dark);
  color: white;
  padding: 100px 0;
  text-align: center;
}

.whyus-cta h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.whyus-cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.whyus-cta .btn-primary {
  background-color: white;
  color: var(--color-maroon);
  border-color: white;
}

.whyus-cta .btn-primary:hover {
  background-color: transparent;
  color: white;
  border-color: white;
}

/* Footer */
footer {
  background-color: #EAE4DD;
  color: var(--color-dark);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-logo {
  max-width: 80px;
  margin-bottom: 20px;
}

footer h3 {
  color: var(--color-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col {
  text-align: left;
}

.footer-col h4 {
  font-family: var(--font-serif);
  color: var(--color-maroon);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-col p {
  color: var(--color-text);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
  color: var(--color-text);
}

.footer-col a {
  color: var(--color-text);
}

.footer-col a:hover {
  color: var(--color-maroon);
}

.footer-bottom {
  text-align: left;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.6);
}

/* Retail Store Framework (Hidden) */
#retail-store {
  display: none;
  padding: 100px 0;
  background-color: white;
}

/* Contact Form */
.contact-section {
  padding: 100px 0;
  background-color: white;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-bone);
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-container h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.contact-container p {
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-text);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-dark);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-maroon);
  box-shadow: 0 0 0 2px rgba(127, 8, 10, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  margin-top: 10px;
  cursor: pointer;
  text-align: center;
}

/* Hamburger Menu */
.nav-right-mobile {
  display: none;
  align-items: center;
  gap: 10px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-maroon-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Desktop Static Layout for Wide Screens */
@media (min-width: 1200px) {

  .marquee-track,
  .trust-marquee-track {
    animation: none;
    width: 100%;
    justify-content: center;
    transform: none !important;
  }

  .marquee-track [aria-hidden="true"],
  .trust-marquee-track [aria-hidden="true"] {
    display: none;
  }
}

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

  /* Nav */
  .nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    padding: 0;
    position: relative;
  }

  .nav-right-mobile {
    display: flex;
    align-items: center;
    gap: 10px;
    order: 2;
  }

  .hamburger {
    display: flex;
    order: 0;
  }

  .nav>.btn-primary {
    display: none;
  }

  .nav-right-mobile .btn-primary {
    display: inline-block;
    padding: 8px 14px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    order: 3;
    margin: 0;
    text-align: center;
    gap: 0;
    background-color: rgba(249, 246, 242, 0.98);
    border-top: 1px solid rgba(74, 0, 0, 0.1);
    padding: 10px 0 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links .mobile-cta-item {
    display: none;
  }

  /* Hero */
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* Bento catalog */
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 14px;
  }

  .item-large {
    grid-column: span 1;
    grid-row: span 1;
    height: 220px;
  }

  .bento-item {
    height: 180px;
  }

  /* Export */
  .export-grid {
    grid-template-columns: 1fr;
  }

  /* Marquee overrides */
  @media (max-width: 768px) {
  .marquee-logo {
    padding: 0 40px;
  }
  
  .marquee-logo img {
    height: 40px; /* Scales the logos down slightly for mobile */
  }
  }

  /* Trust Marquee overrides */
  .trust-card {
    width: 280px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-col {
    text-align: left;
  }

  .footer-col li[style] {
    display: flex !important;
    justify-content: flex-start !important;
  }

  footer {
    padding: 50px 0 24px;
  }

  .footer-bottom {
    text-align: left;
  }

  section {
    padding: 60px 0 !important;
  }

  /* Why Us page */
  .whyus-hero-content h1 {
    font-size: 2rem;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-item {
    flex-direction: column !important;
  }

  .timeline-content,
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    width: 100%;
    margin-left: 20px !important;
    margin-right: 0 !important;
  }

  .timeline-dot {
    margin-left: -10px;
  }

  .partners-grid,
  .differentiators-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Contact form */
  .contact-container {
    padding: 30px 20px;
  }
}