/* code obsificusing + minification */
/* Load Segoe UI (Regular) */
@font-face {
  font-family: 'Segoe UI';
  src: url('/assets/fonts/SegoeUI.woff2') format('woff2'),
    url('/assets/fonts/SegoeUI.woff') format('woff'),
    url('/assets/fonts/SegoeUI.eot') format('eot'),
    url('/assets/fonts/SegoeUI.ttf') format('ttf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Load Goudy Old Style (Regular) */
@font-face {
  font-family: 'Goudy Old Style';
  src: url('/assets/fonts/GoudyOldStyle.woff2') format('woff2'),
    url('/assets/fonts/GoudyOldStyle.woff') format('woff'),
    url('/assets/fonts/GoudyOldStyle.eot') format('eot'),
    url('/assets/fonts/GoudyOldStyle.ttf') format('ttf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color palette */
  --primary-color: #04a12b;
  --light-color: #dad7cd;
  --text-color: #344e41;
  --white: #ffffff;
  --black: #000000;
  --color-primary: rgba(245, 176, 123, 0.15);
  --color-secondary: rgba(217, 201, 186, 0.3);
  --color-dark: #582905;
  --color-green: #2c5e2e;
  --color-hover: #ffcc00;
  --bg-section-dark: #f5f5f5;

  /* Font families */
  --font-primary: 'Segoe UI',
    Tahoma,
    Geneva,
    Verdana,
    sans-serif;
  --font-heading: 'Goudy Old Style',
    Garamond,
    'Times New Roman',
    serif;

  /* Spacing */
  --spacing-section: 3rem 1.5rem;
  --spacing-about: 2rem 1.5rem;

  /* Font sizes */
  --fs-base: 1rem;
  --fs-timeline-desc: 1rem;
  --fs-para: 1.2rem;
  --fs-title: 2.5rem;
  --fs-sub-title: 2rem;
  --fs-card-title: 1.5rem;
  --fs-button: 1rem;

  /* Z-index */
  --z-about-content: 2;

  --section-padding-x: 5%;
  --section-padding-y: 4rem;
  --section-padding-sm: 2rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-heading);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--light-color);
  overflow-x: hidden;
  line-height: 1.6;
}

p {
  font-size: var(--fs-para);
  margin-bottom: 1rem;
}

.error-p {
  font-size: var(--fs-para);
  margin-bottom: 1rem;
  text-align: center;
}

h1 {
  color: var(--color-dark);
  text-align: center;
  font-size: 5rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.container p {
  color: var(--black);
  text-align: justify;
}

.section-light {
  background-color: var(--white);
  color: var(--black);
  padding: var(--spacing-section);
}

.section-dark {
  background-color: var(--bg-section-dark);
  color: var(--text-color);
  padding: var(--spacing-section);
}

/* Section Padding styles */
.standard-section {
  padding: var(--section-padding-y) var(--section-padding-x);
}

/* For smaller sections that need less padding */
.standard-section-sm {
  padding: var(--section-padding-sm) var(--section-padding-x);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  :root {
    --section-padding-x: 1.5rem;
    --section-padding-y: 3rem;
    --section-padding-sm: 1.5rem;
  }
}

@media (max-width: 576px) {
  :root {
    --section-padding-x: 1rem;
    --section-padding-y: 2rem;
    --section-padding-sm: 1rem;
  }
}

/* New Navigation Styles */
.new-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  transition: background-color 0.5s ease;
}

.new-nav.transparent {
  background-color: transparent;
}

.new-nav.scrolled {
  background-color: var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.new-nav.hidden {
  transform: translateY(-100%);
}

.nav-hamburger {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 3.125rem;
  height: 0.1875rem;
  background-color: var(--white);
  margin: 0.25rem 0;
  transition: all 0.3s ease;
  border-radius: 0.125rem;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(0.5rem) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-0.5rem) rotate(-45deg);
}

.nav-logo {
  height: 4.375rem;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 100%;
  width: auto;
  max-height: 4.375rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nav-logo a {
  height: 4.375rem;
  display: flex;
  align-items: center;
}

/* ===== ABOUT US BANNER STYLES ===== */
#timeline-1 {
  background: linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0.6)),
    url('./assets/images/history_timeline/bg_history.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.about-us-back-btn {
  background-color: var(--color-dark);
  color: white;
  border: none;
  padding: 0.625rem 1.25rem;
  border-radius: 1.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.about-us-back-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-0.125rem);
  color: white;
}

/* Sticky Navigation - FIXED */
.sticky-nav {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  width: calc(100% - 2.5rem);
  height: 3.75rem;
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 0px 3.125rem 0px 3.125rem;
  padding: 0 1.25rem;
  transition: all 0.4s ease;
  font-size: 1.3rem;
}

.sticky-nav.sticky {
  position: fixed;
  top: 0;
  bottom: auto;
  border-radius: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  justify-content: space-between;
  padding: 0 5%;
}

/* FIX: Logo container with constrained width */
.sticky-nav-logo {
  display: none;
  height: 3.125rem;
  margin-right: 1.25rem;
  width: 9.375rem;
  flex-shrink: 0;
  align-items: center;
}

.sticky-nav.sticky .sticky-nav-logo {
  display: flex;
}

/* FIX: Logo image with constrained dimensions */
.sticky-nav-logo img {
  height: 80%;
  width: auto;
  object-fit: contain;
  max-height: 2.8125rem;
}

.sticky-nav-links {
  display: flex;
  justify-content: center;
  gap: 1.875rem;
  width: 100%;
  max-width: 50rem;
}

.sticky-nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  padding: 0.3125rem 0;
  position: relative;
  transition: all 0.3s;
  white-space: nowrap;
}

.sticky-nav-links a:hover {
  color: var(--color-hover);
}

.sticky-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.125rem;
  background-color: var(--color-hover);
  transition: width 0.3s;
}

.sticky-nav-links a:hover::after {
  width: 100%;
}

