/* ==========================================================================
   NAVLAI FOODS INTERNATIONAL - EXPORT CATALOGUE 2026 STYLESHEET
   Theme: Luxury Agri-Export (Forest Emerald, Harvest Gold, Earth Cream)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --primary-dark: #092016;
  --primary: #123827;
  --primary-medium: #1b4d36;
  --primary-light: #2d6a4f;
  --primary-subtle: #e8f3ee;
  
  --gold-dark: #9e6f28;
  --gold: #c9933e;
  --gold-light: #e4b363;
  --gold-subtle: #fbf6ec;
  
  --whatsapp-color: #25D366;
  --whatsapp-hover: #20BA5A;
  
  --bg-body: #fbf9f5;
  --bg-card: #ffffff;
  --bg-card-glass: rgba(255, 255, 255, 0.85);
  --bg-dark-glass: rgba(9, 32, 22, 0.75);
  
  --text-main: #1c2b24;
  --text-muted: #566860;
  --text-light: #f3f7f5;
  
  --border-light: #e8e4dc;
  --border-gold: rgba(201, 147, 62, 0.35);
  
  --shadow-sm: 0 2px 8px rgba(18, 56, 39, 0.06);
  --shadow-md: 0 10px 30px rgba(18, 56, 39, 0.08);
  --shadow-lg: 0 20px 45px rgba(18, 56, 39, 0.12);
  --shadow-glow: 0 0 30px rgba(201, 147, 62, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Helpers */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 3.2vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Badge Styles */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-gold {
  background: var(--gold-subtle);
  color: var(--gold-dark);
  border: 1px solid var(--border-gold);
}

.badge-green {
  background: var(--primary-subtle);
  color: var(--primary-medium);
  border: 1px solid rgba(45, 106, 79, 0.2);
}

.badge-glass {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-medium) 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(18, 56, 39, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-medium) 0%, var(--primary-light) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(18, 56, 39, 0.35);
  color: #ffffff;
}

.btn-gold {
  background: linear-gradient(135deg, #c9933e 0%, #e4b363 100%);
  color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(201, 147, 62, 0.3);
  font-weight: 700;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #db9f44 0%, #edd18c 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201, 147, 62, 0.45);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1.5px solid var(--primary-medium);
}

.btn-outline:hover {
  background: var(--primary-medium);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 147, 62, 0.18);
  transition: var(--transition);
  /* Needed so mobile collapse panel (position:absolute) anchors to bottom of header */
  position: sticky; /* keep sticky, but also serve as containing block for child */
  isolation: isolate;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 12px rgba(201, 147, 62, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.custom-nav-link {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--text-main) !important;
  position: relative;
  padding: 6px 8px !important;
  white-space: nowrap;          /* ← prevent any word-wrap */
  letter-spacing: 0.01em;
  transition: var(--transition);
}

.custom-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}

.custom-nav-link:hover, .custom-nav-link.active {
  color: var(--primary-medium) !important;
}

.custom-nav-link:hover::after, .custom-nav-link.active::after {
  transform: scaleX(1);
}

.custom-toggler {
  font-size: 1.4rem;
  color: var(--primary-dark);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  transition: var(--transition);
}

.custom-toggler:hover {
  background: var(--primary);
  color: #ffffff;
}


/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-color: var(--primary-dark);
  background-image: linear-gradient(180deg, rgba(9, 32, 22, 0.88) 0%, rgba(18, 56, 39, 0.78) 55%, rgba(9, 32, 22, 0.95) 100%), url('../assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #ffffff;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-tagline-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-title {
  color: #ffffff;
  margin-bottom: 22px;
  line-height: 1.18;
}

.hero-title span {
  color: var(--gold-light);
  font-style: italic;
}

.hero-desc {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
}

.metric-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Hero Showcase Card */
.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-card-header h3 {
  color: #ffffff;
  font-size: 1.3rem;
}

