/* ===== CSS VARIABLES ===== */
:root {
  /* Primary Theme Colors */
  --primary-color: #8B4A87;
  --primary-dark: #6A3069;
  --primary-darker: #4A1F48;
  --accent-color: #8B4A87;

  /* Text Colors */
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --text-on-dark: #ffffff;
  --text-on-light: #000000;

  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-overlay-light: rgba(255, 255, 255, 0.7);
  --bg-overlay-dark: rgba(0, 0, 0, 0.6);
  --bg-glass: rgba(255, 255, 255, 0.1);

  /* Contact Bar */
  --contact-bar-bg: linear-gradient(135deg, rgba(255, 107, 107, 0.9) 0%, rgba(255, 82, 82, 0.9) 100%);
  --contact-bar-text: #ffffff;
  --contact-bar-height: 28px;

  /* Search Interface */
  --search-container-bg: var(--bg-overlay-dark);
  --search-text: var(--text-on-dark);
  --search-placeholder: rgba(255, 255, 255, 0.7);
  --search-border: rgba(255, 255, 255, 0.3);

  /* Layout */
  --image-placeholder-height: 45vh;

  /* Shadows and Effects */
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 12px 40px rgba(0, 0, 0, 0.2);
  --text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.8);
}

/* Dark Theme Variables */
body.dark-theme {
  --text-primary: #e0e0e0;
  --text-secondary: #bdc3c7;
  --bg-primary: #1a1a1a;
  --bg-secondary: #2c3e50;
  --bg-overlay-light: rgba(0, 0, 0, 0.7);
  --bg-overlay-dark: rgba(0, 0, 0, 0.8);
  --bg-glass: rgba(0, 0, 0, 0.2);
  --search-text: var(--text-on-dark);
  --search-placeholder: rgba(255, 255, 255, 0.6);
  --contact-bar-text: #ffffff;
}

/* ===== BASE STYLES ===== */
html {
  scroll-behavior: smooth;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background: #ffffff;
}

/* ===== CONTACT BAR ===== */
.contact-bar {
  background: linear-gradient(transparent, rgba(152, 200, 235, 0.8));
  padding: 4px 0;
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 1001;
  height: var(--contact-bar-height);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-bar::before {
  display: none;
}

.contact-bar-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  color: #000000;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.contact-right {
  position: relative;
}

.contact-bar-content a {
  font-weight: 500;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.contact-bar-content a:hover {
  color: #508ea1;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle-container {
  position: relative;
  display: flex;
  align-items: center;
}

.arrow-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  color: #000000;
  transition: all 0.3s ease;
  border-radius: 50%;
  position: relative;
}

/* Tooltip for arrow toggle */
.arrow-toggle::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.arrow-toggle::after {
  content: '';
  position: absolute;
  bottom: -55px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.arrow-toggle:hover::before,
.arrow-toggle:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Hide tooltip after arrow is clicked */
.arrow-toggle.tooltip-clicked:hover::before,
.arrow-toggle.tooltip-clicked:hover::after {
  opacity: 0 !important;
  visibility: hidden !important;
}

.arrow-toggle:hover {
  color: #8B4A87;
}




.theme-menu {
  position: absolute;
  right: 100%;
  top: 100%;
  margin-right: 15px;
  background: transparent;
  padding: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(-10px);
  transition: all 0.3s ease;
  z-index: 1002;
  min-width: 80px;
  min-height: 80px;
}

.theme-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.theme-btn {
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  transition: background 0.3s ease;
  white-space: nowrap;
  background: rgb(100, 96, 96);
  min-width: 50px;
  min-height: 50px;
}

.theme-btn:hover {
  background: rgb(100, 96, 96);
}

.theme-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  margin-bottom: 5px;
}

.theme-btn::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #333;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.theme-btn:hover::before,
.theme-btn:hover::after {
  opacity: 1;
  visibility: visible;
}

.theme-icon-light,
.theme-icon-dark {
  width: 24px;
  height: 24px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.theme-icon-light {
  background-image: url('/Images/crescent.svg');
  display: inline-block;
}

.theme-icon-dark {
  background-image: url('/Images/SunImage.png');
  display: none;
}

/* ===== NAVIGATION ===== */
nav {
  background: rgba(255, 255, 255, 0.6);
  padding: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 28px; /* Match contact bar height exactly for no gap */
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Dark theme translucent header */
body.dark-theme nav {
  background: rgba(26, 26, 26, 0.55);
}

.nav-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-start;
}

/* Logo link and image (replace inline styles) */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  padding-right: 10px;
}

.logo-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
}

.logo {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(135deg, #819cab 0%, #508ea1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  padding-left: 0.75rem;
}

.nav-menu {
  display: flex;
  gap: 0.1rem;
  align-items: center;
  padding: 1px;
}

.nav-menu a {
  position: relative;
  color: #000000;
  text-decoration: none;
  font-weight: light;
  transition: color 0.3s ease;
  display: inline-block;
}

.nav-menu a span {
  position: relative;
}

.nav-menu a span::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: rgb(0, 115, 255);
  transition: width 0.7s ease;
  transform: translateX(-50%);
}

.nav-menu a:hover {
  color: #508ea1;
  text-shadow: white;
  background: transparent;
}

.nav-menu a:hover span::before {
  width: 100%;
}

.nav-menu a:not(:last-child)::after {
  content: "•";
  margin: 0 0.5rem;
  text-decoration: none;
  display: inline-block;
  pointer-events: none;
}

/* ===== DROPDOWN NAVIGATION ===== */
.nav-dropdown {
  position: relative;
}



.nav-dropdown:last-child::after {
  display: none;
}

.dropdown-content {
  position: absolute;
  top: 65px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  transform-origin: top center;
  background-color: rgba(240, 248, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  width: max-content;
  min-width: 150px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 5px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0.4s;
  z-index: 1002;
}

.dropdown-content a {
  color: var(--bordercolor);
  padding: 8px 20px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 0;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  background-color: transparent;
}

.dropdown-content a span {
  position: relative;
}

.dropdown-content a span::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--button-bg);
  transition: width 0.4s ease;
  transform: translateX(-50%);
}

.dropdown-content a::after {
  display: none !important;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--button-bg) !important;
}

.nav-dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Also open dropdown when JS toggles .open/.active (all sizes) */
.nav-dropdown.open .dropdown-content,
.nav-dropdown.active .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}



/* ===== SCROLL MARGIN FOR ANCHORS ===== */
section[id] {
  scroll-margin-top: 95px;
}

section[id]::before {
  content: '';
  display: block;
  height: 100px;
  margin-top: -95px;
  visibility: hidden;
}

/* ===== IMAGE GRID ===== */
.image-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
  min-height: 350px;
}

@keyframes waveSlide {
  0% {
    transform: translateX(-100%) perspective(1000px) rotateY(-15deg) scaleX(0.8);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  25% {
    transform: translateX(25vw) perspective(1000px) rotateY(3deg) scaleX(1.02);
  }
  50% {
    transform: translateX(50vw) perspective(1000px) rotateY(-8deg) scaleX(0.95);
  }
  75% {
    transform: translateX(75vw) perspective(1000px) rotateY(2deg) scaleX(1.01);
  }
  100% {
    transform: translateX(110vw) perspective(1000px) rotateY(-15deg) scaleX(0.8);
    opacity: 0;
  }
}

.image-placeholder {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.image-placeholder img,
.image-placeholder .coming-soon {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
  opacity: 0;                 /* hidden until JS activates */
  pointer-events: none;       /* avoid accidental blocking */
}


/* ===== MAIN CONTENT ===== */
.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== PREMIUM SEARCH INTERFACE ===== */
.premium-search-container {
  position: relative;
  width: 100%;
  height: 40vh;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.search-background-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
}

.search-background-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 3400%; /* 17 images × 2 copies × 100% = 3400% */
  height: 100%;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  animation: continuousFlow 150s linear infinite;
}

.search-background-layer img {
  position: relative;
  min-width: calc(100% / 34); /* Each image takes 1/34th of container (17 × 2) */
  width: calc(100% / 34);
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  opacity: 1;
  flex-shrink: 0;
}

@keyframes continuousFlow {
  0% {
    transform: translateX(-50%); /* Start from the left */
  }
  100% {
    transform: translateX(0%); /* Move to the right */
  }
}



.search-overlay {
  position: relative;
  z-index: 10;
  padding: 0.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: none;
  backdrop-filter: none;
  border-radius: 16px;
}

.search-header {
  text-align: center;
  margin-bottom: 1rem;
  padding-top: 2rem;
}

.search-header h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-on-dark);
  font-weight: 600;
  letter-spacing: -0.5px;
  text-shadow: var(--text-shadow);
  background: none;
}

.search-header p {
  font-size: 1rem;
  color: var(--text-on-dark);
  font-weight: 500;
  line-height: 1.6;
  text-shadow: var(--text-shadow);
  background: none;
}

.advanced-search-wrapper {
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.search-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.search-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-on-dark);
  text-shadow: var(--text-shadow);
  letter-spacing: 0.5px;
}

.search-icon-btn {
  background: none;
  border: none;
  border-radius: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s ease;
  color: var(--search-text);
  backdrop-filter: none;
  box-shadow: none;
}

.search-icon-btn svg {
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  padding: 8px;
}

.search-icon-btn:hover {
  transform: scale(1.1);
}

.expanded-search-interface {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.expanded-search-interface.show {
  opacity: 1;
  transform: translateY(0);
  display: block !important;
}

.main-search-container {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--search-container-bg);
  border: 3px solid var(--search-border);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: all 0.4s ease;
  margin-bottom: 2rem;
  backdrop-filter: blur(15px);
  border-radius: 30px;
}

