/*
Theme Name: GEPCO Bill Check
Theme URI: https://gepcobillcheck.net.pk
Author: Antigravity AI
Author URI: https://gepcobillcheck.net.pk
Description: A fast, modern, responsive, and technical SEO-focused WordPress theme for GEPCO online bill checking. Built with pure HTML5, CSS3, and lightweight JavaScript.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gepco-bill-check
Tags: utility, gepco, electricity-bill, responsive-layout, custom-menu, custom-logo, translation-ready, seo-optimized
*/

/* Core Theme Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary-green: #007a3d;
  --primary-green-dark: #005228;
  --primary-green-light: #e6f5ed;
  --primary-gradient: linear-gradient(135deg, #013d1e 0%, #007a3d 50%, #00a854 100%);
  --accent-emerald: #10b981;
  --accent-blue: #0284c7;
  --accent-amber: #f59e0b;
  --text-dark: #0f172a;
  --text-muted: #334155;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-radius-lg: 20px;
  --border-radius-md: 14px;
  --border-radius-sm: 8px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 25px 50px -12px rgba(0, 122, 61, 0.22);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.35);
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1140px;
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-light);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: '';
  display: block;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #004d26 0%, #007a3d 40%, #10b981 70%, #0284c7 100%);
  position: sticky;
  top: 0;
  z-index: 1001;
}

a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover, a:focus {
  color: var(--primary-green-dark);
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--accent-emerald);
  outline-offset: 2px;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary-green-dark);
  background: var(--primary-green-light);
  border: 1px solid rgba(0, 122, 61, 0.2);
  border-radius: 50px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 2px 6px rgba(0, 122, 61, 0.08);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Header & Navigation */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 4px;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand-logo:hover img {
  transform: scale(1.03);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list, .primary-menu-list {
  display: flex;
  list-style: none;
  gap: 0.85rem;
  align-items: center;
}

.nav-link, .primary-menu-list li a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.nav-link:hover, .primary-menu-list li a:hover {
  color: var(--primary-green);
  background-color: #f1f5f9;
  text-decoration: none;
}

.nav-link.active, .primary-menu-list li.current-menu-item a {
  color: var(--primary-green-dark);
  background-color: var(--primary-green-light);
  border: 1px solid rgba(0, 122, 61, 0.15);
  text-decoration: none;
}

.mobile-menu-btn {
  display: none;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  font-size: 1.4rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  line-height: 1;
}

/* Hero Section */
.hero-section {
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 4.5rem 0 5.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(0, 122, 61, 0) 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to top, var(--bg-light), transparent);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  opacity: 0.95;
  margin-bottom: 2.5rem;
  line-height: 1.65;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

/* Search Card */
.search-card {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-lg);
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.search-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-emerald));
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.search-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px -15px rgba(0, 122, 61, 0.28);
}

.search-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  color: var(--text-dark);
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .input-group {
    flex-direction: row;
  }
}

.reference-input {
  flex: 1;
  padding: 1.1rem 1.35rem;
  font-size: 1.05rem;
  border: 2px solid #cbd5e1;
  border-radius: var(--border-radius-md);
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.reference-input:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 4px rgba(0, 122, 61, 0.18);
  background-color: #ffffff;
}

.btn-cta {
  background: linear-gradient(135deg, #007a3d 0%, #005a2d 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 1.1rem 2rem;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 122, 61, 0.35);
}

.btn-cta:hover {
  background: linear-gradient(135deg, #008f47 0%, #006b35 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 122, 61, 0.45);
  text-decoration: none;
  color: #ffffff;
}

.btn-cta:active {
  transform: translateY(0);
}

.redirect-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  background-color: #f8fafc;
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-blue);
}

.redirect-notice svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  fill: var(--accent-blue);
  margin-top: 2px;
}

/* Trust Indicators Bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin-top: 2.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Quick Page Links Banner */
.page-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.35rem;
  margin: 2rem 0;
}