.sticky-nav-leaf {
  position: absolute;
  right: -0.625rem;
  top: -6.25rem;
  width: 12.5rem;
  height: 12.5rem;
  transition: all 0.4s ease;
}

.sticky-nav.sticky .sticky-nav-leaf {
  opacity: 0;
  visibility: hidden;
}

.sticky-nav-leaf img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

/* Language Selector Styles */
.language-selector {
  display: inline-block;
  position: relative;
}

.language-toggle {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: var(--color-dark);
  color: white;
  border-radius: 0 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(139, 119, 92, 0.3);
}

.language-toggle:hover {
  background: var(--primary-color);
  transform: translateY(-0.125rem);
  box-shadow: 0 6px 15px rgba(139, 119, 92, 0.4);
}

.language-toggle i {
  margin-right: 0.625rem;
  font-size: 1.2rem;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 7.5rem;
  background: white;
  border-radius: 0 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  margin-top: 0.625rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.625rem);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

.language-selector.active .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  padding: 0.75rem 0.9375rem;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.language-option:last-child {
  border-bottom: none;
}

.language-option:hover {
  background: #f8f8f8;
  padding-left: 1.25rem;
}

.language-flag {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  margin-right: 0.75rem;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-name {
  flex: 1;
  text-align: left;
  font-size: 0.95rem;
}

.language-code {
  color: #888;
  font-size: 0.85rem;
}

/* New Sidebar Menu */
.sidebar-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 20rem;
  height: fit-content;
  background: var(--white);
  z-index: 999;
  transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
  border-radius: 0 3.125rem 3.125rem 0;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  gap: 1.25rem;
  overflow-y: auto;
}

.sidebar-menu.active {
  left: 0;
  box-shadow: 5px 0 25px rgba(0, 0, 0, 0.2);
}

.sidebar-logo {
  width: 9.375rem;
  align-self: center;
}

.sidebar-logo img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.sidebar-description {
  text-align: center;
  color: var(--text-color);
  line-height: 1;
  margin-bottom: 0.3rem;
  font-size: 15px;
}

.sidebar-social {
  display: flex;
  justify-content: center;
  gap: 0.9375rem;
  margin-bottom: 1.25rem;
}

.sidebar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary-color);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  font-size: 1.125rem;
  text-decoration: none;
}

.sidebar-social a:hover {
  background: var(--color-hover);
  transform: translateY(-0.1875rem);
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-links a {
  color: var(--black);
  text-decoration: none;
  font-size: 1.125rem;
  padding: 0.375rem 1.25rem;
  border-radius: 0 0.9375rem 0 0.9375rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-links a:hover {
  background: rgba(44, 95, 45, 0.1);
  transform: translateX(0.3125rem);
}

/* Video Banner */
.video-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-banner video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  min-width: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start !important;
  text-align: left !important;
  color: white;
  padding: 2.5rem;
  z-index: 2;
  background: rgba(0, 0, 0, 0.1);
}

.video-overlay h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 5px 5px 14px rgba(0, 0, 0, 0.7);
  font-family: var(--font-heading);
  text-align: left !important;
  margin-left: 0;
  width: 100%;
  max-width: 800px;
}

/*About Us section*/
.about-text-p {
  font-size: var(--fs-para);
  font-family: var(--font-heading);
  text-align: center;
  color: var(--black);
}

.about-section {
  padding: 1.25rem 2.5rem;
  position: relative;
  padding: var(--spacing-about);
  color: var(--black);
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  text-align: left;
}

.about-content {
  position: relative;
  z-index: var(--z-about-content);
  animation: fadeInUp 1.2s ease;
  color: var(--black);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(3.125rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.founder-img {
  border-radius: 50%;
  width: 11.25rem;
  height: 11.25rem;
  object-fit: cover;
  border: 0.3125rem solid var(--white);
  color: var(--white);
}

/* Event Card Styles */
.event1-card {
  display: flex;
  background: white;
  border-radius: 0 30px 0 30px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 40px;
}

.event1-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.event1-image {
  position: relative;
  flex: 0 0 45%;
  min-height: 300px;
  overflow: hidden;
}

.event1-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event1-card:hover .event1-image img {
  transform: scale(1.05);
}

.event1-date {
  position: absolute;
  top: 20px;
  left: 20px;
  text-align: center;
  background: var(--primary-color);
  color: white;
  padding: 12px;
  border-radius: 10px;
  width: 70px;
  line-height: 1.2;
  z-index: 2;
}

.event1-day {
  display: block;
  font-size: 28px;
  font-weight: 700;
}

.event1-month {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event1-content {
  flex: 0 0 55%;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.event1-title {
  font-size: var(--fs-card-title);
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-dark);
  font-family: var(--font-heading);
}

.event1-details {
  margin-bottom: 15px;
}

.event1-details p {
  margin-bottom: 8px;
  color: #666;
  display: flex;
  align-items: center;
}

#event-icon {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 18px;
}

.event1-description {
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.event1-btn {
  background-color: var(--color-dark);
  color: white;
  padding: 12px 25px;
  border-radius: 0 20px 0 20px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  align-self: flex-start;
  font-size: var(--fs-button);
  align-items: center;
}

.event1-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Section header styles */
.section-header {
  text-align: left;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: var(--fs-title);
  color: var(--color-dark);
  margin-bottom: 0.9375rem;
  text-align: left;
}

.section-header p {
  color: #666;
  font-size: var(--fs-para);
  max-width: 43.75rem;
  text-align: left;
}

/* Events Tab Styles */
#eventsTab .nav-link {
  color: rgba(102, 59, 32, 0.8);
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 1.875rem;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
}

#eventsTab .nav-link.active {
  background-color: var(--color-dark);
  color: var(--white);
  border-radius: 0px 0.9375rem 0 0.9375rem;
}

#eventsTab .nav-link:hover:not(.active) {
  background-color: var(--primary-color);
  border-radius: 0px 0.9375rem 0 0.9375rem;
}

#event-icon {
  color: var(--color-hover);
}

