/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3a5f 0%, #2c5f8d 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255,255,255,0.3);
  border-top: 4px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-text {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* Header */
header {
  background: #1e3a5f;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 20px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
}

.logo-wrap img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 4px;
}

.logo-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

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

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 5px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  display: block;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.3s;
  white-space: nowrap;
}

nav ul li a:hover,
nav ul li a.active {
  background: rgba(255,255,255,0.15);
}

/* Language Flags in Navbar */
.language-flags {
  display: flex;
  gap: 8px;
  align-items: center;
}

.language-flags a {
  display: block;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.2s;
  border-radius: 3px;
  overflow: hidden;
}

.language-flags a:hover {
  opacity: 1;
  transform: scale(1.1);
}

.language-flags a.active {
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
}

.language-flags img {
  width: 28px;
  height: 20px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

/* Home Hero Banner */
.home-hero {
  width: 100%;
  min-height: calc(100vh - 74px);
  position: relative;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(9, 26, 45, 0.86) 0%, rgba(30, 58, 95, 0.68) 42%, rgba(30, 58, 95, 0.12) 78%),
    url('../assets/images/family-banner.jpg') center / cover no-repeat;
  overflow: hidden;
}

.home-hero-overlay {
  width: 100%;
  padding: 110px 0;
}

.home-hero-content {
  max-width: 720px;
  color: #fff;
}

.hero-eyebrow {
  color: #d6b25b;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2.4px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.home-hero-content h1 {
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 500;
  line-height: 1.04;
  margin-bottom: 22px;
}

.home-hero-content p:not(.hero-eyebrow) {
  max-width: 620px;
  color: rgba(255,255,255,0.88);
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
}

.hero-btn-primary {
  background: #d6b25b;
  color: #10233a;
  box-shadow: 0 18px 34px rgba(0,0,0,0.22);
}

.hero-btn-primary:hover {
  background: #f0ce72;
}

.hero-btn-secondary {
  border: 1px solid rgba(255,255,255,0.62);
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.18);
}

/* Page Hero (for other pages) */
.page-hero {
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 42px;
  font-weight: 700;
  text-align: center;
}

/* Welcome Section */
.welcome-section {
  padding: 80px 0;
  background: white;
}

.welcome-section h2 {
  font-size: 36px;
  color: #1e3a5f;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.welcome-text {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: justify;
}

.welcome-text p {
  margin-bottom: 20px;
  color: #444;
  font-size: 15px;
  line-height: 1.8;
}

.read-more-btn {
  display: block;
  padding: 12px 30px;
  background: white;
  border: 2px solid #1e3a5f;
  color: #1e3a5f;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  margin: 20px auto;
  width: fit-content;
}

.read-more-btn:hover {
  background: #1e3a5f;
  color: white;
}

/* Feature Cards */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.feature-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  background: white;
  transition: all 0.3s;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 22px;
  color: #1e3a5f;
  margin-bottom: 15px;
  font-weight: 700;
}

.feature-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-link {
  display: inline-block;
  color: #1e3a5f;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 25px;
  border: 2px solid #1e3a5f;
  border-radius: 4px;
  transition: all 0.3s;
}

.feature-link:hover {
  background: #1e3a5f;
  color: white;
}

/* Products Page */
.products-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2c5f8d 60%, #0ea5e9 100%);
  background-size: cover;
  background-position: center;
  padding: 60px 0;
}

.products-content {
  padding: 60px 0;
}

.products-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: start;
}

.products-sidebar {
  background: #1e3a5f;
  border-radius: 8px;
  padding: 30px;
  position: sticky;
  top: 100px;
}

.products-sidebar h2 {
  background: white;
  color: #1e3a5f;
  padding: 15px;
  text-align: center;
  font-size: 22px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.product-category {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 15px 0;
}

.category-header {
  color: white;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
  border-radius: 4px;
}

.category-header:hover {
  background: rgba(255,255,255,0.05);
}

.category-header::after {
  content: '+';
  font-size: 20px;
  transition: transform 0.3s;
}

.category-header.active::after {
  transform: rotate(45deg);
}

.category-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 15px;
}