.main-search-container:focus-within {
  border-color: rgba(183, 188, 192, 0.3);
  box-shadow: 0 12px 40px rgba(139, 74, 135, 0.25);
  transform: translateY(-2px);

}

.main-search-input {
  flex: 1;
  padding: 15px 25px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
  color: var(--search-text);
  font-weight: 400;
}

.main-search-input::placeholder {
  color: var(--search-placeholder);
  font-style: italic;
  font-weight: 300;
}

.main-search-btn {
  padding: 15px 25px;
  border: none;
  background: linear-gradient(135deg, #6d9d8c 0%, #558fcb 100%);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.main-search-btn:hover {
  background: linear-gradient(135deg, #595a92 0%, #828733 100%);
  transform: translateY(-2px);
}

.search-categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.category-chip {
  padding: 10px 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.category-chip:hover {
  border-color: #cec7c7;
  background: rgba(107, 191, 255, 0.3);
  color: white;
  transform: translateY(-1px);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

.category-chip.active {
  background: rgba(107, 191, 255, 0.3);
  border-color: #c5ccd1;
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.search-results-container {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
}

.search-results-container.show {
  max-height: 300px;
  opacity: 1;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.result-card {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border-color: #8B4A87;
  background: rgba(0, 0, 0, 0.7);
}

.result-card-category {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, #8B4A87, #6A3069);
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.result-card-title {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  line-height: 1.4;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.result-card-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Dark theme styles removed - using universal contrast styling */

/* ===== STORY SECTION ===== */
.story-section {
  padding: 0;
  background: none;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10rem;
  align-items: start;
}

.story-text h2 {
  font-size: 2.5rem;
  color: #508ea1;
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.story-text h2:hover {
  color: #508ea1;
}

.story-text h2::after {
  display: none;
}

.story-text p {
  font-size: 1.1rem;
  color: #5a6c7d;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  padding-right: 0;
}

.story-video {
  width: 100%;
  max-width: 700px;
  height: 100%;
  border-radius: 20px;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  overflow: hidden;
  position: relative;
}

.story-video video {
  width: auto;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.story-video > * {
  position: absolute;
  inset: 0;
}

.story-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ===== SECTION TITLES ===== */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #508ea1;
  margin: 1.5rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #5a6c7d;
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.product-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 2px solid;
}

.product-card:nth-child(1) {
  border-top-color: #508ea1;
}

.product-card:nth-child(2) {
  border-top-color: #508ea1;
}

.product-card:nth-child(3) {
  border-top-color: #508ea1;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}


.product-card h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.product-card p {
  color: #5a6c7d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.product-features {
  list-style: none;
}

.product-features li {
  padding: 0.5rem 0;
  color: #5a6c7d;
  padding-left: 1.5rem;
  position: relative;
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #819cab;
  font-weight: bold;
}

/* ===== VIEW PRODUCTS BUTTON ===== */
.view-products-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 25px;
  background: linear-gradient(transparent, rgba(152, 200, 235, 0.8));;
  color: rgb(16, 13, 13);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.view-products-btn:hover {
  background: linear-gradient(135deg, #a3e6dc 0%, #dce0a6 100%);
  transform: translateY(-2px);
}

/* ===== MISSION SECTION ===== */
.mission-section {
  padding: 0;
  text-align: center;
}

body.dark.theme .mission-section {
  color: #b0b0b0;
  background: linear-gradient(135deg, #0b0f10 0%, #1a2a39 100%);
}

body.light.theme .mission-section {
  color: #5a6c7d;
  background: linear-gradient(135deg, #7bbed0 0%, #4b78a2 100%);
}

.mission-content {
  max-width: 1600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid #508ea1;
}

.mission-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #508ea1;
}

.mission-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

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

.mission-item {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease;
}

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

.mission-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.mission-item p {
  opacity: 0.95;
  line-height: 1.6;
}

/* ===== MARKETS SECTION ===== */
.markets-section {
  padding: 2rem 1rem;
  background: #f8f9fa;
}

.markets-grid {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.market-card {
  background: white;
  padding: 3rem 2rem;
  max-width: 800px;
  width: 100%;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  border-top: 2px solid #508ea1;
}

.market-card:hover {
  transform: translateY(-10px);
}

.market-flag {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.market-card h3 {
  font-size: 1.8rem;
  color: #508ea1;
  margin-bottom: 1rem;
}

.market-card p {
  color: #5a6c7d;
  line-height: 1.6;
}

.market-stats {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  color: #5a6c7d;
}

.stat-value {
  font-weight: 600;
  color: #819cab;
}

/* ===== FOUNDER SECTION ===== */
.founder-section {
  padding: 1rem 0;
}

.founder-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 3rem auto;
  text-align: center;
  border-top: 2px solid #508ea1;
}

.founder-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, #819cab 0%, #FF8E53 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
}

.founder-name {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.founder-title {
  font-size: 1.2rem;
  color: #819cab;
  margin-bottom: 2rem;
}

.founder-bio {
  color: #5a6c7d;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 1rem 0;
  background: #f8f9fa;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 3rem auto;
}

.contact-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #819cab 0%, #FF8E53 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.3rem;
}

.contact-label {
  font-size: 0.9rem;
  color: #5a6c7d;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.contact-value {
  font-size: 1.1rem;
  color: #2c3e50;
  font-weight: 600;
}

.contact-value a {
  color: #819cab;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-value a:hover {
  color: #FF8E53;
}

/* ===== CONTACT FORM ===== */
.customer-form {
  max-width: 1000px;
  margin: 2rem auto;
}

.customer-form h2 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 2rem;
  text-align: center;
}

.customer-form form {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.form-row:first-of-type {
  margin-top: 0;
}

.form-group {
  margin-top: 1.5rem;
}

.form-row .form-group {
  margin-top: 0;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #FF6B6B;
}

.form-group textarea {
  resize: vertical;
}

.submit-enquiry-btn {
  width: 100%;
  padding: 1rem;
  margin-top: 2rem;
  background: linear-gradient(135deg, #6d9d8c 0%, #558fcb 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-enquiry-btn:hover {
  background: linear-gradient(135deg, #595a92 0%, #828733 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(109, 157, 140, 0.3);
}

.success-message {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.success-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: white;
}

.success-content p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: white;
  opacity: 0.95;
}

.success-timer {
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 500;
}

#countdown {
  font-weight: bold;
  font-size: 1.1rem;
}

.form-hidden {
  display: none;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(transparent, rgba(152, 200, 235, 0.8));;
  color: rgb(39, 37, 37);
  padding: 0.5rem 0;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-text {
  opacity: 0.8;
  margin-bottom: 2rem;
}

.footer-copyright {
  opacity: 0.6;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== WATERMARK ===== */
.watermark-container {
  height: 0;
  position: relative;
}

.watermark {
  display: none;
}

.watermark.sticky {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1; /* keep behind content */
}

.watermark.sticky img {
  max-width: 2000px;
  width: 50vw;
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
}

/* ===== CHAT WIDGET ===== */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Larger screens - more margin from edge */
@media (min-width: 1200px) {
  .chat-widget {
    bottom: 50px;
    right: 60px;
  }

.contact-panel-back-arrow{
    display: flex;
    position: absolute;
    top: 15px;
  }

  .contact-panel-home {
    display: flex;
    position: absolute;
    top: 25px;
  }
}

@media (min-width: 1440px) {
  .chat-widget {
    bottom: 50px;
    right: 90px;
  }
.contact-panel-back-arrow{
    display: flex;
    position: absolute;
    top: 15px;
  }

  .contact-panel-home {
    display: flex;
    position: absolute;
    top: 25px;
  }
}

@media (min-width: 1600px) {
  .chat-widget {
    bottom: 100px;
    right: 150px;
  }

.contact-panel-back-arrow{
    display: flex;
    position: absolute;
    top: 15px;
  }

  .contact-panel-home {
    display: flex;
    position: absolute;
    top: 25px;
  }
}

@media (min-width: 1920px) {
  .chat-widget {
    bottom: 20px;
    right: 20px;
  }

.contact-panel-back-arrow{
    display: flex;
    position: absolute;
    top: 15px;
  }

  .contact-panel-home {
    display: flex;
    position: absolute;
    top: 25px;
  }
}

/* ===== WATERMARK LOGO ===== */
.watermark-logo {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.watermark-logo img {
  width: 60px;
  height: 60px;
  opacity: 0.3;
  object-fit: contain;
}

.watermark-logo.visible {
  opacity: 1;
  visibility: visible;
}

/* ===== WHATSAPP MODAL ===== */
.whatsapp-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
}

.whatsapp-modal {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-width: 450px;
  width: 90%;
  max-height: 80vh;
  overflow: auto;
  transform: scale(0.9);
  animation: modalAppear 0.3s ease forwards;
}

.whatsapp-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px 15px;
  border-bottom: 1px solid #e5e5e5;
}

.whatsapp-modal-header h3 {
  margin: 0;
  color: #333;
  font-size: 1.25rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f5f5f5;
  color: #666;
}

.whatsapp-modal-content {
  padding: 25px;
}

.whatsapp-modal-content p {
  margin: 0 0 15px 0;
  color: #666;
  line-height: 1.5;
}

.whatsapp-options {
  margin: 20px 0;
}

.whatsapp-option {
  width: 100%;
  padding: 15px 20px;
  background: #25d366;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  margin-bottom: 10px;
}

.whatsapp-option:hover {
  background: #22c55e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-option svg {
  flex-shrink: 0;
}

.local-suggestion {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  border-left: 4px solid #25d366;
}

.local-suggestion p {
  margin: 0;
  color: #555;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes modalAppear {
  to {
    transform: scale(1);
  }
}

@media (max-width: 480px) {
  .whatsapp-modal {
    margin: 20px;
    width: calc(100% - 40px);
  }

  .whatsapp-modal-header,
  .whatsapp-modal-content {
    padding: 20px;
  }

 .contact-panel-back-arrow{
    display: flex;
    position: absolute;
    top: 15px;
  }

  .contact-panel-home {
    display: flex;
    position: absolute;
    top: 25px;
  }
}

.chat-toggle {
  width: 400px;
  height: 100px;
  border-radius: 35px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  padding: 20px;
  color: #333;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  font-family: inherit;
  text-align: left;
 
}


.chat-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  border-color: #4ea3cd;
}

.chat-toggle.active {
  background: #f0f8ff;
  border-color: #4ea1cd;
}

.chat-avatar {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
  overflow: hidden;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding-top: 4px;
}

@supports (-webkit-appearance: none) and (not (appearance: none)) {
  .chat-avatar img {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px;
    max-height: 36px;
  }
}

.chat-toggle-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 4px;
}

.chat-toggle-title {
  font-weight: 600;
  font-size: 14px;
  color: #333;
  margin-bottom: 2px;
}

.chat-toggle-subtitle {
  font-size: 12px;
  color: #666;
  line-height: 1.3;
}

.close-button {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: #ff4757;
  border: 2px solid white;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  cursor: pointer;
  font-weight: bold;
}

.chat-toggle.active .close-button {
  display: flex;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4757;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
  /* Initially hidden */
  visibility: hidden;
}

.notification-badge.show {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 20px;
  transform: translateY(20px) scale(0.9);
  width: 320px;
  max-width: calc(100vw - 40px);
  height: 480px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.chat-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-window.welcome-mode .welcome-screen {
  display: flex;
}

.chat-window.welcome-mode .chat-interface {
  display: none;
}

.chat-window.chat-mode .welcome-screen {
  display: none;
}

.chat-window.chat-mode .chat-interface {
  display: flex;
}

.welcome-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(135deg, #9aa3cd78 0%, #8cc6b973 100%);
  color: white;
  position: relative;
}

.welcome-header {
  background: #1a1a1a65;
  color: white;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.welcome-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.welcome-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  text-align: center;
}

.welcome-illustration {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
  background: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-illustration img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.welcome-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: rgb(9, 7, 7);
}

.welcome-features {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  text-align: left;
}

.welcome-features li {
  padding: 4px 0;
  display: flex;
  font-size: 13px;
  align-items: center;
  color: rgb(0, 0, 0);
  opacity: 0.95;
  font-size: 14px;
}

.welcome-features li::before {
  content: "•";
  color: #4ECDC4;
  font-weight: bold;
  margin-right: 10px;
  font-size: 18px;
}

.start-conversation-btn {
  background: linear-gradient(135deg, #6d9d8c 0%, #558fcb 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 16px;
  width: 100%;
}

.start-conversation-btn:hover {
  background: linear-gradient(135deg, #595a92 0%, #828733 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

.chat-interface {
  display: none;
  flex-direction: column;
  height: 100%;
}

.chat-header {
  background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
  color: white;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-btn {
  background: #25D366;
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.whatsapp-btn:hover {
  background: #20BA5A;
  transform: scale(1.05);
}

.chat-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.chat-status {
  display: flex;
  align-items: center;
  font-size: 12px;
  opacity: 0.9;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-messages {
  height: 350px;
  overflow-y: auto;
  padding: 20px;
  background: #f8f9fa;
}

.message {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.message.user {
  justify-content: flex-end;
}

.message-content {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
}

.message.bot .message-content {
  background: white;
  color: #333;
  border-bottom-left-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.message.user .message-content {
  background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
  color: white;
  border-bottom-right-radius: 6px;
}

.quick-actions {
  padding: 10px 20px;
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-action {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #555;
}

.quick-action:hover {
  background: #4ECDC4;
  color: white;
  border-color: #4ECDC4;
}

.chat-input-area {
  padding: 15px 20px;
  background: white;
  border-top: 1px solid #e0e0e0;
}

.chat-input-container {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 25px;
  padding: 8px 15px;
}

.chat-input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 14px;
  padding: 8px 0;
  color: #333;
}

.send-button {
  background: linear-gradient(135deg, #6d9d8c 0%, #558fcb 100%);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.send-button:hover {
  background: linear-gradient(135deg, #595a92 0%, #828733 100%);
  transform: translateY(-2px);
}

.welcome-content .start-conversation-btn {
  background: linear-gradient(135deg, #6d9d8c 0%, #558fcb 100%);
  color: white !important;
  border: none !important;
  padding: 15px 30px !important;
  border-radius: 25px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  margin-top: 20px !important;
  width: 100% !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.welcome-content .start-conversation-btn:hover {
  background: linear-gradient(135deg, #595a92 0%, #828733 100%);
}


/* ===== DARK THEME SUPPORT ===== */
body.dark-theme {
  background: #1a1a1a;
  color: #e0e0e0;
}

body.dark-theme .contact-bar {
  background: #2a2a2a;
  border-bottom-color: #3a3a3a;
}

body.dark-theme nav {
  background: #2a2a2a;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

body.dark-theme .story-section,
body.dark-theme .markets-section,
body.dark-theme .contact-section {
  background: #222;
}

body.dark-theme .product-card,
body.dark-theme .market-card,
body.dark-theme .founder-card,
body.dark-theme .customer-form form {
  background: #2a2a2a;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

body.dark-theme .image-placeholder {
  background: #2a2a2a;
  border-color: #3a3a3a;
}

body.dark-theme .section-title,
body.dark-theme .story-text h2,
body.dark-theme .founder-name,
body.dark-theme .product-card h3,
body.dark-theme .market-card h3 {
  color: #e0e0e0;
}

body.dark-theme .section-subtitle,
body.dark-theme .story-text p,
body.dark-theme .product-card p,
body.dark-theme .market-card p,
body.dark-theme .founder-bio {
  color: #b0b0b0;
}

body.dark-theme .form-group label {
  color: #e0e0e0;
}

body.dark-theme .form-group input,
body.dark-theme .form-group textarea {
  background: #1a1a1a;
  border-color: #3a3a3a;
  color: #e0e0e0;
}

body.dark-theme .form-group input:focus,
body.dark-theme .form-group textarea:focus {
  border-color: #FF6B6B;
}

body.dark-theme footer {
  background: #1a1a1a;
}

body.dark-theme .theme-menu {
  background: transparent;
}

body.dark-theme .theme-btn {
  background: #3a3a3a;
  color: #e0e0e0;
}

body.dark-theme .theme-btn:hover {
  background: #4a4a4a;
}

body.dark-theme .theme-icon-light {
  display: none;
}

body.dark-theme .theme-icon-dark {
  display: inline-block;
}


body.dark-theme .arrow-toggle {
  color: #ffffff;
}

body.dark-theme .arrow-toggle:hover {
  color: #8B4A87;
}

body.dark-theme .arrow-toggle::before {
  background: rgba(255, 255, 255, 0.9);
  color: #000000;
}

body.dark-theme .arrow-toggle::after {
  border-bottom-color: rgba(255, 255, 255, 0.9);
}

body.dark-theme .contact-bar {
  background: rgba(26, 26, 26, 0.85);
}

body.dark-theme .contact-bar-content,
body.dark-theme .contact-bar-content a {
  color: #ffffff;
}

body.dark-theme .contact-bar-content a:hover {
  color: #fdff6b;
}

body.dark-mode .view-products-btn {
  background: #455069;
  color: white;
}

body.dark-mode .view-products-btn:hover {
  background: #80b5f0;
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
}

.blurred {
  filter: blur(4px);
  transition: filter 0.3s ease-in-out;
  position: relative;
}

.blurred::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
  transition: opacity 0.3s ease-in-out;
}

/* Ensure content is properly layered */
.blurred > * {
  position: relative;
  z-index: 2;
}


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

/* Disable previous scroll blur strip in favor of header backdrop blur */
.dynamic-top-blur { display: none !important; }

/* Keep watermark centered on small screens, just reduce size/opacity */
.watermark.sticky {
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
}

.watermark.sticky img {
  width: 70vw;
  opacity: 0.08;
}

/* ===== CONTACT PANEL (SLIDING DRAWER) ===== */
.contact-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9998;
}

.contact-panel-overlay.active {
  opacity: 1;
  visibility: visible;
}

.contact-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  height: 100vh;
  background: white;
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.contact-panel.active {
  transform: translateX(0);
}

.contact-panel-header {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  padding: 1rem 2rem 1rem;
  border-bottom: 1px solid #e0e0e0;
  background: #f8f9fa;
  position: relative;
  gap: 1rem 0;
}

.contact-panel-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #2c3e50;
  font-weight: 600;
  text-align: center;
  grid-column: 1 / -1;
  grid-row: 2;
  white-space: nowrap;
}

.contact-panel-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s ease;
  color: #666;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.contact-panel-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #2c3e50;
}

/* Contact Panel Navigation */
.contact-panel-nav {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.contact-panel-back-arrow {
   top: 15px;
  cursor: pointer;
  color: #666;
  transition: all 0.2s ease;
  user-select: none;
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.contact-panel-back-arrow:hover {
  color: #2c3e50;
}

.contact-panel-back-arrow svg {
  width: 24px;
  height: 24px;
}

.contact-panel-home {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: all 0.2s ease;
  color: #666;
  width: 36px;
  height: 36px;
}

.contact-panel-home:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: #ccc;
  color: #2c3e50;
}

.contact-panel-content {
  padding: 1rem;
}

.contact-panel-intro {
  margin-bottom: 2rem;
}

.contact-panel-intro p {
  color: #5a6c7d;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.contact-panel-methods {
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.contact-method:last-child {
  border-bottom: none;
}

.contact-method-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #666;
  margin-right: 0.5rem;
}

.contact-method-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.contact-method-info {
  flex: 1;
}

.contact-method-label {
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.contact-method-value {
  color: #2c3e50;
  font-weight: 500;
}

.contact-method-value a {
  color: #819cab;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-method-value a:hover {
  color: #FF8E53;
}

.contact-panel-cta {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.contact-panel-button {
  display: inline-block;
  background: linear-gradient(135deg, #6d9d8c 0%, #558fcb 100%);
  color: white;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  width: 100%;
}

.contact-panel-button:hover {
  background: linear-gradient(135deg, #595a92 0%, #828733 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.25);
}

/* Contact Panel Form */
.contact-panel-form {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0;
}

.contact-panel-form.active {
  max-height: 800px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
  overflow: visible;
}

.elegant-form .form-group {
  margin-bottom: 1.2rem;
}

.elegant-form label {
  display: block;
  margin-bottom: 0.4rem;
  color: #2c3e50;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

.elegant-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #fafafa;
}

.elegant-form input:focus,
.elegant-form textarea:focus {
  outline: none;
  border-color: #819cab;
  background: white;
  box-shadow: 0 0 0 3px rgba(129, 156, 171, 0.1);
}

.elegant-form textarea {
  resize: vertical;
  min-height: 80px;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-cancel-btn {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid #e0e0e0;
  background: white;
  color: #666;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.form-cancel-btn:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.form-submit-btn {
  flex: 1;
  padding: 12px 20px;
  background: linear-gradient(135deg, #6d9d8c 0%, #558fcb 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.form-submit-btn:hover {
  background: linear-gradient(135deg, #595a92 0%, #828733 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

/* Contact Panel Chat Section */
.contact-panel-chat {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
}

.panel-chat-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.panel-chat-header h3 {
  font-size: 1.1rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.panel-chat-header p {
  font-size: 0.85rem;
  color: #5a6c7d;
  margin: 0;
}

.panel-chat-options {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.panel-chat-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  color: #2c3e50;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
}

.panel-chat-btn:hover {
  border-color: #ccc;
  background: #f8f9fa;
  transform: translateY(-1px);
}

.panel-chat-btn.whatsapp-chat {
  color: #25D366;
  border-color: #25D366;
}

.panel-chat-btn.whatsapp-chat:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
}

.panel-chat-btn.live-chat {
  color: #4ECDC4;
  border-color: #4ECDC4;
}

.panel-chat-btn.live-chat:hover {
  background: #4ECDC4;
  border-color: #4ECDC4;
  color: #ffffff;
}

.panel-chat-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  flex-shrink: 0;
}

/* Hide main chat widget when contact panel is open */
.contact-panel-overlay.active ~ * .chat-widget,
body.contact-panel-open .chat-widget {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

/* Panel Chat Interface */
.panel-chat-interface {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background: #fafafa;
}

.panel-chat-interface.active {
  max-height: 400px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 1rem;
  overflow: visible;
}

.panel-chat-header-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #4ECDC4;
  color: white;
  border-radius: 8px 8px 0 0;
}

.chat-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.status-dot-inline {
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.panel-chat-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.panel-chat-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.panel-chat-messages {
  height: 200px;
  overflow-y: auto;
  padding: 1rem;
  background: white;
  scroll-behavior: smooth;
}

.panel-chat-messages .message {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.panel-chat-messages .message.user {
  justify-content: flex-end;
}

.panel-chat-messages .message-content {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.panel-chat-messages .message.bot .message-content {
  background: #f0f0f0;
  color: #333;
  border-bottom-left-radius: 4px;
}

.panel-chat-messages .message.user .message-content {
  background: #4ECDC4;
  color: white;
  border-bottom-right-radius: 4px;
}

.panel-chat-messages .message-content p {
  margin: 0;
}

.panel-chat-quick-actions {
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.panel-chat-quick-actions .quick-action {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 4px 8px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #555;
}

.panel-chat-quick-actions .quick-action:hover {
  background: #4ECDC4;
  color: white;
  border-color: #4ECDC4;
}

.panel-chat-input-area {
  padding: 0.75rem 1rem;
  background: white;
  border-top: 1px solid #e0e0e0;
  border-radius: 0 0 8px 8px;
}

.panel-chat-input-container {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 20px;
  padding: 6px 12px;
  border: 1px solid #e0e0e0;
}

.panel-chat-input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 0.85rem;
  padding: 6px 0;
  color: #333;
}

.panel-chat-send {
  background: #4ECDC4;
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  transition: background 0.2s ease;
}

.panel-chat-send:hover {
  background: #44A08D;
}

/* Dark theme support for contact panel */
body.dark-theme .contact-panel {
  background: #2a2a2a;
  color: #e0e0e0;
}

body.dark-theme .contact-panel-header {
  background: #1a1a1a;
  border-bottom-color: #3a3a3a;
}

body.dark-theme .contact-panel-header h2 {
  color: #e0e0e0;
}

body.dark-theme .contact-panel-close {
  color: #b0b0b0;
}

body.dark-theme .contact-panel-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
}

body.dark-theme .contact-panel-intro p {
  color: #b0b0b0;
}

body.dark-theme .contact-method {
  border-bottom-color: #3a3a3a;
}

body.dark-theme .contact-method-label {
  color: #888;
}

body.dark-theme .contact-method-value {
  color: #e0e0e0;
}

body.dark-theme .contact-panel-cta {
  border-top-color: #3a3a3a;
}

body.dark-theme .contact-panel-form {
  border-top-color: #3a3a3a;
}

body.dark-theme .elegant-form label {
  color: #e0e0e0;
}

body.dark-theme .elegant-form input,
body.dark-theme .elegant-form textarea {
  background: #1a1a1a;
  border-color: #3a3a3a;
  color: #e0e0e0;
}

body.dark-theme .elegant-form input:focus,
body.dark-theme .elegant-form textarea:focus {
  border-color: #819cab;
  background: #2a2a2a;
}

body.dark-theme .form-cancel-btn {
  background: #1a1a1a;
  border-color: #3a3a3a;
  color: #b0b0b0;
}

body.dark-theme .form-cancel-btn:hover {
  background: #2a2a2a;
  border-color: #4a4a4a;
}

body.dark-theme .contact-method-icon {
  color: #b0b0b0;
}

body.dark-theme .contact-panel-chat {
  border-top-color: #3a3a3a;
}

body.dark-theme .panel-chat-header h3 {
  color: #e0e0e0;
}

body.dark-theme .panel-chat-header p {
  color: #b0b0b0;
}

body.dark-theme .panel-chat-btn {
  background: #1a1a1a;
  border-color: #3a3a3a;
  color: #e0e0e0;
}

body.dark-theme .panel-chat-btn:hover {
  background: #2a2a2a;
  border-color: #4a4a4a;
}

body.dark-theme .panel-chat-btn.whatsapp-chat:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
}

body.dark-theme .panel-chat-btn.live-chat:hover {
  background: #4ECDC4;
  border-color: #4ECDC4;
  color: #ffffff;
}

body.dark-theme .panel-chat-interface {
  background: #2a2a2a;
  border-color: #3a3a3a;
}

body.dark-theme .panel-chat-messages {
  background: #1a1a1a;
}

body.dark-theme .panel-chat-messages .message.bot .message-content {
  background: #3a3a3a;
  color: #e0e0e0;
}

body.dark-theme .panel-chat-quick-actions {
  background: #2a2a2a;
  border-top-color: #3a3a3a;
}

body.dark-theme .panel-chat-quick-actions .quick-action {
  background: #1a1a1a;
  border-color: #3a3a3a;
  color: #b0b0b0;
}

body.dark-theme .panel-chat-input-area {
  background: #1a1a1a;
  border-top-color: #3a3a3a;
}

body.dark-theme .panel-chat-input-container {
  background: #2a2a2a;
  border-color: #3a3a3a;
}

body.dark-theme .panel-chat-input {
  color: #e0e0e0;
}

/* ===== MEDIA QUERIES ===== */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
  .blurred {
    filter: blur(4px);
  }

  :root {
    --top-blur-height: 32px;
  }

  .container {
    max-width: 1400px;
  }

  .story-content {
    gap: 8rem;
  }

  .image-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1600px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
    max-width:100%;
  }

  .image-placeholder {
    height: 200px;
  }

  .logo {
    font-size: 3rem;
  }

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

  .section-subtitle {
    font-size: 1.2rem;
  }

  .contact-panel-back-arrow{
    display: flex;
    position: absolute;
    top: 15px;
  }

  .contact-panel-home {
    display: flex;
    position: absolute;
    top: 25px;
  }
}

/* Desktop (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
  .blurred {
    filter: blur(4px);
  }

  :root {
    --top-blur-height: 28px;
  }

  .story-content {
    gap: 6rem;
  }

  .story-video {
    width: 100%;
    max-width: 600px;
    height: 100%;
    margin: 0 auto;
  }

  .image-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin: -8px auto 1.5rem;
    max-width:100%;
  }

  .image-placeholder {
    height: 190px;
  }

  .logo {
    font-size: 2.5rem;
  }

 .contact-panel-back-arrow{
    display: flex;
    position: absolute;
    top: 15px;
  }

  .contact-panel-home {
    display: flex;
    position: absolute;
    top: 25px;
  }
}

/* Tablet (769px - 1023px) */
@media (max-width: 1023px) and (min-width: 769px) {

  .theme-menu {
    left: -40%;
    transform: translateX(-50%) translateY(-10px);
    top: 165%;
  }

  .blurred {
    filter: blur(3px);
  }

  :root {
    --top-blur-height: 24px;
  }

  .blurred::before {
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
  }

  .story-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .story-video {
    width: 100%;
    max-width: 600px;
    height: 100%;
    margin: 0 auto;
  }

  .nav-container {
    padding: 0.5rem 1rem;
  }

  .nav-container img {
    width: 72px !important;
    height: 72px !important;
  }

  .image-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: -12px auto 1.25rem;
    max-width:100%;
  }

  .image-placeholder {
    height: 180px;
  }

  .logo {
    font-size: 2.2rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }

  .markets-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }

  .mission-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  /* Contact Panel - Tablet */
  .contact-panel {
    width: 380px;
  }

  .contact-panel-content {
    padding: 1.75rem;
  }

  .contact-panel-button {
    padding: 12px 28px;
    font-size: 0.8rem;
  }

  .panel-chat-header h3 {
    font-size: 1rem;
  }

  .panel-chat-header p {
    font-size: 0.8rem;
  }

  .panel-chat-btn {
    padding: 11px 14px;
    font-size: 0.85rem;
  }

.contact-panel-back-arrow{
    display: flex;
    position: absolute;
    top: 15px;
  }

  .contact-panel-home {
    display: flex;
    position: absolute;
    top: 25px;
  }
}

/* Special Breakpoint (800px) - Navigation Layout */
@media (max-width: 800px) {
  .nav-container {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0.5rem 0.3rem;
  }

  .logo {
    padding-left: 0;
    text-align: center;
  }

  .logo-link {
    justify-content: center;
    width: 100%;
  }

  .logo-container {
    justify-content: center;
    width: 100%;
  }

  .nav-menu {
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
    gap: 0.25rem;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overflow: visible !important;
  }

  .nav-menu a:not(:last-child):not(.nav-menu a)::after {
    content: "•";
    margin: 0 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    color: var(--text-color);
    opacity: 0.6;
    vertical-align: middle;
    line-height: 1;
    position: relative;
    top: -1px;
  }

  .nav-dropdown::after {
    display: none;
  }

  /* Theme arrow faces down and menu appears below for all screens under 800px */
  .arrow-toggle svg {
    transform: rotate(90deg);
  }

  .theme-menu {
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    top: 40%;
    right: auto;
    margin-top: 5px;
  }

  .theme-menu.show {
    transform: translateX(-50%) translateY(0);
  }

  /* Fixed dropdown behavior for mobile */
  .nav-dropdown {
    position: relative;
  }

  .nav-dropdown .dropdown-content {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(240, 248, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: max-content;
    min-width: 150px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 5px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1002;
  }

  .nav-dropdown:hover .dropdown-content,
  .nav-dropdown.active .dropdown-content,
  .nav-dropdown.open .dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-dropdown .dropdown-content a {
    color: var(--bordercolor);
    padding: 8px 20px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 0;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    background-color: transparent;
  }

  .nav-dropdown .dropdown-content a::after {
    display: none !important;
  }

  .nav-dropdown .dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--button-bg) !important;
  }

  .image-placeholder {
    height: 170px;
  }

.contact-panel-back-arrow{
    display: flex;
    position: absolute;
    top: 15px;
  }

  .contact-panel-home {
    display: flex;
    position: absolute;
    top: 25px;
  }
}

/* Tablet and Mobile Large (481px - 768px) */
@media (max-width: 768px) {
  .blurred {
    filter: blur(2px);
    transition: filter 0.2s ease-in-out;
  }

  .blurred::before {
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-container {
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.1rem;
    align-items: center; /* ensure centered stack */
  }

  .contact-bar-content {
    font-size: 0.8rem;
    padding: 0 0.75rem;
    justify-content: space-between;
  }

  .nav-container img {
    width: 56px !important;
    height: 56px !important;
  }

  .logo {
    font-size: 2rem;
    padding-left: 0; /* remove offset on mobile/tablet */
    text-align: center;
  }

  .theme-toggle-container {
    order: -1;
  }

  .arrow-toggle {
    padding: 6px;
  }


  .nav-menu {
    gap: 0.1rem;
    font-size: 1rem;
    justify-content: center; /* center links */
    flex-wrap: nowrap;           /* absolutely no wrapping */
    white-space: nowrap;         /* keep items on one line */
    overflow-x: auto;            /* horizontal scroll if needed */
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .nav-menu a {
    padding: 6px 2px;
  }

  .nav-menu a:not(:last-child)::after {
    content: "•";
    margin: 0 0.55rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    color: var(--text-color);
    opacity: 0.6;
    vertical-align: middle;
    line-height: 1;
    position: relative;
    top: -1px;
  }

  .logo-link {
    justify-content: center;
    width: 100%;
  }

  .logo-container {
    justify-content: center;
    width: 100%;
  }

  .nav-dropdown::after {
    display: none; /* hide trailing dash after dropdown item */
  }

  .dropdown-content {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    z-index: 1002;
  }
  .nav-dropdown.open .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .image-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin: -10px auto 1rem;
    padding: 0 0.5rem;
  }

   .image-grid {
    max-width: 100%;
    padding: 0 0.5rem;
    min-height: 280px;
  }

  .image-placeholder {
    height: 260px;
    max-width: 100%;
  }

  /* Our Story: make layout single-column and centered on small screens */
  .story-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .story-text { padding: 0 0.5rem; }

  .story-text h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #508ea1;
  }

  .story-text p {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 60ch; /* keep paragraphs readable */
  }

  /* center the decorative underline under the title */
  .story-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .story-video {
    width: 100%;
    max-width: 560px;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    border-radius: 16px;
  }

  .section-title {
    font-size: 2rem;
    color: #508ea1;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-card {
    padding: 2rem;
  }

  .markets-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .mission-content h2 {
    font-size: 2rem;
    color: #508ea1;
  }

  .founder-card {
    padding: 2rem;
    margin: 2rem auto;
  }

  .founder-name {
    font-size: 1.8rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .customer-form form {
    padding: 1.5rem;
  }

  .view-products-btn {
    display: block;
    width: 100%;
  }

  .watermark.sticky img {
    width: 80vw;
  }

  .chat-window {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    border-radius: 0 !important;
    transform: translateY(100%) !important;
    z-index: 9999 !important;
  }

  .chat-window.open {
    transform: translateY(0) !important;
  }

  /* Full screen chat layout adjustments */
  .chat-window .chat-interface {
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .chat-window .chat-header {
    flex-shrink: 0 !important;
  }

  .chat-window .chat-messages {
    flex: 1 !important;
    overflow-y: auto !important;
    padding-bottom: 20px !important;
  }

  .chat-window .quick-actions {
    flex-shrink: 0 !important;
    margin-top: auto !important;
  }

  .chat-window .chat-input-area {
    flex-shrink: 0 !important;
    position: sticky !important;
    bottom: 0 !important;
    background: white !important;
    border-top: 1px solid #e0e0e0 !important;
    padding: 15px 20px !important;
  }

  .chat-toggle {
    width: 58px;
    height: 58px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
  }

  /* Use chat SVG icon */
  .chat-toggle::before {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    background-image: url('/Images/chatIcon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .chat-toggle:hover {
    transform: scale(1.1);
  }

  /* Hide avatar since we're using SVG icon */
  .chat-avatar {
    display: none;
  }

  /* Hide text content, show only logo */
  .chat-toggle-content {
    display: none;
  }

  /* Chat hover preview for icon-only screens */
  .chat-toggle:hover::after {
    content: 'How can we assist you?';
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 8px;
    z-index: 1000;
  }

  .chat-toggle-title {
    display: none;
  }

  .chat-toggle-subtitle {
    display: none;
  }

  .notification-badge {
    width: 18px;
    height: 18px;
    font-size: 11px;
    top: -4px;
    right: -4px;
  }

.contact-panel-back-arrow{
    display: flex;
    position: absolute;
    top: 15px;
  }

  .contact-panel-home {
    display: flex;
    position: absolute;
    top: 25px;
  }
}

/* Mobile Large (400px - 480px) */
@media (max-width: 480px) {
  .blurred {
    filter: blur(1.5px);
  }

  :root {
    --top-blur-height: 16px;
  }

  .blurred::before {
    backdrop-filter: blur(0.5px);
    -webkit-backdrop-filter: blur(0.5px);
    background: rgba(255, 255, 255, 0.03);
  }

  /* Dionic-style centered mobile header */
  .nav-container {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
    align-items: center;
  }

  .logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
  }

  .theme-toggle-container {
    order: -1;
  }

  .arrow-toggle {
    padding: 6px;
  }

  .logo {
    font-size: 1.6rem;
    padding-left: 0; /* prevent text shift */
  }

  .theme-toggle-container {
    order: -1;
  }

  .arrow-toggle {
    padding: 5px;
  }

  .arrow-toggle::before {
    font-size: 0.7rem;
    padding: 4px 8px;
  }

  .contact-bar-content {
    font-size: 0.75rem;
    justify-content: space-between;
    padding: 0 0.5rem;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;     /* keep row */
    align-items: center;
    flex-wrap: nowrap;       /* absolutely no wrapping */
    gap: 0.3rem;
    font-size: 0.95rem;
    justify-content: center;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow-x: auto;        /* allow horizontal scroll on very small widths */
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu a {
    padding: 0.5rem 0;
    text-align: center;
    white-space: nowrap;
  }

  .logo-container img {
    width: 40px !important;
    height: 40px !important;
  }

   .image-grid {
    min-height: 220px;
  }

  .image-placeholder {
    height: 200px;
  }

  .story-content { gap: 1rem; }

  .story-text h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .story-text p {
    font-size: 0.95rem;
    max-width: 58ch;
  }

  .section-title {
    font-size: 1.8rem;
    margin: 1rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .story-video {
    width: 100%;
    max-width: 480px;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
  }

  .product-card {
    padding: 1.5rem;
  }

  .product-card h3 {
    font-size: 1.3rem;
  }



  .product-card p {
    font-size: 0.9rem;
  }

  .mission-content h2 {
    font-size: 1.8rem;
  }

  .mission-item {
    padding: 0.8rem;
  }

  .mission-item h3 {
    font-size: 1.1rem;
  }

  .founder-image {
    width: 120px;
    height: 120px;
  }

  .founder-name {
    font-size: 1.6rem;
  }

  .founder-title {
    font-size: 1rem;
  }

  .market-card {
    padding: 2rem 1.5rem;
  }

  .market-flag {
    font-size: 3rem;
  }

  .market-card h3 {
    font-size: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-item {
    padding: 1.5rem;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .customer-form form {
    padding: 1.2rem;
  }

  .customer-form h2 {
    font-size: 1.5rem;
  }

  .submit-enquiry-btn {
    font-size: 1rem;
  }

  .watermark {
    bottom: 20px;
    right: 20px;
  }

  .watermark img {
    width: 100px;
    height: 100px;
  }

  .chat-toggle {
    width: 232px;
    height: 56px;
    font-size: 13px;
  }

  .chat-toggle-title {
    font-size: 13px;
  }

  .chat-toggle-subtitle {
    font-size: 11px;
  }

   .theme-menu {
    width: 40px;
    height: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    top: 35%;
  }
}

/* Mobile Small (320px - 399px) */
@media (max-width: 399px) {

  .theme-menu {
    width: 40px;
    height: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    top: 40%;
  }

  .blurred {
    filter: blur(1px);
  }

  :root {
    --top-blur-height: 14px;
  }

  .blurred::before {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.02);
  }

  .nav-container {
    padding: 0.5rem;
    gap: 0.1rem;
  }

  .logo {
    font-size: 1.6rem;
  }

  .nav-menu {
    font-size: 0.9rem;
  }

  .image-grid {
    min-height: 180px;
  }

  .image-placeholder {
    height: 160px;
  }

  .story-text h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .story-text p {
    font-size: 0.92rem;
    max-width: 56ch;
  }

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

  .section-subtitle {
    font-size: 0.9rem;
  }

  .story-video {
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
  }

  .product-card {
    padding: 1rem;
  }

 .watermark img {
    width: 70px;
    height: 70px;
  }

  .product-card h3 {
    font-size: 1.1rem;
  }

  .product-card p {
    font-size: 0.85rem;
  }

  .mission-content h2 {
    font-size: 1.4rem;
  }

  .mission-item h3 {
    font-size: 1rem;
  }

  .mission-item p {
    font-size: 0.9rem;
  }

  .founder-image {
    width: 90px;
    height: 90px;
    font-size: 0.9rem;
  }

  .founder-name {
    font-size: 1.2rem;
  }

  .founder-bio {
    font-size: 0.9rem;
  }

  .market-card {
    padding: 1.5rem 1rem;
  }

  .market-flag {
    font-size: 2rem;
  }

  .market-card h3 {
    font-size: 1.2rem;
  }

  .market-card p {
    font-size: 0.9rem;
  }

  .contact-item {
    padding: 1.2rem;
  }

  .contact-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .contact-value {
    font-size: 1rem;
  }

  .customer-form {
    margin: 1rem auto;
  }

  .customer-form form {
    padding: 1rem;
  }

  .customer-form h2 {
    font-size: 1.3rem;
  }

  .form-group input, .form-group textarea {
    padding: 0.6rem;
    font-size: 0.9rem;
  }

  .submit-enquiry-btn {
    padding: 0.8rem;
    font-size: 0.95rem;
  }

  .footer-logo {
    font-size: 1.5rem;
  }

  .footer-text {
    font-size: 0.9rem;
  }

  .chat-widget {
    bottom: 10px;
    right: 10px;
  }

  .chat-toggle {
    width: 52px;
    height: 52px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    font-size: 12px;
  }

  /* Use chat SVG icon */
  .chat-toggle::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
  }

  .chat-toggle:hover {
    transform: scale(1.1);
  }

  /* Hide avatar since we're using SVG icon */
  .chat-avatar {
    display: none;
  }

  /* Hide text content, show only logo */
  .chat-toggle-content {
    display: none;
  }

  /* Chat hover preview for icon-only screens */
  .chat-toggle:hover::after {
    content: 'How can we assist you?';
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 8px;
    z-index: 1000;
  }

  .chat-toggle-title {
    display: none;
  }

  .chat-toggle-subtitle {
    display: none;
  }

  .notification-badge {
    width: 16px;
    height: 16px;
    font-size: 10px;
    top: -3px;
    right: -3px;
  }

.contact-panel-back-arrow{
    display: flex;
    position: absolute;
    top: 15px;
  }

  .contact-panel-home {
    display: flex;
    position: absolute;
    top: 25px;
  }
}

/* Extra Small Mobile (below 320px) */
@media (max-width: 319px) {

   .watermark img {
    width: 100px;
    height: 200px;
  }
  .blurred {
    filter: blur(0.5px);
  }

  :root {
    --top-blur-height: 12px;
  }

  .blurred::before {
    display: none;
  }

  .logo {
    font-size: 1.4rem;
  }

  .image-grid {
    min-height: 140px;
  }

  .image-placeholder {
    height: 120px;
  }

  .nav-menu {
    font-size: 0.8rem;
    gap: 0.5rem;
  }

  .story-text h2 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
  }

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

  .story-video {
    width: 100%;
    max-width: 360px;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
  }

  .product-card {
    padding: 0.8rem;
  }

  .mission-content h2 {
    font-size: 0.8rem;
  }

  .founder-name {
    font-size: 1.1rem;
  }

  .market-flag {
    font-size: 1.8rem;
  }

  .customer-form h2 {
    font-size: 1.2rem;
  }

  .chat-toggle {
    width: 200px;
    height: 50px;
    font-size: 11px;
  }

  .chat-avatar {
    width: 50px;
    height: 50px;
  }

  /* Chat widget styles for very small screens */
  .chat-widget {
    bottom: 0.5rem;
    right: 0.3rem;
  }

  .chat-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .chat-toggle::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
  }

  .chat-toggle:hover {
    transform: scale(1.1);
  }

  .chat-toggle-content,
  .chat-toggle-title,
  .chat-toggle-subtitle,
  .chat-avatar {
    display: none;
  }

  /* Chat hover preview for icon-only screens */
  .chat-toggle:hover::after {
    content: 'How can we assist you?';
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 8px;
    z-index: 1000;
  }

.contact-panel-back-arrow{
    display: flex;
    position: absolute;
    top: 1px !important;
    right: -15px !important;
    width: 12px!important;
  height: 12px!important;
  }

  .contact-panel-home {
    display: flex;
    position: absolute;
    top: 35px !important;
  }
}

/* Ultra Small Mobile (251px - 318px) */
@media (min-width: 251px) and (max-width: 318px) {

  .theme-menu {
    min-width: 40px;
    min-height: 40px;
    left: 50%;
    top: 10%;
  }
  .nav-container {
    flex-direction: column;
    align-items: center;
    gap: 0.2rem !important;
    padding: 0.1rem;
  }
  .logo-link, .logo-container { width: 100%; justify-content: center; }
  .logo-container img { width: 32px !important; height: 32px !important; }
  .logo { font-size: 1.3rem; padding-left: 0; text-align: center; }
  .theme-toggle-container { order: -1; }
  .arrow-toggle { padding: 4px; }
  .arrow-toggle::before { font-size: 0.65rem; padding: 3px 6px; }
  .nav-menu {
    display: flex;
    flex-direction: row; /* keep as row */
    align-items: center;
    flex-wrap: nowrap;   /* absolutely no wrapping */
    gap: 0;
    padding: 0;
    font-size: 0.7rem;   /* a bit smaller for ultra small */
    justify-content: center;
    width: 100%;
    white-space: nowrap;         /* keep items on one line */
    overflow-x: auto;            /* allow horizontal scroll */
    -webkit-overflow-scrolling: touch;
  }
  .image-grid {
    min-height: 140px;
  }

  .image-placeholder {
    height: 120px;
  }
  /* Our Story ultra-small tuning */
  .story-content { gap: 0.75rem; }
  .story-text p { font-size: 0.9rem; max-width: 52ch; }
  .story-text h2::after { left: 50%; transform: translateX(-50%); }
  .nav-menu a { padding: 4px 1px; }
  .nav-menu a:not(:last-child)::after {
    content: "•";
    margin: 0 0.25rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    color: var(--text-color);
    opacity: 0.5;
    vertical-align: middle;
    line-height: 1;
    position: relative;
    top: -1px;
  }
  .nav-dropdown::after { display: none; }
  .dropdown-content { display: none; height: auto; overflow: visible; }
  .nav-dropdown.open .dropdown-content { display: block; }

  /* Chat widget styles for ultra small screens */
  .chat-widget {
    bottom: 0.5rem;
    right: 0.3rem;
  }

  .chat-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .chat-toggle::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
  }

  .chat-toggle:hover {
    transform: scale(1.1);
  }

  .chat-toggle-content,
  .chat-toggle-title,
  .chat-toggle-subtitle,
  .chat-avatar {
    display: none;
  }

  /* Chat hover preview for icon-only screens */
  .chat-toggle:hover::after {
    content: 'How can we assist you?';
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 8px;
    z-index: 1000;
  }
}

/* 250px Width Screen Specific Media Query - MERGED WITH 239px CONTENT */
@media (max-width: 250px) {

 

  /* Navigation adjustments - prioritizing 239px values where more restrictive */
  .container {
    max-width: 250px;
    margin: 0 auto;
    padding: 0 0.5rem;
  }

  .nav-container {
    flex-direction: column;
    align-items: center;
    gap: 0 !important; /* Using 239px value - more restrictive */
    padding: 0; /* Using 239px value - more restrictive */
  }

  .logo-link, .logo-container {
    width: 100%;
    justify-content: center;
  }

  .logo-container img {
    width: 25px !important; /* Using 239px value - smaller size */
    height: 25px !important; /* Using 239px value - smaller size */
  }

  .logo {
    font-size: 1rem; /* Using 239px value - smaller size */
    padding-left: 0;
    text-align: center;
  }

  .theme-toggle-container {
    order: -1;
  }

  .arrow-toggle {
    padding: 3px; /* Using 239px value - smaller padding */
  }

  .arrow-toggle::before {
    font-size: 0.6rem; /* Using 239px value - smaller font */
    padding: 2px 5px; /* Using 239px value - smaller padding */
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0; /* Using 239px value - no padding */
    font-size: 0.7rem; /* Using both values - same */
    justify-content: center;
    width: 100%;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu a {
     padding: 0;
  }

   .nav-menu a:not(:last-child)::after {
    content: "•";
    margin: 0 0.25rem;
   }
 
  .nav-dropdown::after {
    display: none;
  }

  .nav-dropdown .dropdown-content a {
    padding: 2px 8px;
    display: block;
    margin: 0;
    font-size: 0.7rem;
    max-width:50px !important;
  }

  .dropdown-content {
 max-width:20px !important;
  }
  /* Header and hero section adjustments */
  .contact-bar {
    padding: 0.25rem 0.5rem;
    height: 15px;
  }

  .contact-bar-content {
    font-size: 0.5rem !important;
  }

  /* Fix nav positioning to match reduced contact bar height */
  nav {
    top: 15px; /* Match contact bar height at 250px */
  }

  .theme-toggle-container .arrow-toggle {
    padding: 2px;
  }

  /* Make arrow face down and position menu below */
  .arrow-toggle svg {
    transform: rotate(90deg);
  }

  /* Position theme menu below the arrow */
  .theme-menu {
    min-width: 40px;
    min-height: 40px;
    left: 10%;
    transform: translateX(-50%) translateY(-10px);
    top: 0;
    right: auto;
    margin-top: 5px;
  }

  .theme-menu.show {
    transform: translateX(-50%) translateY(0);
  }

  .theme-btn {
    padding: 1px 2px;
    min-height: 30px;
    min-width: 30px;
  }

  .theme-icon-light,
  .theme-icon-dark {
    width: 20px !important;
    height: 20px !important;
    background-size: contain !important;
  }

  /* Main content adjustments - prioritizing 239px values for image grid */
  .image-grid {
    min-height: 140px; /* Using 239px value - smaller */
    padding: 0.5rem;
    margin: -10px auto 0.1rem;
  }

  .image-placeholder {
    height: 120px; /* Using 239px value - smaller */
  }

  .premium-search-container {
    padding: 1rem 0.5rem;
  }

  .search-header h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .search-header p {
    font-size: 0.8rem;
  }

  .search-icon-container {
    padding: 0.75rem;
  }

  .search-text {
    font-size: 0.9rem;
  }

  .search-icon-btn svg {
    width: 24px;
    height: 24px;
  }

  /* Story section adjustments - prioritizing 239px values */
  .story-section {
    padding: 0.2rem 0;
  }

  .story-content {
    gap: 0.75rem; /* Using 239px value - smaller gap */
    padding: 0 0.75rem;
  }

  .story-text h2 {
    font-size: 1.5rem;
    margin-bottom: 0;
  }

  .story-text p {
    font-size: 0.85rem; /* Using 250px value - slightly larger than 239px 0.9rem but keeping 250px layout */
    line-height: 1.5;
    margin-bottom: 0.75rem;
    max-width: 52ch; /* Using 239px value - more restrictive */
  }

  .story-text h2::after {
    left: 50%; /* Using 239px value - centered */
    transform: translateX(-50%); /* Using 239px value - centered */
  }

  .story-video {
    width: 100%;
    max-width: 360px;
    height: 200px;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
  }

  /* Products section adjustments */
  .products-section {
    padding: 0.5rem 0;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
  }

  .section-subtitle {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .products-grid {
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .product-card {
    padding: 1rem;
  }

  .product-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .product-card p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }

  .product-features li {
    font-size: 0.75rem;
  }

  .view-products-btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  /* Mission section adjustments */
  .mission-section {
    padding: 0.5rem 0;
  }

  .mission-content {
    padding: 0 0.75rem;
  }

  .mission-content h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .mission-content p {
    font-size: 0.8rem !important;
    margin-bottom: 1.5rem;
  }

  .mission-grid {
    gap: 1rem;
  }

  .mission-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .mission-item p {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  /* Markets section adjustments */
  .markets-section {
    padding: 0.5rem 0;
  }

  .market-card {
    padding: 1rem;
  }

  .market-card h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .market-card p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  .market-stats {
    gap: 0.75rem;
  }

  
  .stat-item span:first-child {
    font-size: 0.7rem;
  }

  .stat-value {
    font-size: 0.75rem;
  }

  /* Founder section adjustments */
  .founder-section {
    padding: 0.5rem 0;
  }

  .founder-card {
    padding: 1rem;
    max-width: none;
  }

  .founder-image {
    width: 80px;
    height: 80px;
    font-size: 0.7rem;
  }

  .founder-name {
    font-size: 1.1rem;
    margin: 0.75rem 0 0.25rem;
  }

  .founder-title {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }

  .founder-bio {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  /* Footer adjustments */
  footer {
    padding: 0.5rem 0;
  }

  .footer-content {
    padding: 0 0.75rem;
    text-align: center;
  }

  .footer-logo {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  .footer-text {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  /* Contact panel adjustments */
  .contact-panel {
    width: 100vw;
    height: 100vh;
    left: 0;
    right: 0;
    transform: translateX(100%);
  }

  .contact-panel.active {
    transform: translateX(0);
  }

  .contact-panel-header h2 {
    font-size: 1.1rem;
  }

  .contact-panel-intro p {
    font-size: 0.8rem;
  }

  .contact-method-label {
    font-size: 0.75rem;
  }

  .contact-method-value {
    font-size: 0.8rem;
  }

  /* Chat widget adjustments - simplified to icon only */
  .chat-widget {
    bottom: 0.75rem;
    right: 0.5rem;
  }

  .chat-toggle {
    width: 55px !important;
    height: 50px !important;
    padding-top: 4px !important;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }

  /* Use chat SVG icon */
  .chat-toggle::before {
    width: 25px;
    height: 25px;
  }


  .chat-window {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    border-radius: 0 !important;
    transform: translateY(100%) !important;
    z-index: 9999 !important;
  }

  .chat-window.open {
    transform: translateY(0) !important;
  }

  /* Full screen chat layout adjustments */
  .chat-window .chat-interface {
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .chat-window .chat-header {
    flex-shrink: 0 !important;
  }

  .chat-window .chat-messages {
    flex: 1 !important;
    overflow-y: auto !important;
    padding-bottom: 20px !important;
  }

  .chat-window .quick-actions {
    flex-shrink: 0 !important;
    margin-top: auto !important;
  }

  .chat-window .chat-input-area {
    flex-shrink: 0 !important;
    position: sticky !important;
    bottom: 0 !important;
    background: white !important;
    border-top: 1px solid #e0e0e0 !important;
    padding: 15px 20px !important;
  }

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

  .welcome-features li {
    font-size: 0.8rem;
  }

  .start-conversation-btn {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }

  /* Form adjustments */
  .form-group label {
    font-size: 0.8rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 0.8rem;
    padding: 0.5rem;
  }

  .form-submit-btn,
  .form-cancel-btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  /* Quick actions adjustments */
  .quick-actions {
    gap: 0.25rem;
    padding: 0.5rem;
  }

  .quick-action {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
  }

  /* Chat messages adjustments */
  .chat-messages {
    font-size: 0.8rem;
  }

  .message-content {
    padding: 0.5rem;
  }

  .chat-input {
    font-size: 0.8rem;
  }

  /* Chat widget adjustments - simplified to icon only */
  .chat-widget {
    bottom: 0.5rem;
    right: 0.3rem;
  }

  .chat-toggle {
    width: 45px;
    height: 45px;
    padding-top:5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  /* Use chat SVG icon */
  .chat-toggle::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
  }

  .chat-toggle:hover {
    transform: scale(1.1);
  }

  /* Hide text content, show only logo */
  .chat-toggle-content {
    display: none;
  }

  /* Chat hover preview for icon-only screens */
  .chat-toggle:hover::after {
    content: 'How can we assist you?';
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 8px;
    z-index: 1000;
  }

  .chat-toggle-title {
    display: none;
  }

  .chat-toggle-subtitle {
    display: none;
  }

  /* Hide avatar since we're using SVG icon */
  .chat-avatar {
    display: none;
  }

  .chat-window {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    border-radius: 0 !important;
    transform: translateY(100%) !important;
    z-index: 9999 !important;
  }

  .chat-window.open {
    transform: translateY(0) !important;
  }

  /* Full screen chat layout adjustments */
  .chat-window .chat-interface {
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .chat-window .chat-header {
    flex-shrink: 0 !important;
  }

  .chat-window .chat-messages {
    flex: 1 !important;
    overflow-y: auto !important;
    padding-bottom: 20px !important;
  }

  .chat-window .quick-actions {
    flex-shrink: 0 !important;
    margin-top: auto !important;
  }

  .chat-window .chat-input-area {
    flex-shrink: 0 !important;
    position: sticky !important;
    bottom: 0 !important;
    background: white !important;
    border-top: 1px solid #e0e0e0 !important;
    padding: 15px 20px !important;
  }

  /* Chat hover preview for icon-only screens */
  .chat-toggle:hover::after {
    content: 'How can we assist you?';
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    margin-bottom: 5px;
    z-index: 1000;
  }
}

/* 320px-349px Width Screen Media Query - Missing Range */
@media (min-width: 320px) and (max-width: 349px) {
  .chat-widget {
    bottom: 0.5rem;
    right: 0.3rem;
  }

  .chat-toggle {
    width: 46px;
    height: 46px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }

  .chat-toggle::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
  }

  .chat-toggle:hover {
    transform: scale(1.1);
  }

  .chat-toggle-content,
  .chat-toggle-title,
  .chat-toggle-subtitle,
  .chat-avatar {
    display: none;
  }

  /* Chat hover preview for icon-only screens */
  .chat-toggle:hover::after {
    content: 'How can we assist you?';
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 8px;
    z-index: 1000;
  }
}

/* 350px Width Screen Specific Media Query */
@media (max-width: 350px) {
  .chat-widget {
    bottom: 0.5rem;
    right: 0.4rem;
  }

  .chat-toggle {
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }

  .chat-toggle::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-image: url('/Images/chatIcon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .chat-toggle:hover {
    transform: scale(1.1);
  }

  .chat-toggle-content,
  .chat-toggle-title,
  .chat-toggle-subtitle,
  .chat-avatar {
    display: none;
  }

  /* Chat hover preview for icon-only screens */
  .chat-toggle:hover::after {
    content: 'How can we assist you?';
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 8px;
    z-index: 1000;
  }

  .chat-window {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    border-radius: 0 !important;
    transform: translateY(100%) !important;
    z-index: 9999 !important;
  }

  .chat-window.open {
    transform: translateY(0) !important;
  }

  /* Full screen chat layout adjustments */
  .chat-window .chat-interface {
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .chat-window .chat-header {
    flex-shrink: 0 !important;
  }

  .chat-window .chat-messages {
    flex: 1 !important;
    overflow-y: auto !important;
    padding-bottom: 20px !important;
  }

  .chat-window .quick-actions {
    flex-shrink: 0 !important;
    margin-top: auto !important;
  }

  .chat-window .chat-input-area {
    flex-shrink: 0 !important;
    position: sticky !important;
    bottom: 0 !important;
    background: white !important;
    border-top: 1px solid #e0e0e0 !important;
    padding: 15px 20px !important;
  }

  /* Contact panel full window for small screens */
  .contact-panel {
    width: 100vw;
    height: 100vh;
    left: 0;
    right: 0;
    transform: translateX(100%);
  }

  .contact-panel.active {
    transform: translateX(0);
  }

  .contact-panel-nav {
    display: flex;
  }

.contact-panel-back-arrow{
    display: flex;
    position: absolute;
    top: 1px !important;
    left:6px !important;
  }

  .contact-panel-home {
    display: flex;
    position: absolute;
    top: 30px !important;
  }
}

/* 450px Width Screen Specific Media Query */
@media (max-width: 450px) {
  .chat-widget {
    bottom: 0.7rem;
    right: 0.5rem;
  }

  .chat-toggle {
    width: 52px;
    height: 52px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }

  .chat-toggle::before {
    content: '';
    position: absolute;
    width: 26px;
    height: 26px;
    background-image: url('/Images/chatIcon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .chat-toggle:hover {
    transform: scale(1.1);
  }

  .chat-toggle-content,
  .chat-toggle-title,
  .chat-toggle-subtitle,
  .chat-avatar {
    display: none;
  }

  /* Chat hover preview for icon-only screens */
  .chat-toggle:hover::after {
    content: 'How can we assist you?';
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 8px;
    z-index: 1000;
  }

  .chat-window {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    border-radius: 0 !important;
    transform: translateY(100%) !important;
    z-index: 9999 !important;
  }

  .chat-window.open {
    transform: translateY(0) !important;
  }

  /* Full screen chat layout adjustments */
  .chat-window .chat-interface {
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .chat-window .chat-header {
    flex-shrink: 0 !important;
  }

  .chat-window .chat-messages {
    flex: 1 !important;
    overflow-y: auto !important;
    padding-bottom: 20px !important;
  }

  .chat-window .quick-actions {
    flex-shrink: 0 !important;
    margin-top: auto !important;
  }

  .chat-window .chat-input-area {
    flex-shrink: 0 !important;
    position: sticky !important;
    bottom: 0 !important;
    background: white !important;
    border-top: 1px solid #e0e0e0 !important;
    padding: 15px 20px !important;
  }

  /* Contact panel full window for small screens */
  .contact-panel {
    width: 100vw;
    height: 100vh;
    left: 0;
    right: 0;
    transform: translateX(100%);
  }

  .contact-panel.active {
    transform: translateX(0);
  }

  .contact-panel-nav {
    display: flex;
  }

.contact-panel-back-arrow{
    display: flex;
    position: absolute;
      top: 1px !important;
    left:6px !important;
  }

  .contact-panel-home {
    display: flex;
    position: absolute;
    top: 30px !important;
  }
}

/* 550px Width Screen Specific Media Query */
@media (max-width: 550px) {
  .chat-widget {
    bottom: 0.8rem;
    right: 0.6rem;
  }

  .chat-toggle {
    width: 55px;
    height: 55px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }

  .chat-toggle::before {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    background-image: url('/Images/chatIcon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .chat-toggle:hover {
    transform: scale(1.1);
  }

  .chat-toggle-content,
  .chat-toggle-title,
  .chat-toggle-subtitle,
  .chat-avatar {
    display: none;
  }

  /* Chat hover preview for icon-only screens */
  .chat-toggle:hover::after {
    content: 'How can we assist you?';
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 8px;
    z-index: 1000;
  }

  .chat-window {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    max-width: none;
    border-radius: 0;
    transform: translateY(100%);
    z-index: 9999;
  }

  .chat-window.open {
    transform: translateY(0);
  }

  /* Chat hover preview for icon-only screens */
  .chat-toggle:hover::after {
    content: 'How can we assist you?';
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 8px;
    z-index: 1000;
  }

  /* Contact panel full window for small screens */
  .contact-panel {
    width: 100vw;
    height: 100vh;
    left: 0;
    right: 0;
    transform: translateX(100%);
  }

  .contact-panel.active {
    transform: translateX(0);
  }

  .contact-panel-nav {
    display: flex;
  }

.contact-panel-back-arrow{
    display: flex;
    position: absolute;
    top: 1px !important;
    left:6px !important;
  }

  .contact-panel-home {
    display: flex;
    position: absolute;
    top: 30px !important;
  }
}

/* 650px Width Screen Specific Media Query */
@media (max-width: 650px) {
  .chat-widget {
    bottom: 1rem;
    right: 0.7rem;
  }

  .chat-toggle {
    width: 58px;
    height: 58px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }

  .chat-toggle::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url('/Images/chatIcon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .chat-toggle:hover {
    transform: scale(1.1);
  }

  .chat-toggle-content,
  .chat-toggle-title,
  .chat-toggle-subtitle,
  .chat-avatar {
    display: none;
  }

  /* Chat hover preview for icon-only screens */
  .chat-toggle:hover::after {
    content: 'How can we assist you?';
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 8px;
    z-index: 1000;
  }

  .chat-window {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    border-radius: 0 !important;
    transform: translateY(100%) !important;
    z-index: 9999 !important;
  }

  .chat-window.open {
    transform: translateY(0) !important;
  }

  /* Full screen chat layout adjustments */
  .chat-window .chat-interface {
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .chat-window .chat-header {
    flex-shrink: 0 !important;
  }

  .chat-window .chat-messages {
    flex: 1 !important;
    overflow-y: auto !important;
    padding-bottom: 20px !important;
  }

  .chat-window .quick-actions {
    flex-shrink: 0 !important;
    margin-top: auto !important;
  }

  .chat-window .chat-input-area {
    flex-shrink: 0 !important;
    position: sticky !important;
    bottom: 0 !important;
    background: white !important;
    border-top: 1px solid #e0e0e0 !important;
    padding: 15px 20px !important;
  }

  /* Contact panel full window for small screens */
  .contact-panel {
    width: 100vw;
    height: 100vh;
    left: 0;
    right: 0;
    transform: translateX(100%);
  }

  .contact-panel.active {
    transform: translateX(0);
  }

  .contact-panel-nav {
    display: flex;
  }

.contact-panel-back-arrow{
    display: flex;
    position: absolute;
     top: 1px !important;
    left:6px !important;
  }

  .contact-panel-home {
    display: flex;
    position: absolute;
    top: 30px !important;
  }
}

/* 750px Width Screen Specific Media Query */
@media (max-width: 750px) {
  .chat-widget {
    bottom: 1.2rem;
    right: 0.8rem;
  }

  .chat-toggle {
    width: 60px;
    height: 60px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: white;
    border: 2px solid #79a6c0;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }

  .chat-toggle::before {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    background-image: url('/Images/chatIcon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .chat-toggle:hover {
    transform: scale(1.1);
  }

  .chat-toggle-content,
  .chat-toggle-title,
  .chat-toggle-subtitle,
  .chat-avatar {
    display: none;
  }

  /* Chat hover preview for icon-only screens */
  .chat-toggle:hover::after {
    content: 'How can we assist you?';
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 8px;
    z-index: 1000;
  }

  .chat-window {
    width: calc(100vw - 40px);
    max-width: 360px;
    height: 450px;
    bottom: 4.2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px) scale(0.9);
  }

  .chat-window.open {
    transform: translateX(-50%);
  }
}

/* Reduced motion support for accessibility */
@media (prefers-reduced-motion: reduce) {
  .blurred {
    transition: none;
  }

  .blurred::before {
    transition: none;
  }

  .notification-badge {
    transition: none;
  }
}