/* Awards section */
.awards-section {
  position: relative;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to bottom, #f8f8f8, #e9e9e9);
  overflow: hidden;
}

.award-card {
  transition: transform 0.4s;
  font-family: var(--font-primary);
  color: var(--black);
  background-color: var(--white);
  border-radius: 0 2.5rem 0 2.5rem;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.award-card img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 6.25rem;
  object-fit: cover;
  margin: auto;
}

.mb-tea {
  margin-bottom: 1.25rem !important;
}

.award-card:hover {
  transform: scale(1.05);
}

/* Timeline Styles */
.timeline__content-title {
  font-weight: normal;
  font-size: 4.5rem;
  margin: -0.625rem 0 0 0;
  transition: 0.4s;
  padding: 0 0.625rem;
  box-sizing: border-box;
  font-family: var(--font-heading);
  color: #ffeb60;
  background-color: var(--color-dark);
}

.timeline__content-desc {
  margin: 0;
  font-size: var(--fs-timeline-desc);
  box-sizing: border-box;
  color: var(--black);
  font-family: var(--font-heading);
  font-weight: normal;
  line-height: 2rem;
}

.timeline {
  display: flex;
  margin: 0 auto;
  flex-wrap: wrap;
  flex-direction: column;
  max-width: 56.25rem;
  position: relative;
}

.timeline:before {
  position: absolute;
  left: 50%;
  width: 0.125rem;
  height: 100%;
  margin-left: -0.0625rem;
  content: "";
  background: 0.125rem solid rgba(235, 234, 234, 0.852);
}

.timeline-item {
  padding: 2.5rem 0;
  opacity: .3;
  filter: blur(0.125rem);
  transition: 0.2s;
  box-sizing: border-box;
  width: calc(50% - 2.5rem);
  display: flex;
  position: relative;
  transform: translateY(-5rem);
}

.timeline-item:before {
  content: attr(data-text);
  letter-spacing: 0.1875rem;
  width: 100%;
  position: absolute;
  color: var(--color-dark);
  font-size: 2.5rem;
  font-family: var(--font-heading);
  border-left: 0.125rem solid rgba(255, 255, 255, 0.7);
  top: 70%;
  margin-top: -0.3125rem;
  padding-left: 0.9375rem;
  opacity: 0;
  right: calc(-100% - 3.5rem);
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
}

.timeline-item:nth-child(even):before {
  right: auto;
  text-align: right;
  left: calc(-100% - 3.5rem);
  padding-left: 0;
  border-left: none;
  border-right: 0.125rem solid rgba(255, 255, 255, 0.7);
  padding-right: 0.9375rem;
}

.timeline-item--active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}

.timeline-item--active:before {
  top: 50%;
  transition: 0.3s all 0.2s;
  opacity: 1;
}

.timeline-item--active .timeline__content-title {
  margin: -3.125rem 0 1.25rem 0;
}

.timeline__img {
  max-width: 100%;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
}

.timeline-container {
  width: 100%;
  position: relative;
  padding: var(--spacing-about);
  transition: .3s ease 0s;
  background-attachment: fixed;
  background-size: cover;
}

.timeline-container:before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  content: "";
}

.timeline-header {
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-header-title {
  color: var(--black);
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: normal;
  margin: 0;
}

.timeline-header-subtitle {
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 0.3125rem;
  margin: 0.625rem 0 0 0;
  font-weight: normal;
}

/* Founder Message Styles - UPDATED */
.founder-section {
  padding: 1.875rem 3.75rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.founder-container {
  display: flex;
  max-width: 62.5rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 1.875rem;
}

.image-section {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-image {
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  overflow: hidden;
  border: 0.25rem solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.circle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.09);
  padding: 1.875rem;
  max-width: 62.5rem;
  position: relative;
  border-radius: 0 1.875rem;
}

.title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.09375rem;
  margin-bottom: 0.625rem;
}

.name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.name:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3.75rem;
  height: 0.1875rem;
  background-color: var(--primary-color);
}

.message {
  color: var(--black);
  font-size: var(--fs-para);
  line-height: 1.7;
  margin-bottom: 1.5625rem;
}

.founder-quote {
  font-style: italic;
  font-size: var(--fs-para);
  text-align: left;
  color: var(--color-dark);
  border-left: 0.1875rem solid var(--primary-color);
  padding-left: 0.9375rem;
  margin-top: 1.25rem;
}

/* Tea Cup Decoration */
.founder-tea-cup {
  position: absolute;
  top: 50%;
  right: -1.875rem;
  transform: translateY(-50%);
  width: 9.375rem;
  height: auto;
  z-index: 2;
  opacity: 0.8;
}

/* our tea Product-section */
.tea-products-section {
  background-color: var(--bg-section-dark);
  color: var(--text-color);
  padding: 20px 24px;
  border-radius: 10px;
}

.tea-product-card::before {
  content: '';
  display: block;
  padding-top: 140%;
  /* 7/5 * 100% = 140% for 5:7 ratio */
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 3px;
  background-color: var(--primary-color);
}