.category-items.active {
  max-height: 500px;
  padding-top: 10px;
}

.category-items li {
  color: rgba(255,255,255,0.8);
  padding: 8px 0;
  font-size: 13px;
  list-style: none;
  border-left: 2px solid transparent;
  padding-left: 12px;
  transition: all 0.3s;
}

.category-items li:hover {
  color: white;
  border-left-color: #0ea5e9;
  padding-left: 16px;
}

.products-main h2 {
  font-size: 36px;
  color: #1e3a5f;
  margin-bottom: 25px;
  font-weight: 700;
}

.products-main p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  font-size: 15px;
}

.meglo-family-banner {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #253719;
}

.meglo-family-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.meglo-family-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 90px 0;
  background: linear-gradient(90deg, rgba(31, 45, 22, 0.84) 0%, rgba(31, 45, 22, 0.54) 42%, rgba(31, 45, 22, 0.18) 100%);
}

.meglo-family-overlay .container {
  color: #fffaf0;
}

.meglo-kicker {
  color: #b99b53;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  line-height: 1.4;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.meglo-family-overlay h1 {
  max-width: 650px;
  color: #fffaf0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  margin-bottom: 18px;
}

.meglo-family-overlay p:not(.meglo-kicker) {
  max-width: 520px;
  color: rgba(255, 250, 240, 0.92);
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.meglo-cta,
.meglo-product-content button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 26px;
  border: 1px solid rgba(185, 155, 83, 0.7);
  border-radius: 999px;
  background: #31451f;
  color: #fffaf0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.meglo-cta:hover,
.meglo-product-content button:hover {
  background: #253719;
  box-shadow: 0 16px 30px rgba(49, 69, 31, 0.24);
  transform: translateY(-2px);
}

.meglo-products-section {
  padding: 86px 0 96px;
  background:
    radial-gradient(circle at top left, rgba(185, 155, 83, 0.16), transparent 34%),
    linear-gradient(180deg, #fbf7ec 0%, #f3ead8 100%);
}

.meglo-section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.meglo-section-heading h2 {
  color: #253719;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 16px;
}

.meglo-section-heading p:last-child {
  color: #5d594f;
  font-size: 16px;
  line-height: 1.8;
}

.meglo-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.meglo-product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(185, 155, 83, 0.36);
  border-radius: 18px;
  background: rgba(255, 252, 245, 0.92);
  box-shadow: 0 18px 48px rgba(62, 51, 27, 0.11);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.meglo-product-card:hover {
  border-color: rgba(185, 155, 83, 0.75);
  box-shadow: 0 28px 70px rgba(62, 51, 27, 0.18);
  transform: translateY(-8px);
}

.meglo-product-image {
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  background: #efe5d2;
}

.meglo-product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.meglo-product-card:hover .meglo-product-image img {
  transform: scale(1.06);
}

.meglo-product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.meglo-product-tag {
  width: fit-content;
  margin-bottom: 13px;
  padding: 6px 11px;
  border: 1px solid rgba(185, 155, 83, 0.38);
  border-radius: 999px;
  background: #f7efde;
  color: #6d5a24;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.meglo-product-content h3 {
  color: #253719;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.18;
  margin-bottom: 12px;
}

.meglo-product-content p {
  flex: 1;
  color: #5c5a53;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 22px;
  text-align: left;
}

.meglo-product-content button {
  width: 100%;
  border-radius: 8px;
  background: #fffaf0;
  color: #31451f;
}

.meglo-product-content button:hover {
  color: #fffaf0;
}

.meglo-aloe-banner {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #f5fbef;
}

.meglo-aloe-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.meglo-aloe-overlay {
  position: relative;
  z-index: 1;
  min-height: 500px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(246, 252, 239, 0.94) 0%, rgba(246, 252, 239, 0.78) 40%, rgba(246, 252, 239, 0.18) 74%);
}

.meglo-aloe-overlay h2,
.meglo-packaging-copy h2,
.meglo-spotlight-copy h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.08;
}