.page-link-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.page-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-green);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.page-link-card:hover {
  border-color: rgba(0, 122, 61, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.page-link-card:hover::before {
  opacity: 1;
}

.page-link-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e6f5ed 0%, #ccecdb 100%);
  color: var(--primary-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.8);
}

.page-link-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.page-link-desc {
  font-size: 0.86rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}

/* Feature Layout */
.feature-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin: 3rem 0;
}

@media (min-width: 992px) {
  .feature-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .feature-layout.reverse {
    direction: rtl;
  }
  .feature-layout.reverse > * {
    direction: ltr;
  }
}

.feature-img-wrapper {
  background: #ffffff;
  padding: 0.85rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-img-wrapper:hover {
  transform: scale(1.015);
  box-shadow: var(--shadow-lg);
}

.feature-img-wrapper img {
  border-radius: var(--border-radius-md);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Content Area */
.content-area {
  max-width: 940px;
  margin: 0 auto;
}

.content-area h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  margin: 3rem 0 1.25rem;
  color: var(--text-dark);
  border-bottom: 3px solid var(--primary-green-light);
  padding-bottom: 0.5rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.content-area h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2.25rem 0 0.9rem;
  color: var(--text-dark);
  line-height: 1.35;
}

.content-area h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.35rem 0 0.5rem;
  color: var(--text-dark);
}

.content-area p {
  margin-bottom: 1.4rem;
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.content-area ul, .content-area ol {
  margin: 1rem 0 1.75rem 1.75rem;
  color: var(--text-muted);
}

.content-area li {
  margin-bottom: 0.65rem;
  line-height: 1.7;
  font-size: 1.02rem;
}

.content-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--primary-green);
  border-radius: var(--border-radius-md);
  padding: 1.85rem;
  margin: 2.25rem 0;
  box-shadow: var(--shadow-sm);
}

.content-box h4 {
  margin-top: 0;
  color: var(--primary-green-dark);
  font-size: 1.22rem;
  font-weight: 800;
}

/* Styled Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 2.25rem 0;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: #ffffff;
}

.custom-table th, .custom-table td {
  padding: 1rem 1.35rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.98rem;
}

.custom-table th {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tr:nth-child(even) {
  background-color: #f8fafc;
}

/* FAQ Accordion Styling */
.faq-section {
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-item.active {
  border-color: var(--primary-green);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.35rem 1.6rem;
  background: none;
  border: none;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
  gap: 1rem;
  line-height: 1.45;
}

.faq-question:hover {
  background-color: #f8fafc;
  color: var(--primary-green);
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  fill: var(--text-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  fill: var(--primary-green);
}

.faq-answer {
  padding: 0 1.6rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  color: var(--text-muted);
  font-size: 1.01rem;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  padding: 0 1.6rem 1.5rem 1.6rem;
  max-height: 800px;
}

/* Disclaimer Banner */
.disclaimer-banner {
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--border-radius-md);
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
}

.disclaimer-icon {
  width: 28px;
  height: 28px;
  fill: #d97706;
  flex-shrink: 0;
  margin-top: 2px;
}

.disclaimer-text p {
  color: #92400e;
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0;
}

/* Footer Styling */
.site-footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 4.5rem 0 2.25rem;
  margin-top: auto;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand img {
  max-height: 52px;
  width: auto;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #94a3b8;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.35rem;
  letter-spacing: 0.4px;
}

.footer-links, .footer-menu-list, .site-footer .primary-menu-list {
  list-style: none;
}

.footer-links li, .footer-menu-list li, .site-footer .primary-menu-list li {
  margin-bottom: 0.75rem;
}

.footer-links a, .footer-menu-list li a, .site-footer .primary-menu-list li a, .site-footer a {
  color: #cbd5e1 !important;
  font-size: 0.96rem;
  font-weight: 500;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  transition: color 0.2s ease;
}

.footer-links a:hover, .footer-menu-list li a:hover, .site-footer .primary-menu-list li a:hover, .site-footer a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  font-size: 0.92rem;
  color: #64748b;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Reference Visual Helper Card Component - Fully Responsive */
.ref-helper-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem 1.75rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 850px) {
  .ref-helper-card {
    grid-template-columns: 0.95fr 1.05fr;
    padding: 2.25rem 2rem;
  }
}

