/* ==========================================================================
   Al Sharif Co. - B2B Agricultural Exports Custom Styles
   Tailored for European Import & Quality Standards
   ========================================================================== */

:root {
  --alsharif-green: #6fa825;
  --alsharif-green-dark: #56841b;
  --alsharif-green-light: #eef7e4;
  --alsharif-teal: #0e858a;
  --alsharif-teal-dark: #09595d;
  --alsharif-teal-light: #e3f5f6;
  --alsharif-gold: #c59b27;
  --alsharif-dark: #121c24;
  --alsharif-slate: #233446;
  --alsharif-gray-bg: #f8fafb;
  --alsharif-border: #e2e8f0;
}

/* Header & Brand Logo */
.header .logo img {
  max-height: 65px;
  width: auto;
  transition: transform 0.3s ease;
}
.header .logo:hover img {
  transform: scale(1.02);
}

.header {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.navmenu a, .navmenu a:focus {
  font-family: var(--default-font);
  font-weight: 600;
  font-size: 15px;
  color: var(--alsharif-slate);
}

.navmenu a:hover, .navmenu .active, .navmenu .active:focus {
  color: var(--alsharif-teal) !important;
}

.navmenu .dropdown ul a:hover, .navmenu .dropdown ul .active:hover {
  color: var(--alsharif-teal) !important;
}

.btn-b2b-primary {
  background: linear-gradient(135deg, var(--alsharif-teal) 0%, var(--alsharif-teal-dark) 100%);
  color: #ffffff !important;
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(14, 133, 138, 0.25);
}
.btn-b2b-primary:hover {
  background: linear-gradient(135deg, var(--alsharif-green) 0%, var(--alsharif-green-dark) 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(111, 168, 37, 0.35);
}

.btn-b2b-outline {
  background: transparent;
  color: var(--alsharif-teal) !important;
  border: 2px solid var(--alsharif-teal);
  border-radius: 50px;
  padding: 8px 22px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.btn-b2b-outline:hover {
  background: var(--alsharif-teal);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Trust Badges Bar */
.trust-badges-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--alsharif-border);
  padding: 8px 0;
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 12px;
}
.trust-badge-item i {
  font-size: 24px;
  color: var(--alsharif-teal);
  flex-shrink: 0;
}
.trust-badge-item .badge-text h6 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--alsharif-slate);
}
.trust-badge-item .badge-text span {
  font-size: 12px;
  color: #64748b;
}

/* Hero B2B adjustments */
.hero-b2b {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(14, 28, 36, 0.75), rgba(14, 28, 36, 0.75)), url('../img/hero_1.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 100px 0;
}
.hero-b2b .lead-badge {
  display: inline-block;
  background: rgba(111, 168, 37, 0.25);
  border: 1px solid var(--alsharif-green);
  color: #a3e635;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-b2b h1 {
  font-size: 46px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 20px;
}
.hero-b2b p.subhead {
  font-size: 18px;
  line-height: 1.7;
  color: #e2e8f0;
  max-width: 720px;
  margin-bottom: 35px;
}

/* Stat Counters */
.stat-box {
  background: #ffffff;
  border: 1px solid var(--alsharif-border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}
.stat-box:hover {
  transform: translateY(-5px);
  border-color: var(--alsharif-teal);
}
.stat-box .stat-num {
  font-size: 38px;
  font-weight: 800;
  color: var(--alsharif-teal);
  margin-bottom: 5px;
  line-height: 1;
}
.stat-box .stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
}

/* Product Cards */
.product-card {
  background: #ffffff;
  border: 1px solid var(--alsharif-border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 30px rgba(14, 133, 138, 0.12);
  border-color: var(--alsharif-teal);
}
.product-card .img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: #f1f5f9;
}
.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .img-wrap img {
  transform: scale(1.06);
}
.product-card .tag-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(14, 133, 138, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-card .card-body {
  padding: 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.product-card .botanical-name {
  font-size: 12.5px;
  font-style: italic;
  color: var(--alsharif-teal);
  font-weight: 600;
  margin-bottom: 4px;
}
.product-card .product-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--alsharif-slate);
  margin-bottom: 12px;
}
.product-card .product-specs-mini {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  font-size: 13px;
  color: #475569;
}
.product-card .product-specs-mini li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed #e2e8f0;
}
.product-card .card-footer-b2b {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
}