/* CSS Grid Solution for Tea Products */
.tea-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 1200px) {
  .tea-products-grid {
    grid-template-columns: repeat(3, 320px);
    justify-content: center;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .tea-products-grid {
    grid-template-columns: repeat(3, 300px);
    justify-content: center;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .tea-products-grid {
    grid-template-columns: repeat(2, 280px);
    justify-content: center;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .tea-products-grid {
    grid-template-columns: repeat(2, 240px);
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .tea-products-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

/* Tea Product Card Styles with Fixed 5:7 Aspect Ratio */
.tea-product-card {
  background-color: #4caf50;
  border-radius: 2.5rem 0 2.5rem 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
  margin-bottom: 1.5rem;
  aspect-ratio: 5/7;
  
  /* Default desktop size - made smaller to fit 3 cards */
  width: 280px; /* Reduced from 320px to fit 3 cards */
  height: 392px; /* 280 * 1.4 = 392px to maintain 5:7 ratio */
}

.tea-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hover effect for the cards */
.tea-product-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* lef-card for product starts */
/* Leaf Design for Tea Cards */
.leaf-tea-card {
  position: relative;
  overflow: hidden;
}

.leaf-design {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 80% 0% 80% 20% / 70% 40% 70% 0%;
  overflow: hidden;
  
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  color: white;
  text-align: left;
  padding: 1rem;
  box-sizing: border-box;
  z-index: 3;
}

/* The image container */
.card-image-corner {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45%;
  height: auto;
  z-index: 1;
}

/* Style the image itself */
.card-image-corner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* The image container ends */

.leaf-content {
  max-width: 85%;
  color: #000000;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  margin-top: 0.5rem;
  z-index: 2;
}

.leaf-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  text-align: right;
  line-height: 1.1;
}

.leaf-content h5 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  font-weight: 400;
  text-align: right;
  line-height: 1.1;
}

.leaf-content p {
  font-size: 0.9rem;
  line-height: 1.2;
  margin: 0;
}

.tea-products-section .row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  justify-content: center;
}

/* Large Desktop (1200px and above) - 3 cards per row */
@media (min-width: 1200px) {
  .tea-product-card {
    width: 280px; /* Keep same as default */
    height: 392px;
  }
}

/* Desktop (992px - 1199px) - 3 cards per row */
@media (min-width: 992px) and (max-width: 1199px) {
  .tea-product-card {
    width: 270px; /* Slightly smaller to ensure 3 fit */
    height: 378px;
  }
  
  .leaf-content h3 { font-size: 1.2rem;
  margin-bottom: 0; }
  .leaf-content h5 { font-size: 0.92rem; }
  .leaf-content p { font-size: 0.8rem; }
  .leaf-design { padding: 0.9rem; }
}

/* Tablet (768px - 991px) - 2 cards per row */
@media (min-width: 768px) and (max-width: 991px) {
  .tea-product-card {
    width: 280px; /* Can be slightly larger with 2 cards */
    height: 392px;
  }
  
  .leaf-content h3 { font-size: 1.18rem; }
  .leaf-content h5 { font-size: 0.9rem; }
  .leaf-content p { font-size: 1.0rem; }
  .leaf-design { padding: 0.85rem; }
  .leaf-content { max-width: 88%; }
}

/* Mobile Landscape (576px - 767px) - 2 cards per row */
@media (min-width: 576px) and (max-width: 767px) {
  .tea-product-card {
    width: 240px; /* Smaller for mobile landscape */
    height: 336px; /* 240 * 1.4 = 336px - proper 5:7 ratio */
  }
  
  .leaf-content h3 { font-size: 1.1rem; }
  .leaf-content h5 { font-size: 0.85rem; }
  .leaf-content p { font-size: 0.75rem; }
  .leaf-design { padding: 0.7rem; }
  .leaf-content { max-width: 90%; }
  .card-image-corner { width: 42%; }
}

/* Mobile Portrait (480px - 575px) - 1 card per row - FIXED RATIO */
@media (min-width: 480px) and (max-width: 575px) {
  .tea-product-card {
    width: 280px; /* Same as tablet for single card view */
    height: 392px; /* 280 * 1.4 = 392px - proper 5:7 ratio */
  }
  
  .leaf-content h3 { font-size: 1.5rem; }
  .leaf-content h5 { font-size: 1.2rem; }
  .leaf-content p { font-size: 1rem; }
  .leaf-design { padding: 0.8rem; }
  .leaf-content { max-width: 88%; }
  .card-image-corner { width: 44%; }
}

/* Small Mobile (below 480px) - 1 card per row */
@media (max-width: 479px) {
  .tea-product-card {
    width: 260px; /* Slightly smaller for very small screens */
    height: 364px; /* 260 * 1.4 = 364px - proper 5:7 ratio */
  }
  
  .leaf-content h3 { font-size: 1.5rem; }
  .leaf-content h5 { font-size: 1.3rem; }
  .leaf-content p { font-size: 1.2rem; }
  .leaf-design { padding: 1.2rem; }
  .leaf-content { max-width: 90%; }
  .card-image-corner { width: 42%; }
}

/* Ensure proper grid behavior for 3 cards in desktop */
.tea-products-section .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.tea-products-section .col-md-4,
.tea-products-section .col-sm-6 {
  display: flex;
  justify-content: center;
  flex: 0 0 auto;
}

/* Specific fixes for the 480px-575px breakpoint to prevent stretching */
@media (min-width: 480px) and (max-width: 575px) {
  .leaf-design {
    border-radius: 75% 0% 75% 20% / 65% 35% 65% 0%; 
    padding: 1rem;
  }
  
  .leaf-content {
    transform: none; /* Remove any transforms that might cause stretching */
  }
  
  .card-image-corner img {
    object-fit: contain; /* Ensure image maintains aspect ratio */
    max-height: 100%;
  }
}

/* Hover effect for leaf cards */
/* .leaf-tea-card:hover .leaf-design {
  background: linear-gradient(135deg, #1b5e20 0%, #388e3c 100%);
  transform: scale(1.02);
  transition: all 0.3s ease;
} */
/* leaf-card for product ends */

/* NEW VALUES SECTION STYLES */
.values-new-section {
  padding: 4rem 1.5rem;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.values-flow-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  /* padding: 40px 20px; */
}

.values-flow {
  display: flex;
  justify-content: space-between;
  position: relative;
  flex-wrap: wrap;
}

/* Connector line */
.values-flow::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 10%;
  right: 10%;
  height: 4px;
  background-color: var(--bg-section-dark);
  z-index: 1;
  border-radius: 3px;
}

.value-flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 0 0 calc(16.666% - 20px);
  padding: 0 15px;
  margin-bottom: 30px;
}

.value-icon-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-dark), var(--color-dark));
  color: white;
  font-size: 1.3rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.value-icon-wrapper:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(44, 94, 46, 0.4);
}

