/* ============================================
   HOME PAGE - MODERN DESIGN
   Clean & Professional Layout
============================================ */

:root {
  --primary: #2563eb;
  --secondary: #64748b;
  --dark: #1e293b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ============================================
   HERO CAROUSEL
============================================ */
.home-hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.hero-slides {
  position: relative;
  width: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hero-link {
  display: block;
  width: 100%;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 85vh;
}

/* Hero Controls */
.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-control:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

.hero-indicators {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.hero-indicator:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.hero-indicator.active {
  width: 35px;
  border-radius: 5px;
  background: #fff;
  border-color: #fff;
}

/* ============================================
   FEATURES SECTION
============================================ */
.home-features-section {
  background: #fff;
  padding: 50px 0;
  position: relative;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border-radius: 16px;
  overflow: hidden;
}

.feature-item {
  background: #fff;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s;
  border-right: 1px solid var(--border);
}

.feature-item:last-child {
  border-right: none;
}

.feature-item:hover {
  background: var(--light);
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  flex-shrink: 0;
}

.feature-icon-blue {
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
}

.feature-icon-green {
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
}

.feature-icon-orange {
  background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%);
}

.feature-icon-purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.feature-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 5px 0;
}

.feature-content p {
  font-size: 13px;
  color: var(--secondary);
  margin: 0;
  line-height: 1.4;
}

/* ============================================
   SECTION COMMON STYLES
============================================ */
.home-categories-section,
.home-products-section,
.home-articles-section {
  padding: 80px 0;
}

.home-categories-section {
  background: #fff;
}

.home-products-section {
  background: #fff;
}

.home-articles-section {
  background: #fff;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  gap: 20px;
}

.section-title-wrapper {
  flex: 1;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 16px;
  color: var(--secondary);
  margin: 0;
  line-height: 1.6;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
  white-space: nowrap;
}

.section-link:hover {
  background: #1e40af;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   CATEGORIES LIST
============================================ */
.categories-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Desktop: 3 columns for wider screens */
@media (min-width: 1200px) {
  .categories-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.category-item {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.category-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: currentColor;
}

.category-item:hover::before {
  opacity: 1;
}

.category-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.category-item:hover .category-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.category-content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.category-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 5px 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-desc {
  font-size: 14px;
  margin: 0;
  opacity: 0.8;
  white-space: nowrap;
}

.category-arrow-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.category-item:hover .category-arrow-icon {
  transform: translateX(5px);
}

/* Category Color Themes */
.category-blue {
  color: #2563eb;
}

.category-blue .category-icon-wrapper {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #2563eb;
}

.category-blue .category-arrow-icon {
  background: #eff6ff;
  color: #2563eb;
}

.category-green {
  color: #10b981;
}

.category-green .category-icon-wrapper {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #10b981;
}

.category-green .category-arrow-icon {
  background: #ecfdf5;
  color: #10b981;
}

.category-orange {
  color: #f59e0b;
}

.category-orange .category-icon-wrapper {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #f59e0b;
}

.category-orange .category-arrow-icon {
  background: #fffbeb;
  color: #f59e0b;
}

.category-purple {
  color: #8b5cf6;
}

.category-purple .category-icon-wrapper {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  color: #8b5cf6;
}

.category-purple .category-arrow-icon {
  background: #f5f3ff;
  color: #8b5cf6;
}

.category-red {
  color: #ef4444;
}

.category-red .category-icon-wrapper {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #ef4444;
}

.category-red .category-arrow-icon {
  background: #fef2f2;
  color: #ef4444;
}

.category-teal {
  color: #14b8a6;
}

.category-teal .category-icon-wrapper {
  background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
  color: #14b8a6;
}

.category-teal .category-arrow-icon {
  background: #f0fdfa;
  color: #14b8a6;
}

/* ============================================
   PRODUCTS GRID
============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Responsive breakpoints for products grid */
/* Tablet: 2 columns (768px - 1199px) */
@media (max-width: 1199.98px) and (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

/* Mobile: 2 columns (< 768px) for better space usage */
@media (max-width: 767.98px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

.product-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.product-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-image-wrapper {
  position: relative;
  padding-top: 75%;
  overflow: hidden;
  background: #fff;
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-item:hover .product-image {
  transform: scale(1.1);
}

.product-no-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: #cbd5e1;
}

.product-overlay-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.85) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.product-item:hover .product-overlay-hover {
  opacity: 1;
}

.product-overlay-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #fff;
  color: var(--dark);
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transform: translateY(20px);
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-overlay-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(0) scale(1.05);
}

.product-item:hover .product-overlay-btn {
  transform: translateY(0);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-info {
  padding: 20px;
}

.product-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 10px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-desc {
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   ABOUT SECTION
============================================ */
.home-about-section {
  padding: 80px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.about-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-text {
  font-size: 16px;
  color: var(--secondary);
  line-height: 1.8;
  margin-bottom: 35px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 35px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--secondary);
}

.about-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s;
}

.about-btn-primary {
  background: var(--primary);
  color: #fff;
}

.about-btn-primary:hover {
  background: #1e40af;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.about-btn-secondary {
  background: var(--light);
  color: var(--dark);
  border: 2px solid var(--border);
}

.about-btn-secondary:hover {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary);
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.about-image-decoration {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  border-radius: 20px;
  z-index: -1;
}

/* ============================================
   ARTICLES GRID
============================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Desktop: 3 columns for wider screens */
@media (min-width: 1200px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.article-image {
  position: relative;
  padding-top: 60%;
  overflow: hidden;
  background: var(--light);
}

.article-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.article-card:hover .article-image img {
  transform: scale(1.1);
}

.article-no-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  color: #cbd5e1;
}

.article-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  margin-bottom: 15px;
}

.article-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--secondary);
}

.article-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 12px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-summary {
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.6;
  margin: 0 0 15px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  margin-top: auto;
}

.article-card:hover .article-read-more {
  gap: 10px;
}

/* ============================================
   CTA SECTION
============================================ */
.home-cta-section {
  position: relative;
  padding: 80px 0;
  background-image: url("https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Disable parallax on mobile/tablet for better performance */
@media (max-width: 1024px) {
  .home-cta-section {
    background-attachment: scroll;
  }
}

/* Disable parallax on mobile/tablet for better performance */
@media (max-width: 1024px) {
  .home-cta-section {
    background-attachment: scroll;
  }
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.9) 0%,
    rgba(30, 41, 59, 0.95) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s;
}

.cta-btn-primary {
  background: #fff;
  color: var(--primary);
}

.cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.cta-btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(10px);
}

.cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   RESPONSIVE
============================================ */

/* Tablet (768px - 991px) */
@media (max-width: 991.98px) {
  .home-hero-carousel {
    /* no min-height needed */
  }

  .hero-image {
    max-height: 70vh;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 14px;
  }

  .feature-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 26px;
    gap: 18px;
  }

  .feature-item:nth-child(2n) {
    border-right: none;
  }

  .feature-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 11px;
    font-size: 26px;
  }

  .feature-content h3 {
    font-size: 15px;
    margin-bottom: 5px;
  }

  .feature-content p {
    font-size: 13px;
  }

  /* Section common styles for tablet */
  .home-categories-section,
  .home-products-section,
  .home-articles-section {
    padding: 60px 0;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 20px;
  }

  .section-title {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .section-link {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* Tablet: 2 columns for categories */
  .categories-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .category-item {
    padding: 22px;
    gap: 18px;
  }

  .category-icon-wrapper {
    width: 65px;
    height: 65px;
    font-size: 30px;
  }

  .category-title {
    font-size: 17px;
  }

  .category-desc {
    font-size: 13px;
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    height: 400px;
  }

  .about-title {
    font-size: 32px;
  }

  .about-text {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-label {
    font-size: 13px;
  }
}

@media (max-width: 767.98px) {
  .home-hero-carousel {
    /* no min-height needed */
  }

  .hero-image {
    max-height: 55vh;
    object-fit: cover;
  }

  .hero-control {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .hero-prev {
    left: 10px;
  }

  .hero-next {
    right: 10px;
  }

  .hero-indicators {
    bottom: 15px;
    gap: 8px;
  }

  .hero-indicator {
    width: 8px;
    height: 8px;
  }

  .hero-indicator.active {
    width: 25px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    border-right: none;
  }

  .home-categories-section,
  .home-products-section,
  .home-articles-section {
    padding: 50px 0;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
  }

  .section-link {
    width: 100%;
    justify-content: center;
  }

  /* Mobile: 1 column for categories */
  .categories-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .category-item {
    padding: 20px;
    gap: 16px;
  }

  .category-icon-wrapper {
    width: 60px;
    height: 60px;
    font-size: 28px;
    border-radius: 14px;
  }

  .category-title {
    font-size: 16px;
    white-space: normal;
  }

  .category-desc {
    font-size: 13px;
  }

  .category-arrow-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  /* Products Section - Mobile optimization (2 columns) */
  .product-item {
    border-radius: 12px;
  }

  .product-image-wrapper {
    height: 180px;
  }

  .product-info {
    padding: 12px;
  }

  .product-name {
    font-size: 14px;
    margin: 0 0 6px 0;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    font-weight: 600;
  }

  .product-desc {
    font-size: 12px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    margin-bottom: 0;
  }

  .product-badge {
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    font-size: 10px;
    border-radius: 6px;
  }

  .product-overlay-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .product-overlay-btn i {
    font-size: 14px;
  }

  /* Articles - Mobile: 2 columns for compact display */
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .article-card {
    border-radius: 12px;
  }

  .article-image {
    padding-top: 65%;
    border-radius: 12px 12px 0 0;
  }

  .article-no-image {
    font-size: 36px;
  }

  .article-content {
    padding: 14px;
  }

  .article-meta {
    margin-bottom: 8px;
  }

  .article-date {
    font-size: 11px;
  }

  .article-title {
    font-size: 14px;
    margin: 0 0 8px 0;
    line-height: 1.4;
    -webkit-line-clamp: 2;
  }

  .article-summary {
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 10px 0;
    -webkit-line-clamp: 2;
  }

  .article-read-more {
    font-size: 12px;
  }

  /* About section mobile optimization */
  .home-about-section {
    padding: 40px 0;
  }

  .about-grid {
    gap: 30px;
  }

  .about-badge {
    font-size: 12px;
    padding: 6px 12px;
    margin-bottom: 15px;
  }

  .about-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .about-text {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
  }

  .about-image img {
    height: 280px;
  }

  .about-image-decoration {
    width: 100px;
    height: 100px;
    top: 15px;
    right: 15px;
  }

  /* Stats: 2 columns on mobile for better space usage */
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 15px;
    margin-bottom: 25px;
  }

  .stat-item:last-child {
    grid-column: 1 / -1;
  }

  .stat-number {
    font-size: 32px;
    margin-bottom: 6px;
  }

  .stat-label {
    font-size: 13px;
  }

  .about-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .about-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
  }

  /* CTA Section - Tablet */
  .home-cta-section {
    padding: 60px 0;
  }

  .cta-title {
    font-size: 36px;
    margin-bottom: 18px;
  }

  .cta-text {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .cta-buttons {
    gap: 12px;
  }

  .cta-btn {
    padding: 14px 28px;
    font-size: 15px;
  }

  /* CTA Section - Mobile optimization */
  .home-cta-section {
    padding: 50px 0;
  }

  .cta-content {
    padding: 0 10px;
  }

  .cta-title {
    font-size: 26px;
    margin-bottom: 15px;
    line-height: 1.3;
  }

  .cta-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 0 10px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
    padding: 0 10px;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
    border-radius: 10px;
  }

  .cta-btn i {
    font-size: 18px;
  }
}
