﻿/* Global Styles */
:root {
  --primary-color: #1e88e5;
  --secondary-color: #43a047;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f8fafb;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-hover: 0 4px 16px rgba(0,0,0,0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

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

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

/* Header & Navigation */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

/* Dropdown Menu */
nav ul li.dropdown {
  position: relative;
}

nav ul li.dropdown > a {
  cursor: pointer;
}

nav ul li.dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 8px 0;
  z-index: 1000;
  list-style: none;
}

nav ul li.dropdown:hover .dropdown-menu,
nav ul li.dropdown.open .dropdown-menu {
  display: block;
}

nav ul li.dropdown .dropdown-menu li {
  display: block;
  margin: 0;
}

nav ul li.dropdown .dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  white-space: nowrap;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

nav ul li.dropdown .dropdown-menu li a:hover {
  background: #f0f7ff;
  color: var(--primary-color);
}

nav ul li.dropdown .dropdown-menu li a::after {
  display: none;
}

@media (max-width: 768px) {
  nav ul li.dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 20px;
    border-radius: 0;
    background: transparent;
  }
  nav ul li.dropdown .dropdown-menu li a {
    padding: 8px 20px;
    color: #555;
  }
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), #1565c0);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.badge {
  background: rgba(255,255,255,0.2);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sections */
