/*
Theme Name:  MIAU - Made in Africa Uganda
Author:      Musa Badru & Hassan Lukwago - Blackfrost Tech Solutions
Author URI:  https://musabadru.com/
Description: A modern, professional WordPress theme designed for MIAU (Made in Africa Uganda) to showcase local products and support the BUBU initiative. This theme is highly customizable and built for performance.
Version:     3.8.12
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: miau
Tags:        search, custom-header, custom-logo, custom-menu, featured-images, one-column, two-columns, accessibility-ready, translation-ready, block-styles
*/
/* Reset and Base Styles */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.3;
}

h3 {
  font-size: 2rem;
  line-height: 1.4;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Color Variables */
:root {
  --primary-blue: #1e88e5;
  --primary-orange: #ff5722;
  --dark-blue: #0d47a1;
  --dark-orange: #e65100;
  --light-gray: #f5f5f5;
  --dark-gray: #333;
  --white: #ffffff;
  --header-height: 70px;
  --header-padding: 1rem 2rem;
  --header-bg-start: rgba(30, 136, 229, 0.85);
  --header-bg-end: rgba(13, 71, 161, 0.85);
}

/* ==========================================================================
   Site Header & Navigation
   - Mobile-First Responsive Design (Clean Version)
   ========================================================================== */

/* --- 1. Base Styles (Mobile First) --- */

body {
  margin-top: 70px; /* Space for fixed header */
}

/* --- 2. Mobile Menu Toggle Button --- */

/* --- 3. Mobile Navigation Styles --- */

/* --- 4. Desktop Styles (min-width: 769px) --- */

@media (min-width: 769px) {
  body {
    margin-top: 80px;
  }

  /* Desktop dropdown styles */
  .menu-item-has-children {
    position: relative;
  }

  .sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0;
    min-width: 200px;
    border-radius: 6px;
    list-style: none;
    margin: 0;

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
  }

  .sub-menu a {
    white-space: nowrap;
    padding: 0.75rem 1rem;
  }

  /* Show dropdown on hover */
  .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* --- 5. Accessibility & Screen Reader Support --- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--dark-blue);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1003;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 6px;
}

/* Hero Section */
.hero-section {
  /* background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue)); */
  /* background-color: #e48633; */
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("http://miau-website.local/wp-content/uploads/2025/10/ONP0814-scaled.jpg");
  background-position: center;
  background-size: cover;
  filter: blur(1px) brightness(0.7);
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.bubu-message {
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--dark-orange)
  );
  padding: 1rem 2rem;
  border-radius: 50px;
  display: inline-block;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

.hero-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 1rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--dark-orange)
  );
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Content Sections */
.content-section {
  padding: 80px 0;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark-blue);
}

.section-subtitle {
  text-align: center;
  margin-bottom: 4rem;
  color: var(--dark-gray);
  font-size: 1.2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  background-color: var(--light-gray);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 3rem;
}

.product-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 200px;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-orange)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card:hover .product-overlay {
  opacity: 0.9;
}

.product-overlay-text {
  color: var(--white);
  font-weight: bold;
  font-size: 1.2rem;
}

.product-content {
  padding: 1.5rem;
}

.product-title {
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}

/* Why Choose Section */
.why-choose-section {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--dark-orange)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
}

/* Contact Section */
.contact-section {
  background-color: var(--light-gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--dark-orange)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--white);
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--dark-blue);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.form-submit {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(30, 136, 229, 0.4);
}

/* Footer */
.site-footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-orange);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #555;
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-container {
    padding: 0 1rem;
  }
}

/* ===== PAGE TEMPLATES STYLES ===== */

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  background: #ffffff;
  color: var(--white);
  padding: 1rem 0 0rem;
  position: relative;
  overflow: hidden;
}

.page-header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.page-title {
  color: var(--dark-orange);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.page-subtitle {
  color: var(--dark-blue);
  font-size: 1.2rem;
  text-align: center;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.breadcrumb a {
  color: var(--primary-blue);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .separator {
  margin: 0 0.5rem;
}

.breadcrumb .current {
  opacity: 0.7;
}

/* Content Sections */
.content-section {
  padding: 1rem 0;
}

.section-header .products-section-header {
  margin-bottom: 1rem;
}

.content-section .all-products-section {
  position: relative;
  z-index: 1;
  background: none; /* Background moved to pseudo-element */
  overflow: hidden; /* Ensures blur doesn't spill out */
}

/* .content-section .all-products-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      135deg,
      #2da2cc 21px,
      #d9ecff 22px,
      #d9ecff 24px,
      transparent 24px,
      transparent 67px,
      #d9ecff 67px,
      #d9ecff 69px,
      transparent 69px
    ),
    linear-gradient(
        225deg,
        #2da2cc65 21px,
        #d9ecff 22px,
        #d9ecff 24px,
        transparent 24px,
        transparent 67px,
        #d9ecff 67px,
        #d9ecff 69px,
        transparent 69px
      )
      0 64px;
  background-color: #2da2cc;
  background-size: 64px 128px;

  filter: blur(8px);
  transform: scale(1.05);
} */

.content-section:nth-child(even) {
  background-color: #f8f9fa;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark-blue);
}

/* About Page Styles */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-content h2 {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.about-content h3 {
  font-size: 1.5rem;
  color: var(--dark-blue);
  margin: 2rem 0 1rem;
}

.about-content p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.mission-list {
  list-style: none;
  padding: 0;
}

.mission-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.mission-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-orange);
  font-weight: bold;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* BUBU Section */
.bubu-section {
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--dark-orange)
  );
  color: var(--white);
}

.bubu-section .section-title {
  color: var(--white);
}

.bubu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.bubu-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.bubu-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.bubu-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.bubu-card p {
  line-height: 1.6;
  opacity: 0.9;
}

/* Values Section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-item {
  text-align: center;
  padding: 2rem;
}

.value-item h3 {
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.value-item p {
  line-height: 1.6;
  color: var(--text-dark);
}

/* Who We Are Page Styles */
.company-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.lead-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white);
  border-radius: 10px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}