.meglo-aloe-overlay h2 {
  max-width: 540px;
  color: #253719;
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 16px;
}

.meglo-aloe-overlay p:not(.meglo-kicker) {
  max-width: 470px;
  color: #4a5740;
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.meglo-packaging-showcase {
  padding: 90px 0;
  background: linear-gradient(180deg, #f7efe1 0%, #fffaf0 100%);
}

.meglo-packaging-card {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 42px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(185, 155, 83, 0.4);
  border-radius: 24px;
  background: rgba(255, 252, 245, 0.94);
  box-shadow: 0 26px 70px rgba(62, 51, 27, 0.12);
}

.meglo-packaging-copy h2 {
  color: #253719;
  font-size: clamp(32px, 4vw, 54px);
  margin-bottom: 18px;
}

.meglo-packaging-copy p:not(.meglo-kicker) {
  color: #5d594f;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.meglo-packaging-image {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(49, 69, 31, 0.16);
}

.meglo-packaging-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.meglo-packaging-card:hover .meglo-packaging-image img {
  transform: scale(1.04);
}

.meglo-intimate-spotlight {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background:
    radial-gradient(circle at 24% 28%, rgba(185, 155, 83, 0.34), transparent 28%),
    radial-gradient(circle at 78% 80%, rgba(255, 250, 240, 0.09), transparent 30%),
    linear-gradient(135deg, #080908 0%, #151916 48%, #090b0a 100%);
}

.meglo-intimate-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(185, 155, 83, 0.08), transparent 42%, rgba(185, 155, 83, 0.12));
  pointer-events: none;
}

.meglo-spotlight-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(214, 178, 91, 0.46);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 250, 240, 0.06), rgba(255, 250, 240, 0.015));
  box-shadow: 0 0 55px rgba(185, 155, 83, 0.18), inset 0 0 0 1px rgba(255, 250, 240, 0.04);
  backdrop-filter: blur(2px);
}

.meglo-spotlight-image {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 0 42px rgba(214, 178, 91, 0.36);
  animation: megloFloat 5s ease-in-out infinite;
}

.meglo-spotlight-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.meglo-spotlight-copy .meglo-kicker {
  color: #d6b25b;
}

.meglo-spotlight-copy h2 {
  color: #fffaf0;
  font-size: clamp(34px, 5vw, 62px);
  margin-bottom: 18px;
}

.meglo-spotlight-copy p:not(.meglo-kicker) {
  color: rgba(255, 250, 240, 0.78);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.meglo-intimate-spotlight .meglo-cta {
  background: linear-gradient(135deg, #d6b25b, #7f642b);
  color: #0b0d0b;
  box-shadow: 0 0 34px rgba(214, 178, 91, 0.28);
}

.meglo-intimate-spotlight .meglo-cta:hover {
  background: linear-gradient(135deg, #f0d27b, #9b792e);
  color: #0b0d0b;
}

@keyframes megloFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* About Page */
.about-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2c5f8d 60%, #0ea5e9 100%);
  background-size: cover;
  background-position: center;
}

.company-overview {
  padding: 60px 0;
  background: white;
}

.company-overview h2 {
  font-size: 36px;
  color: #1e3a5f;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.company-overview p {
  max-width: 900px;
  margin: 0 auto 20px;
  color: #444;
  line-height: 1.8;
  text-align: justify;
  font-size: 15px;
}

.products-table {
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  border-collapse: collapse;
}

.products-table td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  font-size: 14px;
  color: #444;
}

/* Manufacturing Page */
.manufacturing-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2c5f8d 60%, #0ea5e9 100%);
  background-size: cover;
  background-position: center;
}

.manufacturing-content {
  padding: 60px 0;
}

.manufacturing-content h2 {
  font-size: 36px;
  color: #1e3a5f;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.manufacturing-content p {
  max-width: 900px;
  margin: 0 auto 25px;
  color: #444;
  line-height: 1.8;
  text-align: justify;
  font-size: 15px;
}