.value-icon-wrapper:hover::after {
  transform: rotate(15deg);
  opacity: 0.6;
}

.value-title {
  font-size: 1.2rem;
  color: var(--color-dark);
  margin-bottom: 12px;
  font-weight: 600;
  text-align: center;
  font-family: var(--font-heading);
}

.value-description {
  color: #666;
  line-height: 1.2;
  text-align: center !important;
  font-size: var(--fs-para);
  max-width: 200px;
}

/* Different colors for each icon */
.value-flow-item:nth-child(1) .value-icon-wrapper {
  background: linear-gradient(135deg, var(--color-dark), var(--color-dark));
}

.value-flow-item:nth-child(2) .value-icon-wrapper {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
}

.value-flow-item:nth-child(3) .value-icon-wrapper {
  background: linear-gradient(135deg, var(--color-dark), var(--color-dark));
}

.value-flow-item:nth-child(4) .value-icon-wrapper {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
}

.value-flow-item:nth-child(5) .value-icon-wrapper {
  background: linear-gradient(135deg, var(--color-dark), var(--color-dark));
}

.value-flow-item:nth-child(6) .value-icon-wrapper {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
}

/* Decorative elements */
.tea-leaf-decoration {
  position: absolute;
  opacity: 0.1;
  z-index: 0;
  color: var(--primary-color);
  font-size: 8rem;
}

.leaf-1 {
  top: -40px;
  left: 5%;
  transform: rotate(30deg);
}

.leaf-2 {
  bottom: -40px;
  right: 5%;
  transform: rotate(-20deg);
}

.events-see-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 0 1.875rem 0 1.875rem;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: var(--fs-button);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(88, 41, 5, 0.3);
  position: relative;
  overflow: hidden;
}

.events-see-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.events-see-more-btn:hover {
  background-color: var(--color-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(4, 161, 43, 0.4);
  color: white;
}

.events-see-more-btn:hover::before {
  left: 100%;
}

.events-see-more-btn i {
  transition: transform 0.3s ease;
}

.events-see-more-btn:hover i {
  transform: translateX(5px);
}


/* Hide non-active tab content */
.tab-pane:not(.show) {
  display: none !important;
}

.tab-pane.show {
  display: block !important;
}

/* Products Section */
.products-section {
  position: relative;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to bottom, #f8f8f8, #e9e9e9);
  overflow: hidden;
}

.section-title {
  text-align: left;
  font-size: var(--fs-title);
  margin-bottom: 2rem;
  color: var(--color-dark);
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 60px;
  align-items: flex-start;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--primary-color);
}

.products-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.875rem;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: 3.75rem 0 3.75rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-video {
  flex: 1;
  min-width: 0;
  border-radius: 3.75rem 0px 0px 0;
  overflow: hidden;
  position: relative;

}

.product-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Video Controls Overlay */
.video-controls-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.video-controls-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}



.play-button:hover {
  transform: scale(1.05);
}


.sound-indicator {
  color: white;
  font-size: 14px;
  text-align: center;

  padding: 8px 15px;
  border-radius: 20px;
}

.sound-toggle {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
}

.sound-toggle i {
  color: white;
  font-size: 18px;
}

.product-slider {
  flex: 1;
  min-width: 0;
  position: relative;
  height: auto;
  min-height: 400px;
  overflow: hidden;
  /* border-radius: 3.75rem  0 0px 0px; */

}

.product-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.product-slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.875rem;
  background: var(--white);
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
}

.product-image {
  width: 100%;
  max-width: 12.5rem;
  height: 18.75rem;
  border-radius: 0px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-title {
  font-size: var(--fs-card-title);
  margin-bottom: 0.625rem;
  color: var(--primary-color);
}

.product-desc {
  margin-bottom: 1.25rem;
  color: #666;
  line-height: 1.6;
  font-size: var(--fs-para);
}

.product-brochure {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background-color: var(--color-dark);
  color: white;
  text-decoration: none;
  border-radius: 0px 0.9375rem 0px 0.9375rem;
  transition: all 0.3s ease;
  font-size: var(--fs-button);
}

.product-brochure:hover {
  background-color: var(--primary-color);
  transform: translateY(-0.1875rem);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
  padding: 0 1.25rem;
}

.slider-arrow {
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slider-arrow:hover {
  background-color: var(--primary-color);
  color: white;
}

.decorative-element {
  position: absolute;
  z-index: 1;
}

.decorative-bottom-left {
  bottom: 0.625rem;
  left: 0.125rem;
  width: auto;
  height: 12.5rem;
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.testimonials-slider {
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 20px;
  box-sizing: border-box;
}

.testimonial-card {
  background: var(--white);
  border-radius: 0 30px 0 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
  position: relative;
  text-align: center;
}

.quote-icon {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 20px;
  opacity: 0.7;
}

.testimonial-text {
  font-size: var(--fs-para);
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 30px;
  font-style: italic;
  position: relative;
}

.testimonial-author {
  margin-top: 25px;
}

.testimonial-author h4 {
  font-size: var(--fs-card-title);
  color: var(--color-dark);
  margin-bottom: 5px;
  font-weight: 700;
}

.testimonial-author p {
  color: var(--primary-color);
  font-size: 1rem;
  margin-bottom: 0;
  font-weight: 500;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.testimonial-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-dark);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  margin: 0 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-arrow:hover {
  background-color: var(--primary-color);
  transform: scale(1.1);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  background: #ddd;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background: var(--primary-color);
  transform: scale(1.3);
}

/* Map Section */

.new-map-section {
  padding: 2rem 5%;
  /* max-width: 75rem; */
  margin: 0 auto;
}

.map-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3.125rem;
  align-items: flex-start;
  justify-content: space-between;

}

.map-info {
  flex: 1;
  min-width: 18.75rem;
  max-width: 28.125rem;
}

.map-info h2 {
  font-size: var(--fs-sub-title);
  margin-bottom: 1.25rem;
  color: var(--primary-color);
}

.map-info p {
  margin-bottom: 1.25rem;
  line-height: 1.6;
  color: var(--text-color);
}

.map-address {
  background: #f5f5f5;
  padding: 1.25rem;
  border-radius: 0px 0.9375rem 0px 0.9375rem;
  margin-bottom: 1.25rem;
  border-left: 0.25rem solid var(--primary-color);
}

.map-address p {
  margin-bottom: 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.map-address a {
  text-decoration: none;
  color: inherit;
}

.map-address i {
  color: var(--color-hover);
}

.map-embed {
  flex: 1;
  width: 100%;
  border-radius: 0 1.875rem 0 1.875rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5625rem;
  background-color: var(--color-dark);
  color: white;
  text-decoration: none;
  border-radius: 0px 1.25rem 0px 1.25rem;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: var(--fs-button);
}

.directions-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-0.1875rem);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Tea leaf decorative elements */
.tea-leaf {
  position: absolute;
  opacity: 0.1;
  z-index: 0;
}

.leaf-1 {
  top: 10%;
  left: 5%;
  transform: rotate(20deg);
  font-size: 3rem;
  color: var(--primary-color);
}

.leaf-2 {
  bottom: 10%;
  right: 5%;
  transform: rotate(-15deg);
  font-size: 2.5rem;
  color: var(--secondary-color);
}

/* Footer Styles */
.footer {
  position: relative;
  width: 100%;
  color: #fff;
  padding: 0;
  margin-top: auto;
  overflow: hidden;
}

.footer-main {
  display: grid;
  background: url('./assets/images/footer-tea-pot.webp') no-repeat center center/cover;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 28.125rem;
  position: relative;
}

/* Left Green Polygon Shape */
.footer-polygon {
  background: var(--primary-color);
  padding: 3.75rem 3.125rem 3.75rem 5rem;
  color: white;
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  z-index: 2;
}

.footer-logo {
  width: 11.25rem;
  margin-bottom: 1.5625rem;
}

.footer-about {
  max-width: 18.75rem;
}

.footer-about p {
  line-height: 1.6;
  margin-bottom: 1.5625rem;
  font-size: 1.125rem;
  color: #e6e6e6;
}

.footer-social {
  display: flex;
  gap: 0.9375rem;
  margin-top: 1.25rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
  font-size: 1.125rem;
  text-decoration: none;
}

.footer-social a:hover {
  background: #ffcc00;
  transform: translateY(-0.1875rem);
}

/* Tea Cup Center */
.footer-tea-cup {
  position: absolute;
  left: 40%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12.5rem;
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.4));
}