.overview-image {
  margin-block: 2rem;
}
.who-were-image {
  max-width: 100%;
  height: auto;
}

/* Approach Section */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.approach-step {
  position: relative;
  padding: 2rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--dark-orange)
  );
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.approach-step h3 {
  margin: 1.5rem 0 1rem;
  color: var(--primary-blue);
}

/* Difference Section */
.difference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.difference-item {
  text-align: center;
  padding: 2rem;
}

.difference-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.difference-item h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Impact Section */
.impact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.impact-highlights {
  margin-top: 2rem;
}

.highlight-item {
  margin-bottom: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-left: 4px solid var(--primary-orange);
  border-radius: 5px;
}

.impact-chart {
  display: flex;
  align-items: end;
  justify-content: space-around;
  height: 200px;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 2rem;
}

.chart-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.chart-bar {
  width: 40px;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-orange)
  );
  border-radius: 5px 5px 0 0;
  margin-bottom: 1rem;
}

.chart-label {
  font-weight: bold;
  color: var(--text-dark);
}

.chart-caption {
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
  color: var(--text-dark);
}

/* Team Page Styles */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.team-member {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-photo {
  height: 250px;
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info {
  padding: 2rem;
}

.member-info h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.member-title {
  color: var(--primary-orange);
  font-weight: 600;
  margin-bottom: 1rem;
}

.member-bio {
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.member-contact a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
}

.member-contact a:hover {
  text-decoration: underline;
}

/* Departments Section */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.department-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.department-card:hover {
  transform: translateY(-5px);
}

.department-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.department-card h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.department-stats {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.department-stats span {
  background: #f8f9fa;
  padding: 0.5rem;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Team Values */
.values-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-showcase-item {
  text-align: center;
  padding: 2rem;
}

.value-showcase-item h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Join Team Section */
.join-team-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.current-openings {
  margin: 3rem 0;
  text-align: left;
}

.openings-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.opening-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary-orange);
}

.opening-item h4 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.opening-location {
  color: var(--primary-orange);
  font-weight: 500;
  font-size: 0.9rem;
}

.join-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact Page Styles */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-info-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-info-card h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.contact-info-card p {
  line-height: 1.6;
  color: var(--text-dark);
}

/* Contact Forms */
.contact-forms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.contact-form-container {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-container h3 {
  color: var(--primary-blue);
  margin-bottom: 2rem;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
  margin-bottom: 0;
}

.form-submit {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.form-submit:hover {
  transform: translateY(-2px);
}

/* Partnership Section */
.partnership-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.partnership-benefits ul {
  list-style: none;
  padding: 0;
}

.partnership-benefits li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.partnership-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-orange);
  font-weight: bold;
}

/* Map Section */
.map-container {
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
  height: 100%;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
}

.map-content h3 {
  margin-bottom: 1rem;
}

/* Products Archive Styles */
.categories-overview {
  margin-bottom: 4rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.category-card {
  position: relative;
  height: 250px;
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 2rem;
  text-align: center;
}

.category-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.category-overlay p {
  opacity: 0.9;
  line-height: 1.4;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
}

.placeholder-image.large {
  height: 400px;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-link {
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--dark-orange)
  );
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.product-link:hover {
  transform: scale(1.05);
}

.product-content {
  padding: 1.5rem;
}

.product-content h3 {
  margin-bottom: 1rem;
}

.product-content h3 a {
  color: var(--primary-blue);
  text-decoration: none;
}

.product-content h3 a:hover {
  color: var(--dark-blue);
}

.product-excerpt {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.product-category {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Product Filter */
.product-filter {
  margin-bottom: 3rem;
  text-align: center;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-blue);
  color: var(--white);
}

/* Load More */
.load-more-container {
  text-align: center;
  margin-top: 3rem;
}

.load-more-btn {
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--dark-orange)
  );
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.load-more-btn:hover {
  transform: translateY(-2px);
}

/* Single Product Styles */
.product-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.product-images {
  top: .2rem;
}

.main-image {
  margin-bottom: 1rem;
}

.product-main-image {
  width: 100%;
  border-radius: 10px;
}

.image-gallery {
  margin-top: 1rem;
}

.gallery-thumbnails {
  display: flex;
  gap: 0.5rem;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.thumbnail.active {
  border-color: var(--primary-blue);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-title {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.product-categories {
  margin-bottom: 2rem;
}

.product-category-link {
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--dark-orange)
  );
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  margin-right: 0.5rem;
}

.product-description {
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

/* Product Specifications */
.product-specifications {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.product-specifications h3 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.specs-grid {
  display: grid;
  gap: 1rem;
}

.spec-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 600;
  color: var(--dark-blue);
}

.spec-value {
  color: var(--text-dark);
}

/* Wholesale Inquiry */
.wholesale-inquiry {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  text-align: center;
}

.wholesale-inquiry h3 {
  margin-bottom: 1rem;
}

.inquiry-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Product Share */
.product-share {
  margin-bottom: 2rem;
}

.product-share h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.share-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.share-btn {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.3s ease;
}

.share-btn:hover {
  transform: translateY(-2px);
}

.share-btn.facebook {
  background: #3b5998;
}
.share-btn.twitter {
  background: #1da1f2;
}
.share-btn.linkedin {
  background: #0077b5;
}
.share-btn.whatsapp {
  background: #25d366;
}

/* Product Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-item h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Category Page Styles */
.category-overview {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.category-highlights {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.products-count {
  color: var(--text-dark);
  font-weight: 500;
}

/* Product Sorting */
.product-sorting {
  margin-bottom: 2rem;
  text-align: right;
}

.sort-options {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
}

.sort-options label {
  font-weight: 600;
  color: var(--dark-blue);
}

.sort-options select {
  padding: 0.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  background: var(--white);
}

/* No Products */
.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: #f8f9fa;
  border-radius: 10px;
}

.no-products h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Pagination */
.pagination-container {
  margin-top: 3rem;
  text-align: center;
  background-color: #f9f9f9;
  padding-block: 1rem;
  margin-block: 3rem;
  text-align: center;
  border-radius: 0.5rem;
}

.pagination-container ul {
  display: inline-flex;
  list-style: none;
  gap: 0.5rem;
  padding: 0;
}

.pagination-container li {
  margin: 0;
}

.pagination-container a,
.pagination-container span {
  display: block;
  padding: 0.75rem 1rem;
  border: 2px solid var(--primary-blue);
  border-radius: 5px;
  text-decoration: none;
  color: var(--primary-blue);
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination-container a:hover,
.pagination-container .current {
  background: var(--primary-blue);
  color: var(--white);
}

/* Category Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.benefit-item h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Related Categories */
.category-card.small {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white);
  text-decoration: none;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.category-card.small:hover {
  transform: translateY(-3px);
}

.category-card.small h3 {
  margin-bottom: 0.5rem;
}

/* Call to Action Sections */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--dark-orange)
  );
  color: var(--white);
  text-align: center;
}

.cta-section .section-title {
  color: var(--white);
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Button Styles */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-blue);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-grid,
  .company-overview,
  .impact-content,
  .partnership-content,
  .product-details-grid,
  .category-overview {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .company-stats {
    grid-template-columns: 1fr;
  }

  .approach-grid,
  .difference-grid,
  .departments-grid,
  .values-showcase,
  .contact-forms-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .cta-buttons,
  .inquiry-buttons,
  .join-cta {
    flex-direction: column;
    align-items: center;
  }

  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-header {
    flex-direction: column;
    text-align: center;
  }

  .sort-options {
    justify-content: center;
  }

  .share-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .section-container {
    padding: 0 1rem;
  }

  .page-header-container {
    padding: 0 1rem;
  }

  .categories-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .contact-forms-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-container {
    padding: 1.5rem;
  }

  .team-grid,
  .features-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== HEADER STYLES (MOVED FROM INLINE) ===== */

/* Reset & Variables for Header */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header CTA Button */
.header-cta {
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--dark-orange)
  );
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 87, 34, 0.4);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== ANIMATION STYLES ===== */

/* Fade-in animations for content */
.product-card,
.feature-card,
.about-content,
.team-member,
.department-card,
.feature-item,
.benefit-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.product-card.animate-in,
.feature-card.animate-in,
.about-content.animate-in,
.team-member.animate-in,
.department-card.animate-in,
.feature-item.animate-in,
.benefit-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Loading state */
body:not(.loaded) {
  overflow: hidden;
}

body.loaded {
  overflow: visible;
}

/* Back to top button */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--dark-orange)
  );
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  z-index: 1000;
}