.manufacturing-image {
  max-width: 700px;
  margin: 40px auto;
  text-align: center;
}

.manufacturing-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Quality Page */
.quality-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2c5f8d 60%, #0ea5e9 100%);
  background-size: cover;
  background-position: center;
}

.quality-content {
  padding: 60px 0;
}

.quality-content h2 {
  font-size: 36px;
  color: #1e3a5f;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.quality-content p,
.quality-content ul {
  max-width: 900px;
  margin: 0 auto 25px;
  color: #444;
  line-height: 1.8;
  font-size: 15px;
}

.quality-content ul {
  padding-left: 40px;
}

.quality-content li {
  margin-bottom: 15px;
}

.quality-image {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
}

.quality-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
}

/* Contact Page */
.contact-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2c5f8d 60%, #0ea5e9 100%);
  background-size: cover;
  background-position: center;
}

.contact-content {
  padding: 60px 0;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header h2 {
  font-size: 36px;
  color: #1e3a5f;
  margin-bottom: 15px;
  font-weight: 700;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto 50px;
}

.contact-info-item {
  text-align: center;
}

.contact-info-item svg {
  width: 50px;
  height: 50px;
  fill: #0ea5e9;
  margin-bottom: 15px;
}

.contact-info-item p {
  color: #1e3a5f;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
}

.contact-info-item a {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 600;
}

.contact-form-section {
  background: #1e3a5f;
  padding: 40px;
  border-radius: 8px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-form-section h3 {
  color: white;
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: white;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255,255,255,0.15);
  border-color: #0ea5e9;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.submit-btn {
  background: #0ea5e9;
  color: white;
  padding: 14px 40px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: block;
  margin: 20px auto 0;
}

.submit-btn:hover {
  background: #0891d4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* Footer */
footer {
  background: #1e3a5f;
  color: white;
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-brand .logo-wrap {
  margin-bottom: 20px;
}

.footer-brand .logo-wrap img {
  background: #fff;
  padding: 4px;
  border-radius: 6px;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 600;
}

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

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
  display: block;
  line-height: 1.6;
}

.footer-col ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

/* Responsive */
@media (max-width: 1100px) {
  .header-main {
    flex-wrap: wrap;
  }

  .meglo-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .meglo-packaging-card,
  .meglo-spotlight-card {
    gap: 30px;
  }
  
  nav {
    order: 3;
    flex-basis: 100%;
    margin-top: 10px;
  }
  
  nav ul {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 968px) {
  .hamburger {
    display: flex;
  }

  .home-hero {
    min-height: 640px;
    background:
      linear-gradient(180deg, rgba(9, 26, 45, 0.36) 0%, rgba(9, 26, 45, 0.74) 48%, rgba(9, 26, 45, 0.92) 100%),
      url('../assets/images/family-banner.jpg') 58% center / cover no-repeat;
  }

  .home-hero-overlay {
    display: flex;
    align-items: flex-end;
    min-height: 640px;
    padding: 180px 0 58px;
  }

  .home-hero-content {
    max-width: 620px;
  }

  .meglo-family-banner {
    min-height: 460px;
  }

  .meglo-family-overlay {
    padding: 72px 0;
    background: linear-gradient(90deg, rgba(31, 45, 22, 0.88) 0%, rgba(31, 45, 22, 0.62) 58%, rgba(31, 45, 22, 0.28) 100%);
  }

  .meglo-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .meglo-aloe-banner,
  .meglo-aloe-overlay {
    min-height: 440px;
  }

  .meglo-packaging-card,
  .meglo-spotlight-card {
    grid-template-columns: 1fr;
  }

  .meglo-packaging-image img {
    min-height: 320px;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #1e3a5f;
    padding: 80px 20px 20px;
    transition: right 0.3s;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    order: initial;
    flex-basis: auto;
    margin-top: 0;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav ul li a {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .hero-content-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-left h1 {
    font-size: 42px;
  }

  .hero-left h1 span {
    font-size: 36px;
  }

  .products-layout {
    grid-template-columns: 1fr;
  }

  .products-sidebar {
    position: static;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-left {
    padding: 40px 20px;
  }

  .home-hero {
    min-height: 590px;
    background-position: 58% center;
  }

  .home-hero-overlay {
    min-height: 590px;
    padding: 150px 0 42px;
  }

  .home-hero-content h1 {
    font-size: 36px;
  }

  .home-hero-content p:not(.hero-eyebrow) {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 26px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-btn {
    width: 100%;
  }

  .meglo-family-banner {
    min-height: 430px;
  }

  .meglo-family-banner img {
    object-position: 62% center;
  }

  .meglo-family-overlay {
    align-items: flex-end;
    padding: 110px 0 42px;
    background: linear-gradient(180deg, rgba(31, 45, 22, 0.08) 0%, rgba(31, 45, 22, 0.58) 45%, rgba(31, 45, 22, 0.9) 100%);
  }

  .meglo-family-overlay p:not(.meglo-kicker) {
    font-size: 16px;
  }

  .meglo-products-section {
    padding: 58px 0 66px;
  }

  .meglo-section-heading {
    margin-bottom: 30px;
  }

  .meglo-product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .meglo-product-content {
    padding: 21px;
  }

  .meglo-aloe-banner,
  .meglo-aloe-overlay {
    min-height: 420px;
  }

  .meglo-aloe-banner img {
    object-position: 62% center;
  }

  .meglo-aloe-overlay {
    align-items: flex-end;
    padding: 110px 0 42px;
    background: linear-gradient(180deg, rgba(246, 252, 239, 0.08) 0%, rgba(246, 252, 239, 0.68) 46%, rgba(246, 252, 239, 0.96) 100%);
  }

  .meglo-aloe-overlay p:not(.meglo-kicker) {
    font-size: 16px;
  }

  .meglo-packaging-showcase,
  .meglo-intimate-spotlight {
    padding: 58px 0;
  }

  .meglo-packaging-card,
  .meglo-spotlight-card {
    padding: 20px;
    border-radius: 18px;
  }

  .meglo-packaging-image,
  .meglo-spotlight-image {
    border-radius: 14px;
  }

  .meglo-packaging-image img {
    min-height: 240px;
  }

  .meglo-spotlight-copy p:not(.meglo-kicker),
  .meglo-packaging-copy p:not(.meglo-kicker) {
    font-size: 15px;
  }

  .hero-left h1 {
    font-size: 32px;
  }

  .hero-left h1 span {
    font-size: 28px;
  }

  .welcome-section h2,
  .products-main h2,
  .company-overview h2,
  .manufacturing-content h2,
  .quality-content h2,
  .contact-header h2 {
    font-size: 28px;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 32px;
  }
  
  .language-flags {
    gap: 6px;
  }
  
  .language-flags img {
    width: 24px;
    height: 17px;
  }
}

/* Additional styles for product selection and quantity */
.product-table tbody tr.selected {
  background: #e3f2fd !important;
  border-left: 4px solid #0ea5e9;
}

.quantity-input {
  width: 80px;
  padding: 6px 10px;
  border: 2px solid #0ea5e9;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

.quantity-input:focus {
  outline: none;
  border-color: #1e3a5f;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.quantity-cell {
  position: relative;
}

.product-select {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.product-select:checked {
  accent-color: #0ea5e9;
}

.product-table tbody tr:hover {
  background: #f8f9fa;
  cursor: pointer;
}

.product-table tbody tr.selected:hover {
  background: #d1e7fd !important;
}

/* Additional styles for product inquiry flow */
.quantity-input {
  width: 100%;
  padding: 8px 10px;
  border: 2px solid #1e3a5f;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #1e3a5f;
}

.quantity-input:focus {
  outline: none;
  border-color: #0ea5e9;
  background: #f8f9fa;
}

.cancel-btn {
  background: #6c757d;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-right: 10px;
}

.cancel-btn:hover {
  background: #5a6268;
}

.take-screenshot-btn {
  background: #28a745;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.take-screenshot-btn:hover {
  background: #218838;
}

.product-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.product-checkbox:checked {
  accent-color: #1e3a5f;
}

/* ===== Overflow & Alignment Fixes ===== */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Prevent any element from causing horizontal scroll */
img, table, input, select, textarea, button {
  max-width: 100%;
}

/* Table horizontal scroll on small screens */
.product-table-wrap,
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  min-width: 100%;
  border-collapse: collapse;
}

/* Form inputs always full width */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  box-sizing: border-box;
  max-width: 100%;
}

/* Footer overflow fix */
.footer-grid {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Header on very small screens */
@media (max-width: 360px) {
  .logo-name {
    font-size: 15px;
  }

  .logo-wrap img {
    height: 38px;
    width: 38px;
  }

  .header-main {
    padding: 10px 12px;
  }
}


/* ===== Welcome Read More/Less ===== */
.welcome-more { display: none; }
.welcome-more.show { display: block; }
.welcome-more p { margin-bottom: 20px; color: #444; font-size: 15px; line-height: 1.8; }
.read-more-btn { font-weight: 600; }

/* ===== Inline SVG language flags ===== */
.language-flags a svg { width: 28px; height: 20px; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }

/* ===== Products Mega Dropdown ===== */
nav ul li.has-dropdown { position: relative; }
.dropdown-toggle {
  display: none;
  background: none; border: none; color: #fff;
  font-size: 14px; cursor: pointer; padding: 0 6px; line-height: 1;
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  background: #1e3a5f;
  width: 920px;
  max-width: calc(100vw - 32px);
  padding: 22px;
  border: 1px solid rgba(214, 178, 91, 0.28);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.25);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  z-index: 200;
}
nav ul li.has-dropdown:hover .mega-menu { display: grid; }

.accordion-item {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: rgba(255,255,255,0.045);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: none;
  background: rgba(255,255,255,0.03);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.35;
  text-align: left;
  transition: background 0.25s ease, color 0.25s ease;
}

.accordion-header:hover,
.accordion-item.active .accordion-header {
  background: rgba(214, 178, 91, 0.16);
  color: #f6d989;
}

.accordion-header span {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214, 178, 91, 0.48);
  border-radius: 50%;
  color: #f6d989;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease;
}

.accordion-item.active .accordion-header span {
  background: rgba(214, 178, 91, 0.18);
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-content a {
  display: block;
  color: rgba(255,255,255,0.82);
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 16px 8px 22px;
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s ease, padding-left 0.2s ease, background 0.2s ease;
  white-space: normal;
}

.accordion-content a:hover {
  color: #f6d989;
  background: rgba(255,255,255,0.045);
  padding-left: 28px;
}

/* ===== Mega Dropdown - mobile ===== */
@media (max-width: 968px) {
  nav ul li.has-dropdown { display: flex; flex-wrap: wrap; align-items: center; }
  nav ul li.has-dropdown > a { flex: 1; }
  .dropdown-toggle { display: inline-block; font-size: 18px; padding: 15px 18px; }
  .mega-menu {
    position: static;
    left: auto;
    transform: none;
    display: none;
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border: 1px solid rgba(214, 178, 91, 0.18);
    border-radius: 10px;
    padding: 10px;
    background: rgba(9,26,45,0.92);
    max-height: 60vh;
    overflow-y: auto;
  }
  nav ul li.has-dropdown.open .mega-menu { display: block; }
  nav ul li.has-dropdown:hover .mega-menu { display: none; }
  nav ul li.has-dropdown.open:hover .mega-menu { display: block; }

  .accordion-item {
    margin-bottom: 8px;
  }

  .accordion-item:last-child {
    margin-bottom: 0;
  }

  .accordion-header {
    padding: 13px 14px;
    font-size: 13px;
  }
}