/* Right Content */
.footer-content {
  padding: 3.75rem 5rem 3.75rem 0;
  margin-left: 50%;
  width: 50%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.footer-contact a {
  text-decoration: none;
  color: var(--white)
}

.footer-section {
  padding: 1.25rem 0;
}

.footer-section h3 {
  margin-bottom: 1.25rem;
  font-size: 1.375rem;
  position: relative;
  padding-bottom: 0.625rem;
  font-weight: 600;
}


/* Footer Bottom */
.footer-bottom {
  padding: 0.625rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.875rem;
  color: #ccc;
  z-index: 2;
  position: relative;
  background: var(--color-dark);
}

.footer-bottom a {
  color: #ffcc00;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ================= MEDIA QUERIES ================= */
/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Medium devices (tablets, 768px to 1199px) */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }

  .video-overlay h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: var(--fs-title);
  }

  .timeline__content-title {
    font-size: 4rem;
  }

  .footer-content {
    padding: 3.75rem 2.5rem 3.75rem 0;
    gap: 2rem;
  }

  .footer-polygon {
    padding: 3.75rem 2.5rem 3.75rem 3.75rem;
  }
}

@media (max-width: 992px) {
  .testimonial-card {
    padding: 30px;
  }

  .testimonial-text {
    font-size: 1rem;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (max-width: 767px) {
  .container {
    max-width: 100%;
    padding: 0 0.9375rem;
  }

  html {
    font-size: 14px;
  }

  .new-nav {
    height: 4rem;
    padding: 3rem 2rem;
  }

  .nav-logo {
    height: 3.5rem;
  }

  .nav-logo a {
    height: 3.5rem;
  }

  .about-us-banner {
    height: 15rem;
    margin-bottom: 2rem;
  }

  .sticky-nav {
    display: none;
  }

  .sidebar-menu {
    display: flex;
    flex-direction: column;
    height: fit-content;
    padding: 1.5rem 1.25rem;
    justify-content: space-between;
  }

  .sidebar-logo {
    width: 7rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
  }

  .sidebar-links {
    flex: 1;
    overflow-y: auto;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
  }

  .sidebar-links a {
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    border-radius: 0 0.75rem 0 0.75rem;
  }

  .sidebar-description {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
    flex-shrink: 0;
  }

  .sidebar-social {
    margin-top: auto;
    margin-bottom: 1rem;
    flex-shrink: 0;
  }

  .nav-hamburger.active~.nav-logo {
    opacity: 0;
    pointer-events: none;
  }

  .events-section,
  .founder-section,
  .products-section,
  .values-section {
    padding: 1.25rem 1rem;
  }

  .event-content {
    padding-right: 0;
    padding-top: 3.75rem;
  }

  .event-date {
    top: 0.9375rem;
    left: 0.9375rem;
    right: auto;
  }

  .founder-container {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .circle-image {
    width: 12.5rem;
    height: 12.5rem;
  }

  .message-card {
    padding: 1.25rem;
    text-align: center;
  }

  .name:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .founder-tea-cup {
    display: none;
  }

  .products-container {
    flex-direction: column;
    gap: 2rem;
  }

  .product-video,
  .product-slider {
    width: 100%;
    min-width: 100%;
    flex: 1 1 100%;
  }

  .product-video {
    border-radius: 2rem 0 0 0;
    height: 250px;
    /* Fixed height for mobile */
  }

  .product-slider {
    border-radius: 0 0 2rem 0;
    min-height: 200px;
  }

  .product-slide {
    padding: 1.5rem;
    clip-path: none;
  }

  .product-image {
    max-width: 180px;
    height: 220px;
    margin-bottom: 1rem;
  }

  .product-title {
    font-size: 1.4rem;
  }

  .product-desc {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .slider-controls {
    padding: 0 0.5rem;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .map-container {
    flex-direction: column;
  }

  .map-info,
  .map-embed {
    max-width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .footer-polygon {
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0% 100%);
    padding: 2.5rem 1.25rem;
  }

  .footer-content {
    width: 100%;
    margin-left: 0;
    padding: 2.5rem 1.25rem;
    grid-template-columns: 1fr;
    gap: 1.875rem;
    text-align: center;
  }

  .footer-tea-cup {
    display: none;
  }

  .footer-about {
    max-width: 100%;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .sidebar-menu {
    width: 17.5rem;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .events-prev-btn,
  .events-next-btn {
    width: 2.5rem;
    height: 2.5rem;
  }

  .events-prev-btn {
    left: -0.9375rem;
  }

  .events-next-btn {
    right: -0.9375rem;
  }

  .timeline:before {
    left: 2.5rem;
  }

  .timeline-item {
    align-self: baseline !important;
    width: 100%;
    padding: 0 1.875rem 9.375rem 5rem;
  }

  .timeline-item:before {
    left: 0.625rem !important;
    padding: 0 !important;
    top: 3.125rem;
    text-align: center !important;
    width: 3.75rem;
    border: none !important;
  }

  .timeline-item:last-child {
    padding-bottom: 2.5rem;
  }

  .decorative-top-left,
  .decorative-top-right,
  .decorative-bottom-left,
  .decorative-bottom-right {
    display: none;
  }

  .products-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .event1-card {
    flex-direction: column;
    border-radius: 0 20px 0 20px;
  }

  .event1-image {
    order: -1;
    flex: 0 0 auto;
    min-height: 250px;
  }

  .event1-content {
    padding: 1.5rem;
  }

  .event1-btn {
    align-self: center;
    width: 100%;
    text-align: center;
  }

  .events-see-more-btn {
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
  }

  .value-flow-item {
    flex: 0 0 calc(50% - 20px);
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .testimonial-slide {
    padding: 10px;
  }

  .testimonial-card {
    padding: 25px 20px;
    border-radius: 0 20px 0 20px;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }

  .testimonial-author h4 {
    font-size: var(--fs-base);
  }

  .testimonial-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .tea-product-card {
    width: 100%;
    height: auto;
  }

}

@media (max-width: 820px) {
  .container {
    max-width: 100%;
    padding: 0 0.9375rem;
  }

  html {
    font-size: 14px;
  }

  .new-nav {
    height: 4rem;
    padding: 3rem 2rem;
  }

  .nav-logo {
    height: 3.5rem;
  }

  .nav-logo a {
    height: 3.5rem;
  }

  .about-us-banner {
    height: 15rem;
    margin-bottom: 2rem;
  }

  .sticky-nav {
    display: none;
  }

  .sidebar-menu {
    display: flex;
    flex-direction: column;
    height: fit-content;
    padding: 1.5rem 1.25rem;
    justify-content: space-between;
    color: var(--white);
  }

  .sidebar-logo {
    width: 7rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
  }

  .sidebar-links {
    flex: 1;
    overflow-y: auto;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
  }

  .sidebar-links a {
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    border-radius: 0 0.75rem 0 0.75rem;
  }

  .sidebar-description {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
    flex-shrink: 0;
  }

  .sidebar-social {
    margin-top: auto;
    margin-bottom: 1rem;
    flex-shrink: 0;
  }

  .nav-hamburger.active~.nav-logo {
    opacity: 0;
    pointer-events: none;
  }

  .events-section,
  .founder-section,
  .products-section,
  .values-section {
    padding: 1.25rem 1rem;
  }

  .event-content {
    padding-right: 0;
    padding-top: 3.75rem;
  }

  .event-date {
    top: 0.9375rem;
    left: 0.9375rem;
    right: auto;
  }

  .founder-container {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .circle-image {
    width: 12.5rem;
    height: 12.5rem;
  }

  .message-card {
    padding: 1.25rem;
    text-align: center;
  }

  .name:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .founder-tea-cup {
    display: none;
  }

  .products-container {
    flex-direction: column;
    gap: 2rem;
  }

  .product-video,
  .product-slider {
    width: 100%;
    min-width: 100%;
    flex: 1 1 100%;
  }

  .product-video {
    border-radius: 2rem 0 0 0;
    height: 250px;
    /* Fixed height for mobile */
  }

  .product-slider {
    border-radius: 0 0 2rem 0;
    min-height: 200px;
  }

  .product-slide {
    padding: 1.5rem;
    clip-path: none;
  }

  .product-image {
    max-width: 180px;
    height: 220px;
    margin-bottom: 1rem;
  }

  .product-title {
    font-size: 1.4rem;
  }

  .product-desc {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .slider-controls {
    padding: 0 0.5rem;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .map-container {
    flex-direction: column;
  }

  .map-info,
  .map-embed {
    max-width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .footer-polygon {
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0% 100%);
    padding: 2.5rem 1.25rem;
  }

  .footer-content {
    width: 100%;
    margin-left: 0;
    padding: 2.5rem 1.25rem;
    grid-template-columns: 1fr;
    gap: 1.875rem;
    text-align: center;
  }

  .footer-tea-cup {
    display: none;
  }

  .footer-about {
    max-width: 100%;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .sidebar-menu {
    width: 17.5rem;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .events-prev-btn,
  .events-next-btn {
    width: 2.5rem;
    height: 2.5rem;
  }

  .events-prev-btn {
    left: -0.9375rem;
  }

  .events-next-btn {
    right: -0.9375rem;
  }

  .timeline:before {
    left: 2.5rem;
  }

  .timeline-item {
    align-self: baseline !important;
    width: 100%;
    padding: 0 1.875rem 9.375rem 5rem;
  }

  .timeline-item:before {
    left: 0.625rem !important;
    padding: 0 !important;
    top: 3.125rem;
    text-align: center !important;
    width: 3.75rem;
    border: none !important;
    font-size: large;
    font-weight: bold;
  }

  .timeline-item:last-child {
    padding-bottom: 2.5rem;
  }

  .decorative-top-left,
  .decorative-top-right,
  .decorative-bottom-left,
  .decorative-bottom-right {
    display: none;
  }

  .products-container {
    flex-direction: column;
    gap: 1.5rem;
  }




  /* Past Events Section Fixes */
  .event1-card {
    flex-direction: column;
    border-radius: 0 20px 0 20px;
  }

  .event1-image {
    order: -1;
    /* Move image to top */
    flex: 0 0 auto;
    min-height: 250px;
  }

  .event1-content {
    padding: 1.5rem;
  }

  .event1-btn {
    align-self: center;
    width: 100%;
    text-align: center;
  }

  .events-see-more-btn {
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
  }

  .value-flow-item {
    flex: 0 0 calc(50% - 20px);
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  /* .value-icon-wrapper {
    width: 80px;
    height: 80px;
    font-size: 1.8rem;
  }
  
  .value-icon-wrapper::after {
    width: 95px;
    height: 95px;
  } */
  .testimonial-slide {
    padding: 10px;
  }

  .testimonial-card {
    padding: 25px 20px;
    border-radius: 0 20px 0 20px;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }

  .testimonial-author h4 {
    font-size: var(--fs-base);
  }

  .testimonial-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .sidebar-menu.active~.new-nav {
    display: none;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  html {
    font-size: 13px;
  }

  .video-overlay {
    padding: 1.25rem;
  }

  .video-overlay h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: var(--fs-title);
  }

  .event1-date {
    top: 0.625rem;
    left: 0.625rem;
    width: 3.75rem;
    padding: 0.5rem;
  }

  .event1-day {
    font-size: var(--fs-card-title);
  }

  .event1-month {
    font-size: 0.8rem;
  }

  .event1-btn {
    width: 100%;
    text-align: center;
  }

  .footer-polygon {
    padding: 1.875rem 0.9375rem;
  }

  .footer-content {
    padding: 1.875rem 0.9375rem;
  }

  .footer-bottom {
    padding: 0.9375rem;
    font-size: 0.75rem;
  }

  .footer-section h3 {
    font-size: 1.125rem;
  }

  .footer-about p {
    font-size: 0.875rem;
  }

  .footer-links a {
    font-size: 1rem;
  }

  .footer-contact p {
    font-size: 1rem;
  }

  #eventsTab .nav-link {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
    margin: 0 0.2rem;
  }

  .values-container {
    grid-template-columns: 1fr;
  }

  .value-item {
    height: auto;
    min-height: 18.75rem;
  }

  .value-card {
    padding: 1.25rem;
  }

  .value-title {
    font-size: 1.4rem;
  }

  .value-icon {
    width: 3.75rem;
    height: 3.75rem;
    font-size: var(--fs-card-title);
  }

  .value-flow-item {
    flex: 0 0 100%;
  }

  .events-see-more-btn {
    padding: 1.5rem 1.5rem;
    font-size: var(--fs-button);
    gap: 0.5rem;
  }

  .testimonials-section {
    padding: 2rem 1rem;
  }

  .testimonial-card {
    padding: 20px 15px;
  }

  .quote-icon {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .testimonial-controls {
    margin-top: 20px;
  }

  .section-title {
    font-size: 1.8rem;
  }
}



@supports (aspect-ratio: 5/7) {
  .tea-product-card::before {
    display: none;
  }
}

/* Very small devices (phones, less than 400px) */
@media (max-width: 399px) {
  html {
    font-size: 12px;
  }

  .new-nav {
    padding: 0 0.5rem;
  }

  .nav-hamburger {
    width: 2rem;
    height: 2rem;
  }

  .nav-hamburger span {
    width: 2.5rem;
  }

  .about-us-banner {
    height: 12rem;
  }

  .video-overlay h1 {
    font-size: 1.7rem;
  }

  .event1-content {
    padding: 1rem;
  }

  .event1-title {
    font-size: 1.3rem;
  }

  .product-image {
    width: 100%;
    max-width: 10rem;
    height: 15rem;
  }

  .footer-polygon {
    clip-path: polygon(0 0, 100% 0, 100% 97%, 0% 100%);
  }
}

@media (max-width: 400px) {
  .product-image {
    max-width: 8rem;
    height: 12rem;
  }

  .event1-image {
    min-height: 200px;
  }

  .product-video {
    height: 200px;
  }

  .product-image {
    max-width: 150px;
    height: 180px;
  }

  .product-title {
    font-size: 1.3rem;
  }

  .product-desc {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .product-video {
    height: 200px;
  }


  .product-image {
    max-width: 150px;
    height: 180px;
  }

  .product-title {
    font-size: 1.3rem;
  }

  .product-desc {
    font-size: 0.95rem;
  }

  .ourteaProduct-card {
    width: 100%;
    height: 400px;
    padding: 0.75rem;
    border-radius: 0 1.5rem 0 1.5rem;
  }

  .ourteaProduct-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Height adjustments for mobile */
@media (max-height: 600px) and (orientation: landscape) {
  .video-banner {
    height: auto;
    min-height: 100vh;
  }

  .about-us-banner {
    height: 12rem;
  }

  .sidebar-menu {
    overflow-y: auto;
    height: 100%;
  }
}

/* Print styles */
@media print {

  .new-nav,
  .sticky-nav,
  .sidebar-menu,
  .events-prev-btn,
  .events-next-btn,
  .slider-controls,
  .footer {
    display: none !important;
  }

  body,
  .section-light,
  .section-dark {
    background: white !important;
    color: black !important;
    padding: 0 !important;
  }

  .container {
    width: 100%;
    max-width: 100%;
  }
}