.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.bg-light {
  background: var(--bg-light);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

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

.product-card-content {
  padding: 20px;
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.product-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.product-card a {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
}

.product-card a:hover {
  text-decoration: underline;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 30px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--white);
}

.feature-item h3 {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.feature-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.stat-item {
  text-align: center;
  padding: 30px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  background: linear-gradient(135deg, var(--primary-color), #1565c0);
  color: var(--white);
  padding: 40px;
  border-radius: 12px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-text {
  font-size: 0.95rem;
}

.contact-item-text strong {
  display: block;
  margin-bottom: 3px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--text-dark);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

.submit-btn {
  width: 100%;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #1565c0;
}

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

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

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

/* Footer */
footer {
  background: #1a1a2e;
  color: var(--white);
  padding: 50px 0 20px;
}

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

.footer-about h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.footer-about p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links h4 {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #aaa;
  font-size: 0.95rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

/* Product Detail Page */
.product-hero {
  background: linear-gradient(135deg, var(--primary-color), #1565c0);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.product-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.product-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

.product-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.product-main-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-main-image img {
  width: 100%;
  height: auto;
  display: block;
}

.product-details {
  padding: 20px 0;
}

.product-details h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.product-details p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

.product-specs {
  margin-top: 30px;
}

.product-specs h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.specs-list {
  list-style: none;
}

.specs-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.specs-list li:before {
  content: '✓';
  color: var(--secondary-color);
  font-weight: bold;
}

.product-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.category-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

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

.category-card-content {
  padding: 20px;
}

.category-card h4 {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.category-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color), #1565c0);
  color: var(--white);
  padding: 50px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.page-header p {
  opacity: 0.9;
  font-size: 1.1rem;
}

/* Breadcrumb */
.breadcrumb {
  padding: 15px 0;
  background: var(--bg-light);
}

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

.breadcrumb a {
  color: var(--primary-color);
}

.breadcrumb span {
  margin: 0 10px;
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content,
  .contact-wrapper,
  .product-gallery {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow);
  }
  
  nav ul.active {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  
  .stat-item {
    padding: 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info,
  .contact-form {
    padding: 25px;
  }
}

/* WeChat QR Placeholder */
.wechat-qr {
  background: #f5f5f5;
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  margin-top: 20px;
}

.wechat-qr p {
  color: #999;
  font-size: 0.9rem;
}

.wechat-qr span {
  display: block;
  margin-top: 5px;
  font-size: 0.85rem;
}
/* ============================================
   INDEX PAGE - VALUE PROPS 4-CARD GRID
   ============================================ */

.props-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.prop-card {
  background: var(--white);
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.prop-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.prop-icon {
  font-size: 2.5rem;
  margin-bottom: 18px;
  line-height: 1;
}

.prop-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.prop-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .props-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .props-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .prop-card {
    padding: 20px 15px;
  }
  .prop-icon {
    font-size: 1.8rem;
  }
  .prop-card h3 {
    font-size: 0.95rem;
  }
  .prop-card p {
    font-size: 0.8rem;
  }
}

/* ============================================
   INDEX PAGE - FEATURED PRODUCTS 2x2
   ============================================ */

.featured-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.featured-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.featured-card .featured-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.featured-card .featured-body {
  padding: 28px 25px;
}

.featured-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.featured-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 18px;
  line-height: 1.7;
}

/* Product Showcase 3x3 Grid */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.showcase-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.showcase-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-item .showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  font-weight: 600;
  font-size: 1rem;
  pointer-events: none;
}

@media (max-width: 768px) {
  .featured-grid-2x2 {
    grid-template-columns: 1fr;
  }
  .showcase-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   BLOG STYLES
   ============================================ */

/* Blog Layout */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.blog-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

/* Blog Card */
.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.blog-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-color);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.blog-card-content {
  padding: 25px;
}

.blog-card h2,
.blog-card h3 {
  margin-bottom: 12px;
  color: var(--text-dark);
  font-size: 1.3rem;
}

.blog-card h3 {
  font-size: 1.15rem;
}

.blog-card h2 a,
.blog-card h3 a {
  transition: color 0.3s;
}

.blog-card h2 a:hover,
.blog-card h3 a:hover {
  color: var(--primary-color);
}

.blog-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.7;
}

/* Featured Blog Card */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.blog-featured .blog-card-image {
  height: 100%;
  min-height: 350px;
}

.blog-featured .blog-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 35px;
}

.blog-featured h2 {
  font-size: 1.8rem;
}

/* Blog Meta */
.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.blog-date {
  position: relative;
}

.blog-date::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--text-light);
  border-radius: 50%;
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: var(--shadow);
}

.sidebar-widget h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-dark);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

/* Category List */
.category-list {
  list-style: none;
}

.category-list li {
  margin-bottom: 10px;
}

.category-tag {
  display: block;
  padding: 10px 15px;
  background: var(--bg-light);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.category-tag:hover,
.category-tag.active {
  background: var(--primary-color);
  color: var(--white);
}

/* CTA Widget */
.cta-widget {
  background: linear-gradient(135deg, var(--primary-color), #1565c0);
  color: var(--white);
}

.cta-widget h4 {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.3);
}

.cta-widget p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

/* Product Links */
.product-links {
  list-style: none;
}

.product-links li {
  margin-bottom: 12px;
}

.product-links a {
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-links a::before {
  content: '→';
  color: var(--primary-color);
}

.product-links a:hover {
  color: var(--primary-color);
}

/* Blog Post Page */
.blog-post {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.post-meta {
  display: flex;
  gap: 20px;
  padding: 25px 30px;
  background: var(--bg-light);
  font-size: 0.9rem;
  color: var(--text-light);
  flex-wrap: wrap;
}

.post-category {
  color: var(--primary-color);
  font-weight: 500;
}

.post-content {
  padding: 40px;
}

.post-content h2 {
  font-size: 1.8rem;
  margin: 35px 0 20px;
  color: var(--text-dark);
}

.post-content h2:first-child {
  margin-top: 0;
}

.post-content h3 {
  font-size: 1.3rem;
  margin: 25px 0 15px;
  color: var(--text-dark);
}

.post-content p {
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
  margin: 20px 0;
  padding-left: 25px;
}

.post-content li {
  margin-bottom: 10px;
  line-height: 1.7;
  color: var(--text-dark);
}

.post-content strong {
  color: var(--text-dark);
}

/* Post CTA */
.post-cta {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 30px;
  margin-top: 40px;
  text-align: center;
}

.post-cta h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.post-cta p {
  margin-bottom: 20px;
}

.post-cta a {
  display: inline-block;
}

/* Post Tags */
.post-tags {
  padding: 25px 40px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-label {
  color: var(--text-light);
  font-weight: 500;
}

.tag {
  background: var(--bg-light);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.tag:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Post Share */
.post-share {
  padding: 20px 40px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.post-share span {
  color: var(--text-light);
  font-weight: 500;
}

.share-link {
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.3s;
}

.share-link:hover {
  text-decoration: underline;
}

/* Related Products */
.related-posts {
  margin-top: 50px;
}

.related-posts h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.related-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

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

.related-card h4 {
  padding: 15px 15px 5px;
  color: var(--text-dark);
}

.related-card p {
  padding: 0 15px 15px;
  color: var(--primary-color);
  font-size: 0.9rem;
}

/* Blog Responsive */
@media (max-width: 992px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
  
  .blog-sidebar {
    position: static;
  }
  
  .blog-featured {
    grid-template-columns: 1fr;
  }
  
  .blog-featured .blog-card-image {
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  .product-categories {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .category-card img {
    height: 180px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .post-content {
    padding: 25px;
  }
  
  .post-meta {
    padding: 20px;
  }
  
  .post-tags,
  .post-share {
    padding: 20px;
  }
  
  /* Contact page two-column to single */
  .contact-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================
   ENHANCED MOBILE RESPONSIVE DESIGN
   ============================================ */

/* Extra small devices (phones, 480px and below) */
@media (max-width: 480px) {
  /* Reduce hero section padding */
  .hero {
    padding: 50px 0;
  }
  
  .hero h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }
  
  .hero p {
    font-size: 0.9rem;
    padding: 0 10px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    padding: 0 20px;
  }
  
  .hero-buttons .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  
  .badge {
    padding: 8px 15px;
    font-size: 0.8rem;
  }
  
  /* Section adjustments */
  .section {
    padding: 50px 0;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .section-title p {
    font-size: 0.95rem;
  }
  
  /* Product cards - single column on very small screens */
  .products-grid,
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .product-card img {
    height: 180px;
  }
  
  /* Category cards - single column */
  .product-categories {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .category-card img {
    height: 160px;
  }
  
  .category-card-content {
    padding: 15px;
  }
  
  .category-card h4 {
    font-size: 1rem;
  }
  
  .category-card p {
    font-size: 0.85rem;
  }
  
  .category-card ul {
    font-size: 0.85rem;
  }
  
  /* Stats grid - 2x2 on small mobile */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  
  .stat-item {
    padding: 15px 10px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  /* Blog grid - single column */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .blog-card-image {
    height: 180px;
  }
  
  /* About section - stack on mobile */
  .about-preview {
    flex-direction: column;
    gap: 30px;
  }
  
  .about-preview .about-text h2 {
    font-size: 1.4rem;
  }
  
  /* Footer - compact on mobile */
  .footer-grid {
    gap: 30px;
  }
  
  .footer-about h3 {
    font-size: 1.1rem;
  }
  
  .footer-about p,
  .footer-links a {
    font-size: 0.85rem;
  }
  
  .footer-bottom {
    font-size: 0.8rem;
  }
  
  /* WhatsApp button - adjust size and position */
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 15px;
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
  
  /* Product hero - smaller on mobile */
  .product-hero {
    padding: 40px 0;
  }
  
  .product-hero h1 {
    font-size: 1.6rem;
  }
  
  .product-hero p {
    font-size: 0.95rem;
    padding: 0 15px;
  }
  
  /* Contact section - stack */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-info,
  .contact-form {
    padding: 25px 20px;
  }
  
  .contact-info h3,
  .contact-form h3 {
    font-size: 1.3rem;
  }
  
  /* Inquiry box - mobile friendly */
  .inquiry-box {
    padding: 25px 20px;
  }
  
  .inquiry-box h3 {
    font-size: 1.2rem;
  }
  
  .inquiry-box p {
    font-size: 0.9rem;
  }
  
  .inquiry-box .btn {
    width: 100%;
    padding: 12px 20px;
  }
  
  /* Navigation - larger touch targets */
  nav ul li a {
    padding: 12px 0;
    font-size: 1rem;
  }
  
  .mobile-menu-btn {
    padding: 12px;
  }
  
  /* Page header */
  .page-header {
    padding: 40px 0;
  }
  
  .page-header h1 {
    font-size: 1.6rem;
  }
  
  .page-header p {
    font-size: 0.95rem;
  }
  
  /* Breadcrumb */
  .breadcrumb {
    padding: 12px 0;
    font-size: 0.85rem;
  }
  
  .breadcrumb-container {
    padding: 0 15px;
  }
  
  /* Form elements - larger touch targets */
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 14px 12px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .form-group label {
    font-size: 0.95rem;
  }
  
  /* CTA section - mobile friendly */
  .cta-section {
    padding: 50px 0;
  }
  
  .cta-section h2 {
    font-size: 1.5rem;
  }
  
  .cta-section p {
    font-size: 0.95rem;
  }
  
  .contact-methods {
    flex-direction: column;
    gap: 12px;
  }
  
  .contact-item {
    font-size: 0.95rem;
    padding: 10px 15px;
  }
  
  .cta-section .btn-white {
    width: 100%;
    padding: 14px 25px;
  }
  
  /* Feature grid */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* About content grid */
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-text h3 {
    font-size: 1.3rem;
  }
  
  /* Post content adjustments */
  .post-content {
    padding: 20px 15px;
  }
  
  .post-content h1 {
    font-size: 1.5rem;
  }
  
  .post-content h2 {
    font-size: 1.3rem;
  }
  
  .post-content p {
    font-size: 0.95rem;
  }
  
  /* Container padding */
  .container {
    padding: 0 15px;
  }
}

/* Improve tap highlight and scrolling on mobile */
@media (hover: none) and (pointer: coarse) {
  /* Better touch feedback */
  a, button, .btn {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }
  
  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Prevent text size adjustment on orientation change */
  html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }
}

/* Landscape phone adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 30px 0;
  }
  
  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  
  .hero-buttons {
    flex-direction: row;
    gap: 15px;
  }
}

/* Ensure images don't overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Fix for very long words */
* {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Better scrollbar on mobile */
@media (max-width: 768px) {
  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
  }
  
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
}