/* Filter buttons */
.filter-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 35px;
}
.filter-btn-group .filter-btn {
  background: #ffffff;
  border: 1px solid var(--alsharif-border);
  color: var(--alsharif-slate);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-btn-group .filter-btn.active,
.filter-btn-group .filter-btn:hover {
  background: var(--alsharif-teal);
  color: #ffffff;
  border-color: var(--alsharif-teal);
}

/* Dedicated Product Page Technical Sheet */
.product-hero-spec {
  background: var(--alsharif-gray-bg);
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--alsharif-border);
}
.product-hero-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--alsharif-border);
}
.product-hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.table-b2b {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.table-b2b th, .table-b2b td {
  padding: 13px 18px;
  font-size: 14px;
  border-bottom: 1px solid #e2e8f0;
}
.table-b2b th {
  background: #f1f5f9;
  color: var(--alsharif-slate);
  font-weight: 700;
  width: 32%;
}
.table-b2b td {
  color: #334155;
}
.table-b2b tr:last-child th, .table-b2b tr:last-child td {
  border-bottom: none;
}

/* Certificate Cards */
.cert-card {
  background: #ffffff;
  border: 1px solid var(--alsharif-border);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
}
.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(14, 133, 138, 0.15);
  border-color: var(--alsharif-teal);
}
.cert-icon-wrap {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--alsharif-teal-light);
  color: var(--alsharif-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}
.cert-badge-standard {
  display: inline-block;
  background: var(--alsharif-green-light);
  color: var(--alsharif-green-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* RFQ Banner */
.rfq-cta-section {
  background: linear-gradient(135deg, var(--alsharif-teal-dark) 0%, var(--alsharif-dark) 100%);
  color: #ffffff;
  padding: 70px 0;
  position: relative;
}
.rfq-cta-section h2 {
  color: #ffffff;
  font-size: 34px;
  font-weight: 800;
}
.rfq-cta-section p {
  color: #cbd5e1;
  font-size: 16px;
}

/* Footer custom */
.footer {
  background: #121c24;
  color: #94a3b8;
  padding-top: 60px;
}
.footer .logo img {
  max-height: 48px;
  margin-bottom: 15px;
}
.footer h4 {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
  border-left: 3px solid var(--alsharif-green);
  padding-left: 10px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links ul li {
  padding: 6px 0;
}
.footer-links ul a {
  color: #cbd5e1;
  transition: color 0.2s;
}
.footer-links ul a:hover {
  color: var(--alsharif-green);
}
.footer-contact p {
  margin-bottom: 8px;
  color: #cbd5e1;
}

/* Breadcrumb styling */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}
.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  padding-left: 10px;
  color: #94a3b8;
  content: "/";
}
.breadcrumbs ol li a {
  color: #cbd5e1;
}
.breadcrumbs ol li.current {
  color: var(--alsharif-green);
  font-weight: 600;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .hero-b2b h1 {
    font-size: 34px;
  }
}

/* Homepage & Component Gallery Cards */
.home-gallery-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  height: 220px;
  background-color: #f1f5f9;
  display: block;
}
.home-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.home-gallery-card:hover img {
  transform: scale(1.08);
}
.home-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 28, 36, 0.88) 0%, rgba(14, 28, 36, 0.2) 60%, transparent 100%);
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  transition: opacity 0.3s ease;
}
.home-gallery-card:hover .home-gallery-overlay {
  opacity: 1;
}
.home-gallery-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: rgba(111, 168, 37, 0.9);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
  width: fit-content;
}
.home-gallery-title {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0;
}
.home-gallery-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s ease;
}
.home-gallery-card:hover .home-gallery-icon {
  background: var(--alsharif-green);
  transform: scale(1.1);
}

/* ==========================================================================
   Corporate Profile Download & Reader Components
   ========================================================================== */
.profile-download-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 50%, #e6f6f7 100%);
  border: 1px solid rgba(14, 133, 138, 0.22);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 12px 35px rgba(14, 133, 138, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.profile-download-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(14, 133, 138, 0.12);
  border-color: var(--alsharif-teal);
}
.profile-download-banner::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(111, 168, 37, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.profile-pdf-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.18);
  flex-shrink: 0;
}
.profile-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(14, 133, 138, 0.08);
  color: var(--alsharif-teal-dark);
}
.profile-meta-tag.green {
  background: rgba(111, 168, 37, 0.12);
  color: var(--alsharif-green-dark);
}
.profile-meta-tag.pdf {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
}

/* Compact Profile Card (for Sidebars & Columns) */
.profile-mini-card {
  background: #ffffff;
  border: 1px solid var(--alsharif-border);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}
.profile-mini-card:hover {
  border-color: var(--alsharif-teal);
  box-shadow: 0 8px 24px rgba(14, 133, 138, 0.1);
  transform: translateY(-2px);
}
.profile-mini-card .mini-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}