/* ========================================
   LONDON FOODS - SHARED STYLES
   ======================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* Global Font Family */
* {
  font-family: "Poppins", "Montserrat", sans-serif;
}

body {
  font-family: "Poppins", "Montserrat", sans-serif;
}

/* Ensure all headings and headline utility use the chosen fonts */
h1, h2, h3, h4, h5, h6, .headline {
  font-family: "Poppins", "Montserrat", sans-serif;
  margin: 0;
}

.hero-section { 
  position: relative; 
  width: 100vw; 
  height: 100vh; 
  overflow: hidden;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .hero-section {
    height: 520px;
  }
}

/* Make floating fruits smaller and ensure they are visible on mobile */
@media (max-width: 768px) {
  .floating-fruit {
    width: 56px;
    opacity: 1;
    display: block;
  }

  .fruit-1 {
    top: 8%;
    left: 6%;
    animation-duration: 6.5s;
  }

  .fruit-2 {
    top: 12%;
    right: 8%;
    animation-duration: 6s;
  }

  .fruit-3 {
    bottom: 12%;
    left: 8%;
    animation-duration: 5.5s;
  }

  .fruit-4 {
    bottom: 18%;
    right: 8%;
    animation-duration: 6.5s;
  }
}

/* Extra-small screens */
@media (max-width: 420px) {
  .floating-fruit { width: 42px; }
}

.hero-image { 
  position: absolute; 
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 100%; 
  object-fit: unset; 
  object-position: center; 
}

/* Floating Fruits Animation */
.floating-fruit {
  position: absolute;
  width: 80px;
  height: auto;
  z-index: 20;
  animation: rotate-float 6s ease-in-out infinite;
}

@keyframes rotate-float {
  0%, 100% {
    transform: rotate(0deg) translateX(0);
  }
  25% {
    transform: rotate(90deg) translateX(-10px);
  }
  50% {
    transform: rotate(180deg) translateX(0);
  }
  75% {
    transform: rotate(270deg) translateX(-10px);
  }
}

.fruit-1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 7s;
}

.fruit-2 {
  top: 25%;
  right: 15%;
  animation-delay: 1.5s;
  animation-duration: 6.5s;
}

.fruit-3 {
  bottom: 20%;
  left: 15%;
  animation-delay: 3s;
  animation-duration: 6s;
}

.fruit-4 {
  bottom: 30%;
  right: 12%;
  animation-delay: 4.5s;
  animation-duration: 7.5s;
}

body{
  background: linear-gradient(to left, #e8cc73 0%, rgb(248, 247, 233) 100%);
  margin: 0;
  padding: 0;
}

/* Responsive tweak: on small screens remove extra gap and decorative before */
@media (max-width: 860px) {
  /* remove the large bottom gap added to quote-section on desktop */
  .quote-section { margin-bottom: 0 !important; }

  /* hide the decorative image overlay that extends above the partners section */
  .partners-section::before { display: none !important; }
}

.nav-btn { 
  background: rgba(255,255,255,0.06); 
  width:64px; 
  height:64px; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  border-radius:9999px; 
  border:1px solid rgba(255,255,255,0.12); 
  z-index:40; 
  cursor:pointer; 
}

/* Mobile-specific button sizing (smaller circular hamburger) */
.mobile-menu-btn { 
  width:48px; 
  height:48px; 
  border-radius:10px; 
  background: rgba(255,255,255,0.06);
}

.indicator { 
  width:10px; 
  height:10px; 
  border-radius:9999px; 
  background:rgba(255,255,255,0.6); 
}
.indicator-active { background: white; transform: scale(1.2); }

.hero-copy { mix-blend-mode: normal; }

.prev-pos { left:28px; }
.next-pos { right:28px; }

/* ========================================
   TOP BAR / NAVBAR
   ======================================== */
.topbar { 
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  height: 72px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  z-index: 30; 
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.topbar .container {
  width: 100%;
  max-width: 1400px;
  padding: 0 2rem;
  margin: 0 auto;
}

.topbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
}

/* Logo Styling */
.topbar .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.topbar .logo:hover {
  opacity: 0.85;
}

.topbar .logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.topbar .logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.3px;
  display: none;
}

@media (min-width: 640px) {
  .topbar .logo-text {
    display: block;
  }
}

/* Desktop Navigation Links */
.topbar .nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .topbar .nav-links {
    display: flex;
  }
}

.topbar .nav-link {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  padding: 0.5rem 0;
  position: relative;
}

.topbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #fbbf24;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.topbar .nav-link:hover {
  color: #fbbf24;
}

.topbar .nav-link:hover::after {
  transform: scaleX(1);
}

/* Mobile Menu Button */
.topbar .mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 40;
}

.topbar .mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
  .topbar .mobile-menu-btn {
    display: none;
  }
}

.topbar .menu-icon {
  width: 24px;
  height: 24px;
  stroke: white;
}

/* Mobile Navigation Sidebar (Global - Independent from any section) */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  display: flex;
  flex-direction: column;
  padding: 0;
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.8);
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999999;
  overflow-y: auto;
  visibility: hidden;
}

/* Show mobile nav when not hidden */
.mobile-nav[aria-hidden="false"] {
  left: 0;
  visibility: visible;
}



.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.mobile-link {
  display: block;
  color: #ffffff;
  text-decoration: none;
  padding: 1.5rem 2.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-link:last-child {
  border-bottom: none;
}

.mobile-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: #fbbf24;
  transition: width 0.3s ease;
}

.mobile-link:hover {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  padding-left: 3rem;
}

.mobile-link:hover::before {
  width: 1.5rem;
}

/* Mobile Navigation Header */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* Hide nav-inner when sidebar is open */
.topbar .nav-inner.hidden {
  display: none !important;
}

/* Mobile Navigation Overlay (Global) */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999998;
}