.hero-card-img {
  width: 100%;
  height: 230px;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-card-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-card-bullets li i {
  color: var(--gold-light);
  font-size: 1rem;
}

/* ==========================================================================
   Section Layouts & Headers
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background-color: #f3efe6;
}

.section-dark {
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
}

.section-dark h2, .section-dark h3, .section-dark p {
  color: #ffffff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.8);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-header .badge {
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-images-wrapper {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 440px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
  border: 4px solid #ffffff;
}

.about-badge-floating {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background: #ffffff;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  border-left: 5px solid var(--gold);
}

.about-badge-floating i {
  font-size: 2.2rem;
  color: var(--primary);
}

.about-badge-text strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.about-badge-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--primary-medium);
  margin-bottom: 18px;
  line-height: 1.7;
}

.about-desc {
  margin-bottom: 30px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 34px;
}

.highlight-box {
  background: #ffffff;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.highlight-box i {
  font-size: 1.4rem;
  color: var(--gold-dark);
  background: var(--gold-subtle);
  padding: 10px;
  border-radius: var(--radius-sm);
}

.highlight-box h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.highlight-box p {
  font-size: 0.88rem;
  line-height: 1.4;
}

/* ==========================================================================
   Product Catalog & Filter Tabs
   ========================================================================== */
.catalog-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 28px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  background: #ffffff;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover {
  border-color: var(--primary-medium);
  color: var(--primary-medium);
}

.tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(18, 56, 39, 0.2);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 30px;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
}

.product-card-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #f7f4ee;
}

.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card-img-wrap img {
  transform: scale(1.08);
}

.product-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(9, 32, 22, 0.82);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.3rem;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

.product-alias {
  font-size: 0.88rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 12px;
}

.product-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.product-specs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.spec-chip {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.product-card-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.product-card-footer .btn {
  width: 100%;
}

/* ==========================================================================
   5-Card "Why Choose Us" Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--primary-light) 100%);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 22px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-box {
  background: var(--primary);
  color: var(--gold-light);
  transform: scale(1.08);
}

.feature-card h3 {
  font-size: 1.22rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.feature-card p {
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ==========================================================================
   Export & Packaging Specifications
   ========================================================================== */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.specs-content h2 {
  margin-bottom: 18px;
}

.specs-desc {
  margin-bottom: 28px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.specs-table th, .specs-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.specs-table th {
  background: var(--primary-subtle);
  color: var(--primary-dark);
  font-weight: 700;
  font-family: var(--font-sans);
}

.specs-table td strong {
  color: var(--primary-dark);
}

.specs-img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.specs-img-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.specs-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 32, 22, 0.92) 100%);
  padding: 30px;
  color: #ffffff;
}

.specs-img-overlay h4 {
  color: var(--gold-light);
  margin-bottom: 6px;
  font-size: 1.25rem;
}

/* ==========================================================================
   Contact Us & Exporter Hub
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card-info {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.proprietor-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}

.proprietor-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--gold-subtle);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1.6rem;
}

.proprietor-details h3 {
  font-size: 1.35rem;
  margin-bottom: 2px;
}

.proprietor-details span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 34px;
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.contact-channel-item:hover {
  background: #ffffff;
  border-color: var(--gold);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.channel-icon.whatsapp-bg {
  background: #e7f9ef;
  color: #25D366;
}

.channel-icon.email-bg {
  background: #eff4fb;
  color: #2b6cb0;
}

.channel-icon.location-bg {
  background: #fbf3e6;
  color: #c9933e;
}

.channel-text {
  display: flex;
  flex-direction: column;
}

.channel-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.channel-value {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  word-break: break-word;
}

.channel-hint {
  font-size: 0.78rem;
  color: var(--primary-medium);
  margin-top: 2px;
  font-weight: 500;
}

.contact-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.contact-form-card p {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: var(--bg-body);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-medium);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(18, 56, 39, 0.1);
}

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

.form-actions-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

/* Map Frame */
.map-container {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  height: 260px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 70px 0 30px;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

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

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff;
  padding: 12px 20px 12px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  animation: pulse-green 2.5s infinite;
}

.floating-whatsapp i {
  font-size: 1.6rem;
}

.floating-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   Catalogue Modal (Print / Download View)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 32, 22, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-backdrop.active {
  display: flex;
}

.catalogue-modal {
  background: #ffffff;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  position: sticky;
  top: 0;
  background: var(--primary-dark);
  color: #ffffff;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold);
  z-index: 10;
}

.modal-header h3 {
  color: #ffffff;
  font-size: 1.25rem;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-body {
  padding: 36px;
}

.catalogue-print-sheet {
  border: 1px solid var(--border-light);
  padding: 30px;
  border-radius: var(--radius-md);
  background: #ffffff;
}

.cat-sheet-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 28px;
}

.cat-sheet-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  border-radius: var(--radius-md);
  border: 2px solid var(--gold);
  object-fit: contain;
  background: #ffffff;
  padding: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.cat-sheet-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}

.cat-sheet-table th, .cat-sheet-table td {
  padding: 10px 14px;
  border: 1px solid #d8d4cb;
  text-align: left;
}