#back-to-top:hover {
  transform: translateY(-3px);
}

/* Notification styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 5px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  max-width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.notification.notification-success {
  background: linear-gradient(135deg, #4caf50, #45a049);
}

.notification.notification-error {
  background: linear-gradient(135deg, #f44336, #d32f2f);
}

/* Form validation styles */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #e74c3c;
  box-shadow: 0 0 5px rgba(231, 76, 60, 0.3);
}

.form-group input.success,
.form-group textarea.success,
.form-group select.success {
  border-color: #27ae60;
  box-shadow: 0 0 5px rgba(39, 174, 96, 0.3);
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-blue);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Improved accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for better accessibility */
/* a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
} */

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--dark-blue);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
}

.skip-link:focus {
  top: 6px;
}

/* ===== ENHANCED PAGE STYLES ===== */

/* Company Information Section */
.company-info-section {
  background: var(--light-gray);
  padding: 4rem 0;
}

.company-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.info-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.info-item:hover {
  transform: translateY(-5px);
}

.info-item h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.info-item p {
  color: var(--text-color);
  font-weight: 500;
}

/* Location Section */
.location-section {
  padding: 4rem 0;
  background: var(--white);
}

.location-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.location-content h3 {
  color: var(--primary-blue);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.location-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-item {
  text-align: center;
}

.benefit-item h4 {
  color: var(--primary-orange);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.benefit-item p {
  color: var(--text-color);
  font-size: 0.9rem;
}

/* Team Statistics Section */
.team-stats-section {
  background: var(--primary-blue);
  color: var(--white);
  padding: 4rem 0;
}

.team-stats-section .section-title {
  color: var(--white);
  text-align: center;
  margin-bottom: 3rem;
}

.team-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.team-stat-item {
  text-align: center;
  padding: 2rem;
}

.team-stat-item .stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: 0.5rem;
}

.team-stat-item .stat-label {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-stat-item .stat-description {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Team Contact Section */
.team-contact-section {
  background: var(--light-gray);
  padding: 4rem 0;
}

.team-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-department {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-department h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-department p {
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.contact-email {
  display: inline-block;
  background: var(--primary-orange);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.contact-email:hover {
  background: var(--dark-orange);
  color: var(--white);
}

/* Enhanced Company Stats */
.company-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
  padding: 2rem;
  background: var(--light-gray);
  border-radius: 15px;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 1rem;
  color: var(--primary-blue);
  font-weight: 600;
}

/* Enhanced Team Member Cards */
.team-member {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-photo {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member:hover .member-photo img {
  transform: scale(1.05);
}

.member-info {
  padding: 2rem;
}

.member-info h3 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.member-title {
  color: var(--primary-orange);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.member-bio {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.member-contact {
  margin-top: 1rem;
}

.member-contact a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary-blue);
  border-radius: 25px;
  transition: all 0.3s ease;
  display: inline-block;
}

.member-contact a:hover {
  background: var(--primary-blue);
  color: var(--white);
}

/* Enhanced Department Cards */
.department-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--primary-orange);
}

.department-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.department-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.department-card h3 {
  color: var(--primary-blue);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.department-card p {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.department-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}

.department-stats span {
  background: var(--light-gray);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--primary-blue);
  font-weight: 500;
}

/* Enhanced Values Showcase */
.values-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.value-showcase-item {
  text-align: center;
  padding: 2rem;
}

.value-showcase-item h3 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.value-showcase-item p {
  color: var(--text-color);
  line-height: 1.7;
  font-size: 1.1rem;
}

/* Join Team Section Enhancements */
.join-team-section {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white);
  padding: 5rem 0;
}

.join-team-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.join-team-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.join-team-content p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.current-openings {
  background: rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 15px;
  margin: 3rem 0;
  backdrop-filter: blur(10px);
}

.current-openings h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.openings-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.opening-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 10px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.opening-item h4 {
  color: var(--primary-orange);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.opening-item p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.opening-location {
  background: var(--primary-orange);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.join-cta {
  margin-top: 3rem;
}

.join-cta .btn-primary,
.join-cta .btn-secondary {
  margin: 0 1rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.join-cta .btn-secondary {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.join-cta .btn-secondary:hover {
  background: var(--white);
  color: var(--primary-blue);
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
  .company-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .team-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .team-stat-item .stat-number {
    font-size: 2.5rem;
  }

  .values-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .openings-list {
    grid-template-columns: 1fr;
  }

  .join-cta .btn-primary,
  .join-cta .btn-secondary {
    display: block;
    margin: 1rem auto;
    width: 80%;
    max-width: 300px;
  }

  .team-contact-grid {
    grid-template-columns: 1fr;
  }

  .location-benefits {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .company-stats {
    grid-template-columns: 1fr;
  }

  .team-stats-grid {
    grid-template-columns: 1fr;
  }

  .department-stats {
    flex-direction: column;
    align-items: center;
  }

  .current-openings {
    padding: 2rem 1rem;
  }

  .join-team-content h2 {
    font-size: 2rem;
  }
}

/* ===== ENHANCED PRODUCT STYLES ===== */

/* Product Cards */
.product-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-card.featured {
  border: 2px solid var(--primary-orange);
}

.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 136, 229, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 2;
}

.product-card:hover .product-overlay {
  opacity: 1;
  visibility: visible;
}

.product-link {
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid #fff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.product-link:hover {
  background: #fff;
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* OLD TAGS

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.featured-badge,
.availability-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
} 

.featured-badge {
    background: var(--primary-orange);
}

.availability-badge.in-stock {
    background: #46b450;
}

.availability-badge.limited {
    background: #ffb900;
}

.availability-badge.pre-order {
    background: #00a0d2;
}

.availability-badge.out-of-stock {
    background: #dc3232;
}
*/

/* Container for the badges */
.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px; /* Creates space between the badges */
}

/* Base styles for all badges */
.featured-badge,
.availability-badge {
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* Specific style for the featured badge */
.featured-badge {
  background: var(--primary-orange);
}

/* Specific style for the in-stock badge */
.availability-badge.in-stock {
  background: #4caf50; /* Green color for "In stock" */
}

.product-content {
  padding: 20px;
}

.product-content h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  line-height: 1.3;
}

.product-content h3 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-content h3 a:hover {
  color: var(--primary-blue);
}

.product-excerpt {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.product-category {
  background: #f0f0f0;
  color: #666;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.product-category:hover {
  background: var(--primary-blue);
  color: #fff;
}

.product-minimum-order {
  font-size: 12px;
  color: #888;
  margin-bottom: 15px;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.btn-small {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  flex: 1;
}

/* Product Filters */
.product-filter {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sort-select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
}

/* Product Statistics */
.product-stats-section {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-orange)
  );
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.stat-description {
  font-size: 14px;
  opacity: 0.9;
}

/* Single Product Page */
.product-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.product-images {
  top: 1.5rem;
  height: fit-content;
}

.main-image {
  margin-bottom: 20px;
}

.product-main-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border: 2px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.thumbnail:hover {
  border-color: var(--primary-blue);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-title {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.product-status {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.status-badge {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.status-badge.featured {
  background: var(--primary-orange);
}

.status-badge.availability {
  background: #46b450;
}

.product-categories {
  margin-bottom: 20px;
}

.product-category-link {
  display: inline-block;
  background: #f0f0f0;
  color: #666;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.product-category-link:hover {
  background: var(--primary-blue);
  color: #fff;
}

.product-specifications,
.product-care,
.wholesale-info {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.specs-grid,
.wholesale-grid {
  display: grid;
  gap: 10px;
}

.spec-item,
.wholesale-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.spec-label,
.wholesale-label {
  font-weight: 600;
  color: #666;
}

.spec-value,
.wholesale-value {
  color: var(--text-dark);
}

.wholesale-inquiry {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-orange)
  );
  color: #fff;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.inquiry-buttons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.product-share {
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn {
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.share-btn:hover {
  opacity: 0.8;
}

.share-btn.facebook {
  background: #1877f2;
}
.share-btn.twitter {
  background: #1da1f2;
}
.share-btn.linkedin {
  background: #0077b5;
}
.share-btn.whatsapp {
  background: #25d366;
}

/* Product Tabs */
.product-tabs {
  margin-top: 40px;
}

.tab-navigation {
  display: flex;
  border-bottom: 2px solid #eee;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 15px 25px;
  border: none;
  background: none;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
}

.tab-panel {
  display: none;
  padding: 20px 0;
}

.tab-panel.active {
  display: block;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.specs-table td:first-child {
  font-weight: 600;
  color: #666;
  width: 30%;
}

/* Category Pages */
.category-overview {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.category-highlights {
  display: grid;
  gap: 15px;
  margin-top: 20px;
}

.highlight-item {
  padding: 15px;
  background: #f9f9f9;
  border-left: 4px solid var(--primary-blue);
  border-radius: 4px;
}

.overview-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.products-summary {
  display: flex;
  align-items: center;
  gap: 20px;
}

.summary-stats {
  display: flex;
  gap: 15px;
}

.stat-item {
  padding: 8px 12px;
  background: #f0f0f0;
  border-radius: 4px;
  font-size: 14px;
  color: #666;
}

.product-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.filter-group label {
  font-weight: 600;
  color: #666;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-4px);
}

.benefit-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.benefit-item h3 {
  margin-bottom: 15px;
  color: var(--text-dark);
}

/* No Products State */
.no-products {
  text-align: center;
  padding: 60px 20px;
  background: #f9f9f9;
  border-radius: 8px;
  grid-column: 1 / -1;
}

.no-products-content h3 {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.no-products-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-overview {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-controls {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .filter-buttons {
    justify-content: center;
  }

  .inquiry-buttons,
  .no-products-actions {
    flex-direction: column;
  }

  .tab-navigation {
    flex-wrap: wrap;
  }

  .tab-btn {
    flex: 1;
    min-width: 120px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .product-actions {
    flex-direction: column;
  }

  .share-buttons {
    justify-content: center;
  }
}

/* ===== PRODUCT OVERLAY IMPROVEMENTS ===== */

/* Ensure product image container has proper positioning */
.product-image {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}

/* Fix for category cards overlay */
.category-card {
  display: block;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-image {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px 10px 0 0;
  position: relative;
  overflow: hidden;
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 136, 229, 0.85),
    rgba(255, 87, 34, 0.85)
  );
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover .category-overlay {
  opacity: 1;
}

.category-overlay h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.category-overlay p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

/* .category-stats {

} */

.product-count {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.availability-badge {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-badge {
  background: var(--primary-orange);
  color: #fff;
}

.availability-badge.in-stock {
  background: #4caf50;
  color: #fff;
}

.availability-badge.limited {
  background: #ff9800;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.availability-badge.pre-order {
  background: #2196f3;
  color: #fff;
}

.availability-badge.out-of-stock {
  background: #f44336;
  color: #fff;
}

/* Responsive improvements for mobile */
@media (max-width: 768px) {
  .product-overlay {
    opacity: 1;
    visibility: visible;
    background: rgba(30, 136, 229, 0.7);
  }

  .product-link {
    padding: 10px 20px;
    font-size: 12px;
  }

  .category-image {
    height: 200px;
  }

  .category-overlay h3 {
    font-size: 1.2rem;
  }

  .category-overlay p {
    font-size: 0.8rem;
  }
}

/* Fix for placeholder images */
.placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Ensure proper image sizing */
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

/* Grid layout improvements */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0;
  margin-top: 30px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===== MOBILE RESPONSIVENESS IMPROVEMENTS ===== */

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Improved mobile navigation */
@media (max-width: 768px) {
  /* Header CTA button */
  .header-cta {
    margin-top: 1.5rem;
    text-align: center;
    display: block;
    width: 100%;
    padding: 1rem;
  }

  /* Page content adjustments */
  .page-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .section-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  /* Grid adjustments */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Form improvements */
  .contact-forms-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Button improvements */
  .btn-primary,
  .btn-secondary {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }

  /* Product card improvements */
  .product-card {
    margin-bottom: 1.5rem;
  }

  .product-overlay {
    opacity: 1;
    visibility: visible;
    background: rgba(30, 136, 229, 0.85);
  }

  .product-link {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .page-header-container {
    padding: 0 1rem;
  }

  .section-container {
    padding: 0 1rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  /* Spacing adjustments */
  .content-section {
    padding: 3rem 0;
  }

  .page-header {
    padding: 3rem 0 1.5rem;
  }

  /* Product improvements */
  .product-content {
    padding: 1rem;
  }

  .product-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn-small {
    width: 100%;
    text-align: center;
  }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .page-header {
    padding: 2rem 0 1rem;
  }

  .content-section {
    padding: 2rem 0;
  }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
  .btn-primary,
  .btn-secondary {
    min-height: 48px;
  }

  /* Remove hover effects on touch devices */
  .product-card:hover {
    transform: none;
  }

  .product-overlay {
    opacity: 1;
    visibility: visible;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* .site-logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    } */
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .nav-list.active {
    animation: none;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
}

/* Print styles */
@media print {
  .site-header,
  .mobile-menu-toggle,
  .nav-overlay,
  .back-to-top {
    display: none !important;
  }

  body {
    margin-top: 0 !important;
  }
}

/* ===== BLOG STYLES ===== */

/* Blog Home Page */
.blog-home-page {
  background: var(--light-gray);
}

.blog-header {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white);
  padding: 4rem 0 2rem;
}

.blog-header .page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.blog-header .page-subtitle {
  font-size: 1.2rem;
  text-align: center;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Featured Post Section */
.featured-post-section {
  padding: 4rem 0;
  background: var(--white);
}

.featured-post-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.featured-post-image {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.featured-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-post-card:hover .featured-post-image img {
  transform: scale(1.05);
}

.featured-badge {
  top: 1rem;
  left: 1rem;
  background: var(--primary-orange);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.featured-post-content {
  padding: 2rem;
}

.featured-post-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 1rem 0;
  line-height: 1.3;
}

.featured-post-title a {
  color: var(--dark-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-post-title a:hover {
  color: var(--primary-blue);
}

.featured-post-excerpt {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

/* Blog Categories Section */
.blog-categories-section {
  padding: 4rem 0;
  background: var(--light-gray);
}

.blog-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-category-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.category-icon {
  margin-bottom: 1rem;
}

.category-emoji {
  font-size: 3rem;
  display: block;
}

.category-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}

.category-description {
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.category-count {
  font-size: 0.9rem;
  color: var(--primary-blue);
  font-weight: 500;
  margin-bottom: 1rem;
}

.category-link {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.category-link:hover {
  color: var(--dark-blue);
}

/* Recent Posts Section */
.recent-posts-section {
  padding: 4rem 0;
  background: var(--white);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.view-all-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.view-all-link:hover {
  color: var(--primary-orange);
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-post-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.blog-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-post-card .post-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-post-card .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 136, 229, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-post-card:hover .post-overlay {
  opacity: 1;
}

.read-more-btn {
  background: var(--white);
  color: var(--primary-blue);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  background: var(--primary-orange);
  color: var(--white);
  transform: scale(1.05);
}

.blog-post-card .post-content {
  padding: 1.5rem;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.post-date {
  color: var(--text-gray);
}

.post-category {
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.post-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.post-title a {
  color: var(--dark-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: var(--primary-blue);
}

.post-excerpt {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.post-author {
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* Newsletter Section */
.newsletter-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
  color: var(--white);
}

.newsletter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.newsletter-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.newsletter-description {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
}

.newsletter-form .form-group {
  display: flex;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 1rem 2rem;
  background: var(--primary-orange);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #e64a19;
}

.newsletter-privacy {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

/* Single Blog Post */
.single-blog-post {
  background: var(--white);
}

.post-header {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white);
  padding: 3rem 0 2rem;
}

.post-header-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.post-breadcrumbs {
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.post-breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.post-breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumb-separator {
  margin: 0 0.5rem;
  opacity: 0.6;
}

.current-page {
  opacity: 0.8;
}

.post-meta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.post-categories {
  display: flex;
  gap: 0.5rem;
}

.post-category-tag {
  background: var(--primary-orange);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 500;
}

.post-date {
  font-size: 0.9rem;
  opacity: 0.9;
}

.post-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.post-meta-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar img {
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.author-name {
  font-weight: 600;
  display: block;
}

.reading-time {
  font-size: 0.9rem;
  opacity: 0.8;
  display: block;
}

.post-actions {
  position: relative;
}

.share-btn {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s ease;
}

.share-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.share-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 0.5rem;
  display: none;
  min-width: 150px;
  z-index: 100;
}

.share-link {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--dark-blue);
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.share-link:hover {
  background: var(--light-gray);
}

/* Featured Image */
.post-featured-image {
  margin: 2rem 0;
}

.featured-image-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* Post Content */
.post-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.post-content h2,
.post-content h3,
.post-content h4 {
  color: var(--dark-blue);
  margin: 2rem 0 1rem;
  font-weight: 600;
}

.post-content h2 {
  font-size: 1.8rem;
}

.post-content h3 {
  font-size: 1.5rem;
}

.post-content h4 {
  font-size: 1.3rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content blockquote {
  border-left: 4px solid var(--primary-orange);
  padding-left: 2rem;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-gray);
}

.post-content ul,
.post-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-tags {
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
}

.post-tags h4 {
  margin-bottom: 1rem;
  color: var(--dark-blue);
}

.tags-list a {
  display: inline-block;
  background: var(--light-gray);
  color: var(--text-gray);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  margin: 0 0.5rem 0.5rem 0;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.tags-list a:hover {
  background: var(--primary-blue);
  color: var(--white);
}

/* Author Bio */
.author-bio {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--light-gray);
  border-radius: 12px;
  margin: 2rem 0;
}

.author-avatar-large img {
  border-radius: 50%;
}

.author-bio-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}

.author-bio-description {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.author-social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--primary-orange);
}

/* Post Sidebar */
.post-sidebar {
  padding-top: 2rem;
}

.sidebar-widget {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.widget-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-orange);
}

.related-post-item,
.popular-post-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.related-post-item:last-child,
.popular-post-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.related-post-image,
.popular-post-image {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
}

.related-post-image img,
.popular-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-post-title,
.popular-post-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.related-post-title a,
.popular-post-title a {
  color: var(--dark-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-post-title a:hover,
.popular-post-title a:hover {
  color: var(--primary-blue);
}

.related-post-date,
.popular-post-date {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.categories-list {
  list-style: none;
  padding: 0;
}

.category-item {
  margin-bottom: 0.75rem;
}

.category-link {
  color: var(--text-gray);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.category-link:hover {
  color: var(--primary-blue);
}

.category-count {
  font-size: 0.9rem;
  color: var(--text-light);
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-link {
  background: var(--light-gray);
  color: var(--text-gray);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.tag-link:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.newsletter-widget .widget-description {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.newsletter-widget .newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-widget input {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
}

.newsletter-widget button {
  padding: 0.75rem;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-widget button:hover {
  background: var(--dark-blue);
}

/* Post Navigation */
.post-navigation {
  background: var(--light-gray);
  padding: 3rem 0;
}

.post-nav-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.nav-previous,
.nav-next {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.nav-link {
  display: block;
  padding: 2rem;
  text-decoration: none;
  color: var(--text-dark);
}

.nav-direction {
  font-size: 0.9rem;
  color: var(--text-gray);
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}

.nav-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-blue);
  line-height: 1.4;
}

.nav-next {
  text-align: right;
}

/* Blog Archive */
.blog-archive-page {
  background: var(--light-gray);
  min-height: 100vh;
}

.archive-header {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white);
  padding: 3rem 0 2rem;
}

.archive-content {
  padding: 3rem 0;
}

.archive-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.archive-filters {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.filter-section {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.search-form {
  position: relative;
}

.search-form input {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
}

.search-form button {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-gray);
  cursor: pointer;
  padding: 0.5rem;
}

.filter-dropdown select,
.sort-dropdown select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--white);
}

.results-info {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.archive-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.archive-post-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.archive-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.archive-post-card .post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.no-posts-found {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
}

.no-posts-content h3 {
  font-size: 1.5rem;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.no-posts-content p {
  color: var(--text-gray);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Archive Sidebar */
.archive-sidebar {
  padding-top: 0;
}

/* Pagination */
.archive-pagination {
  margin-top: 3rem;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-pagination .page-numbers li {
  margin: 0;
}

.archive-pagination .page-numbers a,
.archive-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-gray);
  transition: all 0.3s ease;
  min-width: 44px;
}

.archive-pagination .page-numbers a:hover,
.archive-pagination .page-numbers .current {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .blog-header .page-title {
    font-size: 2rem;
  }

  .featured-post-card {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .featured-post-image {
    height: 250px;
  }

  .blog-categories-grid {
    grid-template-columns: 1fr;
  }

  .blog-posts-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .newsletter-form .form-group {
    flex-direction: column;
  }

  .post-title {
    font-size: 2rem;
  }

  .post-meta-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .post-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .author-bio {
    flex-direction: column;
    text-align: center;
  }

  .post-nav-container {
    grid-template-columns: 1fr;
  }

  .archive-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .filter-section {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .archive-posts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .blog-header .page-title {
    font-size: 1.75rem;
  }

  .post-title {
    font-size: 1.75rem;
  }

  .featured-post-content {
    padding: 1.5rem;
  }

  .blog-category-card,
  .sidebar-widget {
    padding: 1.5rem;
  }

  .post-header-container {
    padding: 0 1rem;
  }
}

/* ===== MOBILE LOGO AND CATEGORY FIXES ===== */

/* Mobile logo adjustments */
@media (max-width: 768px) {
  /* Category cards mobile optimization */
  .categories-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 1rem;
  }

  .category-image {
    height: 200px; /* Smaller height on mobile */
  }

  .category-overlay {
    opacity: 1; /* Always visible on mobile */
    background: linear-gradient(
      135deg,
      rgba(30, 136, 229, 0.9),
      rgba(255, 87, 34, 0.9)
    );
  }

  .category-overlay h3 {
    font-size: 1.25rem;
  }

  .category-overlay p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .category-image {
    height: 180px;
  }

  .category-overlay {
    padding: 1rem;
  }

  .category-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }

  .category-overlay p {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }
}

/* ===== ANIMATIONS AND TRANSITIONS ===== */

.feature-card,
.about-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.product-card.animate-in,
.feature-card.animate-in,
.about-content.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.product-card {
  opacity: 1 !important;
  transform: none;
  display: block;
  visibility: visible;
}

/* Only hide when specifically filtered */
.product-card.hidden {
  /* display: none !important; */
}

.product-card.product-hidden {
  /* Use the correct class name from the JS */
  visibility: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}
@media (min-width: 768px) {
  .product-card.filterable-product {
    border-radius: 0;
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== END OF CSS STYLES ===== */

.separator {
  color: var(--border-color);
}

/* ========================================
   OUR TEAMS STYLES - MOBILE FIRST
======================================== */
/* 




    /* === Modern Ivory Search Redesign === */
.is-search-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 50rem;
  margin: 1.5rem auto;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.25s ease;
  position: relative;
}

.is-search-form:hover {
  border-color: #ccc;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.is-search-form:focus-within {
  border-color: #007bff;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

.is-search-input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-size: 16px;
  background: transparent;
  color: #333;
  outline: none;
  height: 54px;
}

.is-search-input::placeholder {
  color: #aaa;
}

.is-search-submit {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.1s ease;
}

.is-search-submit:hover {
  background: #f8f8f8;
  transform: scale(1.05);
}

.is-search-submit svg {
  width: 22px;
  height: 22px;
  stroke: #666;
  fill: none;
}

/* Hide "Search for:" but keep it accessible */
.is-screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Optional dark mode polish */
@media (prefers-color-scheme: dark) {
  .is-search-form {
    border-color: #444;
  }
  .is-search-input {
    color: #eee;
  }
  .is-search-submit:hover {
    background-color: #333;
  }
}

#is-search-input-1963 {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-dark);
  width: 100%;
  min-height: 1.35rem !important;
  max-width: 100%;
}

.who-were-image {
  max-width: 100%;
  height: auto;
}

.content-section.category-products-section {
  background-color: var(--primary-orange, #ff5722);
}