.mobile-nav-overlay.active,
.mobile-nav-overlay.mobile-nav-overlay-open {
  opacity: 1;
  visibility: visible;
}

/* Mobile nav open state */
.mobile-nav.mobile-nav-open {
  left: 0;
  visibility: visible;
}

/* Ensure mobile nav is accessible on small screens */
@media (max-width: 767px) {
  .mobile-nav {
    width: 280px;
  }
}

@media (max-width: 400px) {
  .mobile-nav {
    width: 100vw;
  }
}

.quote-section {
  margin-bottom: 5rem !important;
  z-index: 5;
  position: relative;
}
/* ========================================
   PARTNERS SECTION
   ======================================== */
.partners-section {
  background-image: url('ourPartners-Bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  /* overflow: hidden; */
  z-index: 10;
}

.partners-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -131px;
  height: 131px;
  background: url('ourPartners-Bg.png') center top/cover no-repeat;
  pointer-events: none;
  z-index: 40;
}



.partners-section > div {
  position: relative;
  z-index: 50;
}

.partners-section h2 {
  /* color: #ffffff; */
  /* text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); */
  /* font-size: 2.5rem; */
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.partners-section button {
  position: relative;
  z-index: 2;
}

.partner-card { 
  /* background: rgba(255, 255, 255, 0.95); */
  /* border-radius: 18px;  */
  /* padding: 18px;  */
  display:flex; 
  align-items:center; 
  justify-content:center;
  /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.partner-inner { 
  width:100%; 
  max-width:380px; 
  background: transparent; 
  border-radius:16px; 
  padding:18px; 
  box-shadow: none;
  border: none;
  display:flex; 
  flex-direction:column; 
  align-items:center; 
  gap:12px; 
}

.partner-figure { 
  width:300px; 
  height:320px; 
  border-radius:12px; 
  overflow:hidden; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  background:transparent; 
}

.partner-figure img { 
  width:100%; 
  height:100%; 
  object-fit:contain; 
}

.partner-logo-card { 
  width:100%; 
  background:white; 
  border-radius:12px; 
  padding:12px; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  border:1px solid rgba(0,0,0,0.04); 
}

.partner-logo-card img { 
  max-height:72px; 
  object-fit:contain; 
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products-section {
  background-image: url('bg2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  background-color:#c9e693;
  /* background-attachment: fixed; */
  z-index: 20;
}

.products-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -140px;
  height: 160px;
  background: url('OurPproducts-Bg.png') center top/cover no-repeat;
  pointer-events: none;
  z-index: 25;
}

/* ========================================
   COFFEE SECTION
   ======================================== */
.coffee-section {
  position: relative;
  background: url('Links/Coffee Section/Coffee-Dots- BG.png') center/cover no-repeat;
  color: #2b2b2b;
  height: 680px;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coffee-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 42%;
  background-image: url('Links/Coffee Section/bars BG.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  pointer-events: none;
  z-index: 6;
  opacity: 1;
}

.coffee-slider { 
  position: relative; 
  width: 100%; 
  max-width:1300px; 
  display:flex; 
  align-items:center; 
  justify-content:space-between; 
  padding: 0 3rem; 
  z-index: 10; 
}

.coffee-nav-btn { 
  background: transparent; 
  border: none; 
  width:64px; 
  height:64px; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  cursor:pointer; 
}

.coffee-viewport { 
  position: relative; 
  flex: 1 1 auto; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
}

.coffee-slide { 
  position: absolute; 
  inset:0; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  gap:2.25rem; 
  transition: opacity 0.6s ease, transform 0.6s ease; 
}

.coffee-slide-hidden { 
  opacity: 0; 
  pointer-events: none; 
  transform: translateY(8px) scale(0.98); 
}

.coffee-slide-visible { 
  opacity: 1; 
  pointer-events: auto; 
  transform: none; 
}

.coffee-figure { 
  display:block; 
  width:420px; 
  max-width:30%; 
  transform-origin:center bottom; 
}

.coffee-figure img { 
  width:100%; 
  height:auto; 
  display:block; 
}

.coffee-figure.center { 
  width:75%; 
  max-width:100%; 
}

.coffee-decor { 
  position: absolute; 
  width:150px; 
  height:auto; 
  z-index:60; 
}

.coffee-decor.left-top { 
  top: -5rem; 
  left: 18px; 
  transform: rotate(-12deg); 
}

.coffee-decor.right-top { 
  top: 450px; 
  right: 18px; 
  /* transform: rotateY(180deg);  */
}
.coffee-decor.right-bottom { 
  top: 450px; 
  left: 18px; 
  /* transform: rotateY(180deg);  */
}

.coffee-plant {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: auto;
  z-index: 7;
  pointer-events: none;
  transform: translateY(6px);
}

.coffee-title {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
  /* font-size: 44px; */
  font-weight: 800;
  color: #2b2b2b;
  z-index: 11;
  letter-spacing: 0.6px;
  text-align: center;
  text-transform: none;
  margin-block: 1rem;
  padding: 2rem;
}
.inquiry-form{
  padding-block: 3rem;
}
/* ========================================
   MEDIA SECTION
   ======================================== */
.media-section {
  background-image: url('Links/Media-BG.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  /* background-color:#c9e693; */
  z-index: 20;
}

.media-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -54px;
  height: 100px;
  background: url('Links/Media-BG.png') center top/cover no-repeat;
  pointer-events: none;
  z-index: 25;
}

.media-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 2.5rem;
  letter-spacing: 0.4px;
}

.media-title { 
  text-align: center; 
  margin-bottom: 1.25rem; 
}

.media-title .muted { 
  display: block; 
  font-size: 1rem; 
  color:#6b635a; 
  text-transform:none; 
}

.media-title .headline { 
  display: block; 
  font-size: 2.25rem; 
  font-weight:800; 
  color:#2b2b2b; 
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

.media-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.media-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.14);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Gallery grid layout */
.gallery-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  grid-template-rows: repeat(6, 140px); 
  gap: 1rem; 
  align-items: stretch; 
}

.gallery-grid .gallery-card { 
  border-radius: 12px; 
  overflow: hidden; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
  background: #fff; 
}

.gallery-grid .gallery-card img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display:block; 
}

.gallery-card--big { 
  grid-column: span 2; 
  grid-row: span 2; 
}

.gallery-card--tall { 
  grid-row: span 2; 
}

/* Product cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.products-grid .product-card { 
  background: transparent; 
  border-radius: 12px; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  box-sizing: border-box;
}

.product-image {
  width: 180px;
  height: 180px;
  margin: 0 auto 0.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img { 
  max-width: 100%; 
  max-height: 100%; 
  object-fit: contain; 
  display:block; 
}

.product-caption { 
  font-weight: 700; 
  color: #2b2b2b; 
  margin-top: 0.5rem; 
  font-size: 1.05rem; 
}

.product-description {
  text-align: left;
  /* color: #444; */
  margin-top: 0.5rem;
  flex: 1 1 auto;
  font-weight: bolder;
}