@media (max-width: 480px) {
  .ref-helper-card {
    padding: 1.25rem 1rem;
    margin: 1.5rem 0;
    gap: 1.5rem;
  }
}

.ref-sample-box {
  background: #fffdf0;
  border: 2px dashed #f59e0b;
  border-radius: var(--border-radius-md);
  padding: 1.35rem 1.15rem;
  position: relative;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .ref-sample-box {
    padding: 1rem 0.75rem;
  }
}

.ref-sample-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ref-sample-logo {
  font-weight: 800;
  font-size: clamp(0.85rem, 3vw, 0.95rem);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.ref-sample-month {
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(0.75rem, 2.5vw, 0.82rem);
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.6px;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
  white-space: nowrap;
}

.ref-number-highlight {
  background: #e6f5ed;
  border: 2px solid #007a3d;
  border-radius: 12px;
  padding: 0.85rem 0.5rem;
  text-align: center;
  margin-bottom: 0.4rem;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.ref-number-label {
  font-size: clamp(0.68rem, 2.5vw, 0.76rem);
  font-weight: 800;
  color: #005228;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.ref-number-digits {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(0.95rem, 4vw, 1.3rem);
  font-weight: 800;
  color: #007a3d;
  letter-spacing: clamp(0.5px, 1.5vw, 1.8px);
  word-break: break-all;
}

.ref-arrow-badge {
  display: inline-block;
  background: #007a3d;
  color: #ffffff;
  font-size: clamp(0.68rem, 2.5vw, 0.75rem);
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0, 122, 61, 0.25);
  max-width: 100%;
}

.ref-sample-details {
  font-size: clamp(0.82rem, 3vw, 0.92rem);
  color: var(--text-muted);
  line-height: 1.6;
  text-align: left;
  border-top: 1px dashed rgba(245, 158, 11, 0.4);
  padding-top: 0.75rem;
}

.ref-sample-details strong {
  color: var(--text-dark);
}

.ref-info-title {
  font-size: clamp(1.2rem, 3.5vw, 1.45rem);
  font-weight: 800;
  color: var(--primary-green-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.ref-info-title svg {
  flex-shrink: 0;
}

.ref-info-text p {
  color: var(--text-muted);
  font-size: clamp(0.92rem, 2.5vw, 1.02rem);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.ref-info-text strong {
  color: var(--text-dark);
}

/* Page Header & Breadcrumbs */
.page-header {
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-size: clamp(2rem, 3.8vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.94rem;
  color: #e2e8f0;
}

.breadcrumbs a {
  color: #ffffff;
  opacity: 0.9;
}

.breadcrumbs a:hover {
  opacity: 1;
}

/* Contact Form & Cards */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-size: 1.45rem;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
  font-weight: 800;
}

.contact-info-list {
  list-style: none;
}

.contact-info-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-green-light);
  color: var(--primary-green-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 4px rgba(0, 122, 61, 0.15);
}

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

/* Mobile Navigation */
@media (max-width: 767px) {
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .brand-logo {
    margin-right: auto;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    font-size: 1.25rem;
    line-height: 1;
    margin-left: auto;
    order: 10;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
  }

  .mobile-menu-btn:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
  }

  .nav-list, .primary-menu-list {
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 1.85rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1.25rem;
    align-items: flex-start;
  }

  .nav-list.active, .primary-menu-list.active {
    transform: translateY(0);
  }

  .search-card {
    padding: 1.75rem 1.35rem;
  }
}