.cat-sheet-table th {
  background: var(--primary-subtle);
  color: var(--primary-dark);
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Optimization
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-grid, .specs-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .about-img-main {
    height: 360px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }
  
  .site-header {
    height: 74px;
  }

  .nav-container {
    height: 74px;
  }

  .brand-logo img {
    width: 44px;
    height: 44px;
  }

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

  .brand-sub {
    font-size: 0.65rem;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--primary-subtle);
    color: var(--primary-dark);
  }

  .nav-menu {
    position: fixed;
    top: 74px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 74px);
    background: #ffffff;
    flex-direction: column;
    padding: 30px 24px;
    gap: 18px;
    align-items: flex-start;
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.open {
    left: 0;
  }

  .nav-menu .nav-link {
    font-size: 1.15rem;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-actions .btn-download {
    display: none;
  }

  .hero-section {
    padding: 50px 0 70px;
    background-attachment: scroll; /* Fix for mobile browser stutter */
  }

  .hero-title {
    font-size: clamp(2rem, 7.5vw, 2.75rem);
  }

  .hero-desc {
    font-size: 1.02rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .catalog-tabs {
    gap: 8px;
  }

  .tab-btn {
    padding: 10px 18px;
    font-size: 0.88rem;
    flex-grow: 1;
    text-align: center;
  }

  .about-badge-floating {
    position: static;
    margin-top: 18px;
    width: 100%;
  }

  .about-highlights {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .specs-table, .cat-sheet-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .specs-img-card img {
    height: 280px;
  }

  .contact-card-info, .contact-form-card {
    padding: 24px 18px;
  }

  .form-input, .form-select, .form-textarea {
    font-size: 16px; /* Prevents iOS auto-zoom on input focus */
  }

  .form-actions-dual {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .floating-whatsapp {
    bottom: max(20px, env(safe-area-inset-bottom, 20px));
    right: 20px;
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: var(--radius-full);
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp i {
    font-size: 1.8rem;
  }

  .modal-header {
    padding: 16px 20px;
  }

  .modal-body {
    padding: 20px 14px;
  }

  .catalogue-print-sheet {
    padding: 16px 12px;
  }
}

@media (max-width: 420px) {
  .hero-card {
    padding: 20px 16px;
  }
  
  .product-card-body {
    padding: 18px 16px;
  }

  .contact-channel-item {
    padding: 12px;
  }

  .channel-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .channel-value {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   Mobile Navbar Fix — Bootstrap collapse overlay panel
   ========================================================================== */
@media (max-width: 991.98px) {

  /* The Bootstrap collapse panel — give it a solid background, shadow, and
     ensure it sits above the hero section (z-index 1000 matches sticky header) */
  .site-header .navbar-collapse {
    position: absolute;
    top: 100%; /* directly below the header bar */
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 2px solid var(--gold);
    border-bottom: 3px solid var(--primary-subtle);
    box-shadow: 0 16px 40px rgba(9, 32, 22, 0.18);
    padding: 16px 20px 20px;
    z-index: 1050;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  /* Each nav item gets a clear divider and good tap-target size */
  .site-header .navbar-collapse .nav-item {
    border-bottom: 1px solid var(--border-light);
    width: 100%;
  }

  .site-header .navbar-collapse .nav-item:last-child {
    border-bottom: none;
  }

  /* Force nav link text to be fully visible dark color on white panel */
  .site-header .navbar-collapse .custom-nav-link {
    color: var(--primary-dark) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    padding: 14px 8px !important;
    display: block;
    width: 100%;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease, color 0.2s ease;
  }

  .site-header .navbar-collapse .custom-nav-link:hover,
  .site-header .navbar-collapse .custom-nav-link.active {
    color: var(--primary-medium) !important;
    background: var(--primary-subtle);
    padding-left: 16px !important;
  }

  /* Hide the underline pseudo-element on mobile — not needed */
  .site-header .navbar-collapse .custom-nav-link::after {
    display: none;
  }

  /* The action buttons row at the bottom of mobile menu */
  .site-header .navbar-collapse .d-flex.align-items-center {
    margin-top: 16px !important;
    padding-top: 14px;
    border-top: 2px solid var(--border-light);
    flex-direction: column !important;
    gap: 10px !important;
    width: 100%;
  }

  .site-header .navbar-collapse .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Print Stylesheet */
@media print {
  body * {
    visibility: hidden;
  }
  .catalogue-print-sheet, .catalogue-print-sheet * {
    visibility: visible;
  }
  .catalogue-print-sheet {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border: none;
  }
}