.media-view-all {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.media-view-all button {
  background: linear-gradient(to bottom, #e84347 0%, #d83439 100%);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2.5rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(232,67,71,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.media-view-all button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232,67,71,0.4);
}

/* Make product "View All" links match the media "View All" button */
.view-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #e84347 0%, #d83439 100%);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2.5rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(232,67,71,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232,67,71,0.4);
}

/* Optional: center product buttons inside product-card */
.product-card .view-all-btn {
  display: inline-flex;
  margin-top: 1rem;
  align-self: flex-end; /* place button to the far right */
  font-weight: 700; /* bold */
}

/* Make view-all full width on very small screens */
@media (max-width: 420px) {
  .product-card .view-all-btn {
    align-self: stretch;
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   INQUIRY / CONTACT FORM SECTION
   ======================================== */
.inquiry-section {
  position: relative;
  background-image: linear-gradient(to right, #e8cc73 0%, rgba(248, 247, 233) 100%), url('Links/Coffee Section/Coffee-Dots- BG.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  padding: 5rem 1.5rem;
  /* overflow: hidden; */
  text-align: left;
}

.inquiry-section h2 {
  font-size: 2.75rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 0.25rem;
  line-height: 1.05;
  text-align: left;
}

.inquiry-section h3 {
  font-size: 1.85rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 1rem;
  line-height: 1.1;
  text-align: left;
}

.inquiry-section p {
  font-size: 1rem;
  color: #2b2b2b;
  margin-bottom: 2.5rem;
  opacity: 0.85;
}

.inquiry-form {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem 2rem;
}

.form-row {
  display: contents;
}

.form-group {
  margin-bottom: 0;
}

.form-group label,
.inquiry-form label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2b2b2b;
  margin: 0;
  padding-left: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: none;
  border-radius: 6px;
  background: #e1d7cf;
  font-size: 1rem;
  color: #2b2b2b;
  box-shadow: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  display: block;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
  width: 100%;
}

.submit-btn {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  grid-column: 1 / -1;
}

.submit-btn button {
  background: linear-gradient(to bottom, #e84347 0%, #d83439 100%);
  color: white;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.95rem 3rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(232,67,71,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.submit-btn button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232,67,71,0.45);
}

/* ========================================
   FOLLOW US / SOCIAL SECTION
   ======================================== */
.follow-section {
  background-image: url('red-BG.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 20;
  /* overflow: hidden; */
  color: white;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  min-height: 420px;
}

/* Decorative top band (matches partners/products pattern) */
.follow-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -50px;
  height: 160px;
  background: url('red-BG.png') center top/cover no-repeat;
  pointer-events: none;
  z-index: 25;
}


.follow-content {
  position: relative;
  /* raise above pseudo-elements */
  z-index: 30;
}



.follow-grid { 
  display:flex; 
  gap:5rem; 
  align-items:flex-end; 
  justify-content:center; 
  flex-wrap:wrap; 
}

.follow-left {
  position: absolute;
  left: -5rem;
  bottom: -7rem;
  width: 280px;
  height: 280px;
  z-index: 6;
}

.follow-right { 
  max-width:760px; 
}


.follow-arrow {
  position: absolute;
  top: 20%;
  left: 92%;
  width: 100px;
  height: auto;
  transform: rotate(0deg);
  z-index: 5;
}

    /* Responsive stepping: progressively reduce left percentage and width
       so the arrow moves from far right (desktop) toward left on small screens */
    @media (max-width: 1200px) {
      .follow-arrow { left: 72%; width: 95px; }
    }

    @media (max-width: 1024px) {
      .follow-arrow { left: 60%; width: 90px; }
    }

    @media (max-width: 768px) {
      .follow-arrow { left: 30%; width: 85px; }
    }

    @media (max-width: 520px) {
      .follow-arrow { left: 26%; width: 60px; }
    }
    
.follow-now-img {
  position: absolute;
  left: 50%;
  top: 40%;
  width:150px;
  height:auto;
  z-index: 4;
  transform: rotate(10deg);
}
    @media (max-width: 1200px) {
      .follow-now-img { left: 65%; width: 95px; }
    }

    @media (max-width: 1024px) {
      .follow-now-img { left: 45%; width: 90px; }
    }

    @media (max-width: 768px) {
      .follow-now-img { left: 25%; width: 85px; }
    }

 @media (max-width: 520px) {
      .follow-now-img { left: 20%; width: 60px;top: 53%;transform: rotate(-25deg) }
    }

.follow-right h2 { 
  margin-bottom: 1.5rem; 
}

/* .follow-right p { 
  margin-bottom: 1.75rem; 
} */

.social-icons { 
  display:flex; 
  gap:1.5rem; 
  align-items:center; 
  justify-content:space-around; 
  flex-wrap:wrap; 
}

.social-icon { 
  width:52px; 
  height:52px; 
  transition: transform 0.25s ease; 
  display:inline-block; 
}

.social-icon img { 
  width:100%; 
  height:100%; 
  display:block; 
}

.social-icon:hover { 
  transform: translateY(-6px) scale(1.08); 
}

/* ========================================
   FOOTER SECTION
   ======================================== */
.footer-section {
  background-image: url('Links/Footer-BG.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-color: #000000;
  color: white;
  padding: 3.5rem 1.5rem 2.5rem;
  position: relative;
  z-index: 2000;
}

.footer-content::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -54px;
  height: 100px;
  background: url(Links/Footer-BG.png) center top / cover no-repeat;
  pointer-events: none;
  z-index: 205;
}

footer {
  background-image: url('Links/Footer-BG.png');
  background-repeat: no-repeat;
  background-color: #000000;
  color: white;
  padding: 3.5rem 1.5rem 2.5rem;
  min-height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 2000;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem 3rem;
  align-items: start;
  justify-items: center;
  padding-bottom: 1.5rem;
  padding-right: 4rem;
}

/* Desktop: middle row spans columns 2-3 */
@media (min-width: 769px) {
  .footer-middle-row {
    display: contents; /* Allow children to participate in grid */
  }
  .footer-links {
    grid-column: 2;
  }
  .footer-social-section {
    grid-column: 3;
  }
  .footer-copyright {
    grid-column: 1 / -1;
  }
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
}

.footer-logo img {
  width: 136px;
  height: 136px;
  object-fit: contain;
  padding: 10px;
  border-radius: 50%;
  display: block;
}

.footer-logo span { 
  display: none; 
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.footer-links a {
  color: white;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s ease;
  letter-spacing: 0.3px;
  opacity: 0.95;
}

.footer-links a:hover { 
  opacity: 0.75; 
}

.footer-social-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  justify-self: start;
}

.footer-social-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0;
}

.footer-social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.footer-social-icons a {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social-icons a:hover { 
  transform: translateY(-3px); 
  opacity: 0.9; 
}

.footer-social-icons img { 
  width: 20px; 
  height: 20px; 
  object-fit: contain; 
}

.footer-copyright {
  text-align: left;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.3px;
  grid-column: 1 / -1;
}

/* ========================================
   PARTNER DETAIL SECTION
   ======================================== */
.partners-detail-section {
  position: relative;
  background: linear-gradient(to left, #e8cc73 0%, rgb(248, 247, 233) 100%);
  padding: 5rem 1.5rem;
  overflow: hidden;
}

.partners-detail-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 50%;
  background-image: 
    linear-gradient(to right, #e8cc73 0%, rgb(248, 247, 233) 100%), 
    url("Links/Coffee Section/Coffee-Dots- BG.svg");
  background-size: 100%, contain;
  background-position: center, right bottom;
  background-repeat: no-repeat, no-repeat;
  background-blend-mode: multiply;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.partners-detail-section > div {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 2rem;
}

.partners-detail-section h2 {
  font-size: 2.75rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 3rem;
  text-align: center;
}

.partner-image-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.partner-image-wrapper img {
  width: auto;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partner-text-content {
  padding: 1.25rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  color: #222;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-block {
  max-width: 920px;
  margin: 0 auto 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

.product-block .partner-image-wrapper,
.product-block .partner-text-content { 
  width: 100%; 
}

.title-band {
  background: #8bc34a;
  color: white;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.partner-brand-logo {
  max-width: 200px;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.partner-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2b2b2b;
  margin-bottom: 0.5rem;
}

.partner-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #2b2b2b;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.visit-site-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(to bottom, #e84347 0%, #d83439 100%);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2.5rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(232,67,71,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  width: fit-content;
  margin-top: 1rem;
}

.visit-site-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232,67,71,0.4);
}

/* ========================================
   PRODUCT DETAIL PAGE STYLES
   ======================================== */
/* .product-accordion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.accordion-item {
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.accordion-item-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
}

.accordion-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
} */
/* 
.accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-align: left;
  transition: all 0.3s ease;
}

.accordion-toggle.variant-1 { background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%); }
.accordion-toggle.variant-2 { background: linear-gradient(135deg, #4ecdc4 0%, #6fdbcd 100%); }
.accordion-toggle.variant-3 { background: linear-gradient(135deg, #a29bfe 0%, #b8b3f7 100%); }
.accordion-toggle.variant-4 { background: linear-gradient(135deg, #feca57 0%, #fed976 100%); }
.accordion-toggle.variant-5 { background: linear-gradient(135deg, #ee5a6f 0%, #f37687 100%); }
.accordion-toggle.variant-6 { background: linear-gradient(135deg, #fd79a8 0%, #fd99bd 100%); }

.accordion-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: #fff;
  color: #e84347;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s ease;
} */

/* .accordion-toggle.active .accordion-badge {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: #fafafa;
  padding: 0 1.25rem;
}

.accordion-content.active {
  max-height: 900px;
  padding: 1.25rem;
} */

.product-details > h4 {
  display: inline-block;
  width: 28%;
  margin: 0;
  vertical-align: top;
  font-size: 1rem;
  font-weight: 700;
  color: #222;
}

.product-details > p,
.product-details > div {
  display: inline-block;
  width: 70%;
  margin: 0 0 0.75rem 0;
  vertical-align: top;
  color: #333;
  line-height: 1.6;
}

.product-details > div canvas.barcode-canvas { 
  display: block; 
  margin: 0 auto; 
}

.barcode-canvas {
  display: block;
  margin: 1rem auto;
  background: white;
  padding: 1rem;
  border-radius: 8px;
}

/* ========================================
   PRODUCTS DETAIL SECTION (Products Page)
   ======================================== */
.products-detail-section {
  position: relative;
  background: linear-gradient(to left, #e8cc73 0%, rgb(248, 247, 233) 100%);
  padding: 5rem 1.5rem;
  overflow: hidden;
}

.products-detail-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 30%;
  background-image: 
    linear-gradient(to right, #e8cc73 0%, rgb(248, 247, 233) 100%), 
    url("Links/Coffee Section/Coffee-Dots- BG.svg");
  background-size: 100%, contain;
  background-position: center, right bottom;
  background-repeat: repeat;
  background-blend-mode: multiply;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.products-detail-section > div {
  position: relative;
  z-index: 10;
}

.products-detail-section h2 {
  font-size: 2.75rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 3rem;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  border-radius: 24px;
  padding: 2rem;
  /* box-shadow: 0 8px 24px rgba(0,0,0,0.08); */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.product-image-wrapper {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 0.5rem;
}

.product-description {
  font-size: 0.95rem;
  /* color: #666; */
  line-height: 1.6;
  margin-bottom: 1rem;
}
.product-title{
  font-size: 2rem;
  font-weight: bolder;
}
.view-details-btn {
  background: linear-gradient(to bottom, #e84347 0%, #d83439 100%);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(232,67,71,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  display: inline-block;
}

.view-details-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232,67,71,0.4);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Extra Large Screens (1200px and up) */
@media (min-width: 1200px) {
  .product-image { width: 200px; height: 200px; }
  .coffee-section { height: 680px; }
  .coffee-figure { width:420px; }
  .coffee-figure.center { width:65%; }
  .coffee-slider { max-width:1300px; padding: 0 3rem; }
}

/* Large Tablets / Small Desktops (max 1200px) */
@media (max-width: 1200px) {
  .coffee-section { height: 560px; }
  .coffee-figure { width:320px; }
  .coffee-figure.center { width:420px; }
  .coffee-slider { max-width:1000px; padding: 0 2rem; }
  
  /* Slider adjustments */
  .slider { height: 580px !important; }
  .prev-pos { left: 18px; }
  .next-pos { right: 18px; }
}
 .product-item{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 240px; /* keep items same block height so captions align */
    padding: 0.5rem 0;
  }

/* Ensure the products grid aligns items at the top so images form a straight row */
.products-section .grid {
  align-items: start;
}

/* Make all product images the same visual height and centered */
.products-section .grid > .product-item img {
  display: block;
  width: auto;
  height: 160px; /* fixed visual height so all images line up */
  object-fit: contain;
  margin: 0 auto 0.5rem;
}

/* Increase caption size and center it */
.products-section .grid > .product-item p {
  font-size: 1.125rem; /* larger caption */
  margin: 0;
  text-align: center;
}
/* Medium Tablets (max 1000px) */
@media (max-width: 1000px) {
  .gallery-grid { 
    grid-template-columns: repeat(2, 1fr); 
    grid-auto-rows: 160px; 
    grid-template-rows: none; 
  }
  .gallery-card--big { grid-column: 1 / -1; grid-row: span 1; }
  .gallery-card--tall { grid-row: span 1; }
  
  .product-accordion {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  /* Partners section adjustments */
  /* .partners-section h2 { font-size: 2rem; } */
  .partner-card { padding: 14px; }
  .partner-figure { width: 240px; height: 260px; }
  
  /* Products section */
  .products-section { padding: 3rem 0; }
  .product-item img { max-width: 140px; }
 
}

/* Small Tablets (max 900px) */
@media (max-width: 900px) {
  .coffee-section { height: 480px; }
  .coffee-slide { gap: 1.5rem; }
  .coffee-figure { width:230px; }
  .coffee-figure.center { width:300px; }
  .coffee-slider { padding: 0 1.25rem; }
  .coffee-title {  top: 10%; padding: 0; }
  
  /* Hero slider */
  .slider { height: 480px !important; }
  .hero-copy h2 { font-size: 2.5rem; }
  .hero-copy p { font-size: 1rem; }
  
  /* Quote section */
  .quote-section h2 { font-size: 2.5rem !important; }
  .quote-section p { font-size: 1rem; }
  
  /* Partners grid to 2 columns */
  .partners-section .grid { grid-template-columns: repeat(2, 1fr); }
  
  /* Products grid to 2 columns */
  .products-section .grid { grid-template-columns: repeat(2, 1fr); }
  
  /* Footer */
  .footer-content { 
    display: flex;
    flex-direction: column;
    gap: 1.5rem; 
    text-align: center; 
  }
  .footer-logo { 
    justify-content: center; 
    align-items: center; 
    order: 1;
  }
  
  /* Middle row: links and social side by side */
  .footer-middle-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    order: 2;
  }
  
  .footer-links { 
    flex-direction: column; 
    gap: 0.6rem; 
    align-items: flex-start; 
    flex: 1;
  }
  .footer-social-section { 
    align-items: flex-end; 
    flex: 1;
  }
  
  /* Copyright at bottom */
  .footer-copyright {
    order: 3;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
}

/* ========================================
   MOBILE NAV - LEGACY (kept for backward compatibility)
   ======================================== */
/* Note: Mobile nav styles are now in the topbar section above */

@media (min-width: 768px) {
  .follow-grid { 
    flex-wrap:nowrap; 
    align-items:flex-end; 
  }
  .follow-right { 
    text-align:left; 
  }
}

/* Tablets (max 768px) */
@media (max-width: 768px) {
  /* Navbar adjustments */
  .topbar {
    height: 64px;
  }
  .topbar .container {
    padding: 0 1.5rem;
  }
  .topbar .logo-img {
    width: 48px;
    height: 48px;
  }
  .topbar .mobile-nav {
    top: 64px;
  }
  
  /* Hero slider mobile adjustments */
  .slider { height: 420px !important; }
  .topbar { height: 64px; }
  .topbar .logo .mark { width: 48px; height: 48px; }
  .nav-btn { width: 52px; height: 52px; }
  .prev-pos { left: 12px; }
  .next-pos { right: 12px; }
  .hero-copy { display: none !important; } /* Hide hero text on mobile */
  
  /* Quote section */
  .quote-section { padding: 3rem 1.5rem !important; }
  .quote-section h2 { font-size: 2rem !important; line-height: 1.2; }
  .quote-section p { font-size: 0.95rem; }
  
  /* Partners section - stack to single column */
  .partners-section .grid { 
    grid-template-columns: 1fr !important; 
    gap: 1.5rem;
  }
  .partner-card { max-width: 400px; margin: 0 auto; }
  
  /* Products section - 2 columns
  .products-section { padding: 2.5rem 0; }
  .products-section .grid { 
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  } */
  /* .product-item img { max-width: 120px; }
  .product-item p { font-size: 0.9rem; } */
  
  /* Follow section */
  .follow-grid { flex-direction: column; gap: 2rem; }
  .follow-left { width: 100%; text-align: center; }
  .follow-right { width: 100%; text-align: center; }
  .follow-right h2 { font-size: 2.5rem; }
  .social-icons { justify-content: center; }
  
  /* Coffee slider - show 2 items */
  .coffee-section { height: 420px; }
  .coffee-slide { gap: 1rem; }
  .coffee-figure:not(.center) { display: none; } /* Hide side items, keep center only for now */
  .coffee-figure.center { width: 70%; max-width: 320px; }
  
  /* Media section */
  .media-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 1.25rem; 
  }
  .media-section h2 { 
    font-size: 2rem; 
  }
  
  /* Inquiry form */
  .inquiry-section { padding: 2.5rem 1.5rem; }
  .inquiry-section h2 { 
    font-size: 2rem; 
  }
  .inquiry-section h3 { 
    font-size: 1.85rem; 
  }
  .inquiry-form { 
    grid-template-columns: 1fr; 
    gap: 1rem; 
  }
  .inquiry-form label { 
    padding-left: 0; 
  }
  .submit-btn { 
    grid-column: 1 / -1; 
  }
  
  /* Product detail pages */
  .partners-detail-section h2 {
    font-size: 2rem;
  }
  .partner-image-wrapper {
    min-height: 280px;
    padding: 1.5rem;
  }
  .partner-brand-logo {
    max-width: 160px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Small Mobile (max 600px) */
@media (max-width: 600px) {
  /* Navbar compact */
  .topbar {
    height: 60px;
  }
  .topbar .container {
    padding: 0 1rem;
  }
  .topbar .logo-img {
    width: 44px;
    height: 44px;
  }
  .topbar .mobile-menu-btn {
    width: 44px;
    height: 44px;
  }
  .topbar .menu-icon {
    width: 22px;
    height: 22px;
  }
  .topbar .mobile-nav {
    top: 60px;
  }

  /* Product details layout */
  .product-details > h4,
  .product-details > p,
  .product-details > div {
    display: block;
    width: 100%;
  }
  .product-details > h4 { 
    margin-top: 0.5rem; 
  }
  
  /* Hero slider smaller */
  .slider { height: 360px !important; }
  .indicator { width: 8px; height: 8px; }
  
  /* Quote section */
  .quote-section { padding: 2.5rem 1rem !important; }
  .quote-section h2 { font-size: 1.75rem !important; }
  .quote-section p { font-size: 0.9rem; }
  
  /* Products - single column on very small screens */
  /* .products-section .grid { 
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem;
  }
  .product-item img { max-width: 100px; }
  .product-item p { font-size: 0.85rem; } */
  
  /* Follow section */
  /* .follow-section { padding: 2rem 0; }
  .follow-right h2 { font-size: 2rem; } */
  .products-section::before{
    top: -60px;
    height: 110px;
  }
  .follow-right p { font-size: 0.9rem; }
  .social-icons a img { width: 48px; height: 48px; }
}

/* Extra Small Mobile (max 520px) */
@media (max-width: 520px) {
  /* Navbar extra compact */
  .topbar {
    height: 56px;
  }
  .topbar .container {
    padding: 0 0.75rem;
  }
  .topbar .logo-img {
    width: 40px;
    height: 40px;
  }
  .topbar .mobile-menu-btn {
    width: 40px;
    height: 40px;
  }
  .topbar .menu-icon {
    width: 20px;
    height: 20px;
  }
  .topbar .mobile-nav {
    top: 56px;
  }

  /* Coffee section - SHOW ONLY ONE ITEM */
  .coffee-section { 
    height: 480px; 
    padding: 1rem; 
  }
  .coffee-slider { 
    padding: 0 0.5rem; 
  }
  /* Show only one centered item on mobile */
  .coffee-slide {
    justify-content: center;
    gap: 0;
  }
  .coffee-figure { 
    display: none !important; /* Hide side items */
  }
  .coffee-figure.center { 
    display: block !important; /* Show only center item */
    width: 90%;
    max-width: 280px;
  }
  /* .coffee-title { 
    font-size: 20px; 
    top: 8%; 
    padding: 0 1rem;
    text-align: center;
  } */
  .coffee-nav-btn {
    width: 40px;
    height: 40px;
  }
  .coffee-nav-btn img {
    width: 32px !important;
    height: auto !important;
  }
  .coffee-plant {
    width: 140px !important;
  }
  .coffee-decor {
    width: 80px !important;
  }
  
  /* Hero slider extra small */
  .slider { height: 320px !important; }
  .topbar { height: 56px; }
  .topbar .logo .mark { width: 42px; height: 42px; }
  .topbar .logo .mark img { width: 28px !important; height: 28px !important; }
  .nav-btn { width: 44px; height: 44px; }
  .nav-btn svg { width: 18px; height: 18px; }
  
  /* Quote section */
  .quote-section { padding: 2rem 1rem !important; }
  .quote-section h2 { font-size: 1.5rem !important; }
  .quote-section p { font-size: 0.85rem; margin-bottom: 1.5rem; }
  .quote-section a { padding: 0.7rem 1.5rem; font-size: 0.9rem; }
  
  /* Partners section */
  /* .partners-section h2 { font-size: 1.65rem; margin-bottom: 1.5rem; } */
  .partner-figure { width: 200px; height: 220px; }
  

  .follow-right p { font-size: 0.85rem; line-height: 1.5; }
  .follow-right p br { display: none; }
  .social-icons { gap: 0rem; }
  .social-icons a img { width: 42px; height: 42px; }
  .coffee-decor.left-top {
    top: -2rem !important;
  }
  /* Media section */
  .media-grid { 
    grid-template-columns: 1fr; 
    gap: 1rem; 
    max-width: 360px; 
  }
  .media-section { padding: 3rem 0; }
  .media-section h2 { 
    font-size: 1.65rem; 
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 30;
  }
  .media-section::before{
    top: -10px;
  }
  .media-decor { 
    width: 56px; 
  }
  .view-all-btn {
    margin-bottom: 2rem;
  }
  
  /* Inquiry section */
  .inquiry-section { 
    padding: 2rem 1rem; 
  }
  .inquiry-section h2 { 
    font-size: 1.5rem; 
  }
  .inquiry-section h3 { 
    font-size: 1.35rem; 
  }
  .inquiry-section p {
    font-size: 0.85rem;
  }
  
  /* Footer */
  .footer-section { padding: 2rem 0; }
  .footer-links { 
    gap: 0.5rem; 
    font-size: 0.85rem;
  }
  .footer-social-icons { 
    gap: 0.85rem; 
  }
  .footer-social-icons img {
    width: 38px;
    height: 38px;
  }
  .footer-logo img { 
    width: 80px; 
    height: 80px; 
  }
  .footer-copyright h3 {
    font-size: 0.75rem;
  }
  
  /* Gallery adjustments */
  .gallery-grid { 
    grid-template-columns: 1fr; 
    grid-auto-rows: auto; 
    grid-template-rows: none; 
  }
  .gallery-card--big, .gallery-card--tall { 
    grid-column: auto; 
    grid-row: auto; 
  }
  .gallery-grid .gallery-card img { 
    height: 220px; 
  }
  
  /* Product detail pages */
  .partners-detail-section {
    padding: 2rem 1rem;
  }
  .partners-detail-section h2 {
    font-size: 1.5rem;
  }
  .partner-description {
    font-size: 0.9rem;
  }
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Mobile override: nudge footer pseudo-element up a little */
@media (max-width: 768px) {
  .footer-content::before {
    top: -62px !important;
  }
}
  .media-section { padding: 3rem 0; }

/* Extra Extra Small Mobile (max 400px) */
@media (max-width: 400px) {
  /* Navbar ultra compact */
  .topbar {
    height: 52px;
  }
  .topbar .container {
    padding: 0 0.5rem;
  }
  .topbar .logo-img {
    width: 36px;
    height: 36px;
  }
  .topbar .mobile-menu-btn {
    width: 36px;
    height: 36px;
  }
  .topbar .menu-icon {
    width: 18px;
    height: 18px;
  }
  .topbar .mobile-nav {
    top: 52px;
  }

  /* Hero slider ultra compact */
  .slider { height: 280px !important; }
  
  /* Quote section ultra compact */
  .quote-section { padding: 1.5rem 0.75rem !important; }
  .quote-section h2 { font-size: 1.35rem !important; }
  
  /* Coffee slider ultra compact */
  .coffee-section { height: 400px; }
  .coffee-figure.center { width: 95%; max-width: 240px; }
  .coffee-title { font-size: 18px; }
  
  /* Products single column */
  .products-section .grid { 
    grid-template-columns: 1fr !important;
  }
  
  /* Follow section compact */
  .follow-right h2 { font-size: 1.5rem; }
  
  /* Footer ultra compact */
  .footer-section { padding: 1.5rem 0; }
  .footer-logo img { width: 70px; height: 70px; }
  .footer-links { font-size: 0.8rem; }
  .footer-social-icons img { width: 34px; height: 34px; }
}

/* Ensure proper box-sizing and smooth transitions */
* {
  box-sizing: border-box;
}

/* Prevent horizontal scroll on all screen sizes */
body {
  overflow-x: hidden;
  width: 100%;
}

main {
  overflow-x: hidden;
  width: 100%;
}

/* Ensure images don't break layout */
img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   GLOBAL SCROLL ANIMATIONS
   ======================================== */

/* Base scroll animation class */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    /* slower transitions for a more relaxed feel */
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in up animation class */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

.scroll-animate.active .fade-in-up {
    animation: fadeInUpScroll 1.2s ease-out forwards;
}

.scroll-animate.active .feature-card {
    animation: fadeInUpScroll 1.0s ease-out forwards;
}

/* Animation keyframes */
@keyframes fadeInUpScroll {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleInCenter {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional animation variants */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.scroll-animate.active .fade-in-left {
    animation: fadeInLeft 1.2s ease-out forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.scroll-animate.active .fade-in-right {
    animation: fadeInRight 1.2s ease-out forwards;
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
}

.scroll-animate.active .scale-in {
    animation: scaleInCenter 1.0s ease-out forwards;
}

.slide-in-down {
    opacity: 0;
    transform: translateY(-30px);
}

.scroll-animate.active .slide-in-down {
    animation: slideInDown 1.0s ease-out forwards;
}

/* Delay classes for staggered animations */
.delay-100 { animation-delay: 0.1s !important; }
.delay-200 { animation-delay: 0.2s !important; }
.delay-300 { animation-delay: 0.3s !important; }
.delay-400 { animation-delay: 0.4s !important; }
.delay-500 { animation-delay: 0.5s !important; }
.delay-600 { animation-delay: 0.6s !important; }
.delay-700 { animation-delay: 0.7s !important; }
.delay-800 { animation-delay: 0.8s !important; }

/* Enhanced slider fade transitions */
.slide {
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.slide-fade-enter {
    animation: slidesFadeIn 0.8s ease-in-out forwards;
}

.slide-fade-exit {
    animation: slidesFadeOut 0.8s ease-in-out forwards;
}

@keyframes slidesFadeIn {
    0% {
        opacity: 0;
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slidesFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.02);
    }
}

/* ========================================
   UNIQUE COFFEE SECTION ANIMATIONS
   ======================================== */

/* Coffee section specific animations */


.coffee-section:hover .coffee-title {
    animation: coffeeGlow 0.6s ease-in-out;
}

@keyframes coffeeGlow {
    0%, 100% {
        /* text-shadow: 0 0 5px rgba(139, 69, 19, 0.3); */
    }
    50% {
        /* text-shadow: 0 0 20px rgba(139, 69, 19, 0.8), 0 0 30px rgba(255, 165, 0, 0.6); */
        transform: translateX(-50%) scale(1.02);
    }
}

/* .coffee-animate {
    opacity: 0;
    transform: translateY(60px) rotateX(15deg);
    transition: all 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.coffee-animate.active {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
} */

.coffee-title {
    animation: coffeeSparkle 2s ease-out forwards;
}

@keyframes coffeeSparkle {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.5) rotate(-10deg);
        filter: blur(5px);
    }
    50% {
        transform: translateX(-50%) scale(1.1) rotate(2deg);
        filter: blur(0px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1) rotate(0deg);
        filter: blur(0px);
    }
}

.coffee-figure {
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.coffee-slide-visible .coffee-figure {
    animation: coffeeFloat 1.2s ease-out forwards;
}

@keyframes coffeeFloat {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.8) rotateY(-20deg);
    }
    60% {
        transform: translateY(-10px) scale(1.05) rotateY(5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateY(0deg);
    }
}

.coffee-figure.center {
    animation-delay: 0.2s;
}

.coffee-figure:first-child {
    animation-delay: 0s;
}

.coffee-figure:last-child {
    animation-delay: 0.4s;
}

/* Interactive coffee hover effects */
.coffee-slide-visible .coffee-figure:hover {
  /* Limit hover/scale to only figures inside the active/visible slide */
  transform: translateY(-15px) scale(1.1) rotateY(10deg);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.3));
}

.coffee-slide-visible .coffee-figure.center:hover {
  transform: translateY(-20px) scale(1.15) rotateY(-5deg);
}

/* Coffee navigation buttons with unique effects */
.coffee-nav-btn {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.coffee-nav-btn:hover {
    transform: scale(1.2) rotate(360deg);
    filter: drop-shadow(0 8px 16px rgba(139, 69, 19, 0.4));
}

/* ========================================
   UNIQUE SLIDER ANIMATIONS
   ======================================== */

/* Slider with sliding and zoom effect */
.slide-slide-in {
    animation: slideSlideIn 1s ease-out forwards;
}

.slide-slide-out {
    animation: slideSlideOut 1s ease-out forwards;
}

@keyframes slideSlideIn {
    0% {
        opacity: 0;
        transform: translateX(100%) scale(1.2);
        filter: blur(2px);
    }
    50% {
        opacity: 0.7;
        transform: translateX(20%) scale(1.1);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: translateX(0%) scale(1);
        filter: blur(0px);
    }
}

@keyframes slideSlideOut {
    0% {
        opacity: 1;
        transform: translateX(0%) scale(1);
        filter: blur(0px);
    }
    50% {
        opacity: 0.7;
        transform: translateX(-20%) scale(1.1);
        filter: blur(1px);
    }
    100% {
        opacity: 0;
        transform: translateX(-100%) scale(1.2);
        filter: blur(2px);
    }
}

/* Alternate animation - zoom and rotate */
.slide-zoom-in {
    animation: slideZoomIn 1.2s ease-out forwards;
}

.slide-zoom-out {
    animation: slideZoomOut 1.2s ease-out forwards;
}

@keyframes slideZoomIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(10deg);
        filter: blur(8px);
    }
    70% {
        opacity: 0.8;
        transform: scale(1.05) rotate(-2deg);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0px);
    }
}

@keyframes slideZoomOut {
    0% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0px);
    }
    30% {
        opacity: 0.8;
        transform: scale(1.05) rotate(2deg);
        filter: blur(1px);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) rotate(-10deg);
        filter: blur(8px);
    }
}

/* Enhanced slider indicators */
.indicator {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.indicator:hover::before {
    width: 20px;
    height: 20px;
}

.indicator-active {
    animation: indicatorPulse 2s ease-in-out infinite;
}

@keyframes indicatorPulse {
    0%, 100% {
        transform: scale(1.2);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        transform: scale(1.4);
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
}

/* Ensure footer mobile layout applies (last in file for override) */
@media (max-width: 768px) {
  .footer-content {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding-right: 1rem;
  }

  .footer-logo { order: 1; }

  /* Middle row: links (left) and social (right) */
  .footer-middle-row {
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 1rem;
    order: 2;
  }

  .footer-links {
    align-items: flex-start;
    text-align: left;
    flex: 1 1 60%;
  }

  .footer-social-section {
    align-items: flex-end;
    text-align: right;
    flex: 1 1 40%;
  }

  /* Copyright always at the bottom */
  .footer-copyright {
    order: 99;
    width: 100%;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
}
