/* ===========================================
   MODERN MINIMALIST PRODUCT SHOWCASE
   Clean, Unique & Contemporary Design
   VERSION 2.0 - Updated Colors
   =========================================== */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  overflow-x: hidden;
}

/* ===========================================
   MODERN SHOWCASE LAYOUT
   =========================================== */
.modern-showcase {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* ===========================================
   ENHANCED HERO SECTION
   =========================================== */
.enhanced-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #00aeca 0%, #0891b2 25%, #0e7490 50%, #155e75 75%, #1e293b 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(0, 174, 202, 0.2) 0%, 
    rgba(8, 145, 178, 0.3) 25%,
    rgba(14, 116, 144, 0.2) 50%, 
    rgba(21, 94, 117, 0.3) 75%,
    rgba(30, 41, 59, 0.4) 100%);
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(0, 174, 202, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(8, 145, 178, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(14, 116, 144, 0.08) 0%, transparent 50%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero-visual {
  order: -1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-badge i {
  font-size: 1rem;
}

.hero-main-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.hero-description {
  font-size: var(--text-lg);
  color: white !important;
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 500px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 500;
  animation: fadeInUp 1.2s ease-out 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.btn-primary {
  background: #00aeca;
  color: white;
  border: 2px solid #00aeca;
}

.btn-primary:hover {
  background: #0891b2;
  border-color: #0891b2;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 174, 202, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-bottom: 2rem;
}

/* RTL support for hero stats - center alignment in Arabic */
[dir="rtl"] .hero-stats {
  justify-content: center;
  text-align: center;
  flex-direction: row;
  align-items: center;
}

[dir="rtl"] .stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

[dir="rtl"] .stat .number {
  text-align: center;
}

[dir="rtl"] .stat .label {
  text-align: center;
}

/* Additional RTL support for hero stats centering */
body[dir="rtl"] .hero-stats {
  justify-content: center !important;
  text-align: center !important;
  flex-direction: row !important;
  align-items: center !important;
}

body[dir="rtl"] .stat {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

body[dir="rtl"] .stat .number {
  text-align: center !important;
}

body[dir="rtl"] .stat .label {
  text-align: center !important;
}

.stat {
  text-align: center;
}

.stat .number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 174, 202, 0.3);
}

.stat .label {
  font-size: 0.9rem;
  color: #cbd5e1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-visual {
  position: relative;
  height: 400px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}

.floating-card {
  position: relative;
  background: linear-gradient(135deg, #00aeca, #0891b2);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 174, 202, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  width: calc(50% - 0.5rem);
  max-width: 200px;
  min-height: 140px;
  animation: float 6s ease-in-out infinite;
}

.energy-card {
  animation-delay: 0s;
}

.utilities-card {
  animation-delay: 1.5s;
}

.support-card {
  animation-delay: 3s;
}

.quality-card {
  animation-delay: 4.5s;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.card-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.card-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ===========================================
   CATEGORY NAVIGATION
   =========================================== */
.category-nav {
  background: white;
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.nav-tab {
  background: transparent;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #64748b;
}

.nav-tab:hover {
  border-color: #00aeca;
  color: #00aeca;
  transform: translateY(-2px);
}

.nav-tab.active {
  background: #00aeca;
  border-color: #00aeca;
  color: white;
}

.nav-tab i {
  font-size: 1rem;
}

/* ===========================================
   PRODUCTS SHOWCASE
   =========================================== */
.products-showcase {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  text-align: center;
  position: relative;
  animation: fadeInUp 0.8s ease-out;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00aeca, #0891b2);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

/* ===========================================
   MODULAR FLEXBOX LAYOUT
   =========================================== */
.masonry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.product-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 174, 202, 0.1);
  display: flex;
  flex-direction: column;
}

/* Card Sizes - Modular Flexbox Layout */
.product-card.large {
  flex: 0 0 calc(50% - 0.75rem);
  min-height: 300px;
}

.product-card.medium {
  flex: 0 0 calc(33.333% - 1rem);
  min-height: 250px;
}

.product-card.small {
  flex: 0 0 calc(25% - 1.125rem);
  min-height: 200px;
}

/* Priority Products - Featured Layout */
.product-card.priority {
  flex: 0 0 calc(50% - 0.75rem);
  min-height: 350px;
  border: 2px solid #00aeca;
  box-shadow: 0 8px 30px rgba(0, 174, 202, 0.2);
  order: -1; /* Move priority cards to top */
}

/* Alternative Layout for Priority Cards */
.product-card.priority.featured {
  flex: 0 0 calc(66.666% - 1rem);
  min-height: 300px;
}

.product-card.priority.secondary {
  flex: 0 0 calc(33.333% - 1rem);
  min-height: 300px;
}

/* Special styling for priority cards */
.product-card.priority .card-overlay {
  background: linear-gradient(135deg, rgba(0, 174, 202, 0.95), rgba(8, 145, 178, 0.9));
}

.product-card.priority .overlay-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.product-card.priority .overlay-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.product-card.priority .features {
  gap: 0.75rem;
}

.product-card.priority .features span {
  background: rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Card Images */
.card-image {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 174, 202, 0.9), rgba(30, 41, 59, 0.8));
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.overlay-content {
  text-align: center;
  color: white;
}

.overlay-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.overlay-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.features span {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

/* Category Colors */
.product-card.energy {
  border-top: 4px solid #00aeca;
}

.product-card.utilities {
  border-top: 4px solid #1e293b;
}

/* ===========================================
   TRUST SECTION
   =========================================== */
.trust-section {
  background: #f8fafc;
  padding: 4rem 0;
  margin: 4rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.trust-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 174, 202, 0.1);
}

.trust-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 174, 202, 0.15);
}

.trust-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00aeca, #1e293b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
  position: relative;
}

.trust-icon i {
  font-size: 1.5rem;
  color: white;
  display: inline-block;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  line-height: 1;
}

/* Ensure Font Awesome icons load properly */
.trust-icon i.fas:before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

/* Fallback text for missing icons */
.trust-icon i.fas.fa-certificate:before { content: "\f0a3"; }
.trust-icon i.fas.fa-tools:before { content: "\f7d9"; }
.trust-icon i.fas.fa-shield-alt:before { content: "\f3ed"; }
.trust-icon i.fas.fa-dollar-sign:before { content: "\f155"; }

.trust-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.trust-item p {
  color: #64748b;
  line-height: 1.6;
}

/* ===========================================
   CTA SECTION
   =========================================== */
.cta-section {
  background: linear-gradient(135deg, #00aeca, #1e293b);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  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;
}

.btn-primary, .btn-secondary {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: white;
  color: #00aeca;
  border: 2px solid white;
}

.btn-primary:hover {
  background: transparent;
  color: white;
  border-color: white;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #00aeca;
  transform: translateY(-2px);
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */
/* ===========================================
   TABLET RESPONSIVE (1024px and below)
   =========================================== */
@media (max-width: 1024px) {
  .enhanced-hero {
    min-height: 70vh;
    padding: 1.5rem 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 0 1.5rem;
  }
  
  .hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }
  
  .hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
  }
  
  .hero-visual {
    height: auto;
    min-height: 300px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .floating-card {
    position: relative;
    margin: 0;
    padding: 1.25rem;
    width: calc(50% - 0.5rem);
    max-width: 180px;
    min-height: 120px;
  }
  
  .hero-stats {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
  
  .masonry-grid {
    max-width: 900px;
    gap: 1.25rem;
  }
  
  .product-card.large,
  .product-card.priority.featured {
    flex: 0 0 calc(50% - 0.625rem);
    min-height: 280px;
  }
  
  .product-card.priority.secondary {
    flex: 0 0 calc(50% - 0.625rem);
    min-height: 280px;
  }
  
  .product-card.medium {
    flex: 0 0 calc(50% - 0.625rem);
    min-height: 230px;
  }
  
  .product-card.small {
    flex: 0 0 calc(50% - 0.625rem);
    min-height: 180px;
  }
  
  .section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
  
  .section-header p {
    font-size: 1rem;
  }
}

/* ===========================================
   MOBILE RESPONSIVE (768px and below)
   =========================================== */
@media (max-width: 768px) {
  .enhanced-hero {
    min-height: 60vh;
    padding: 1rem 0;
  }
  
  .hero-content {
    padding: 0 1rem;
    gap: 1.5rem;
  }
  
  .hero-text h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 1rem;
  }
  
  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-stats {
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .stat .number {
    font-size: 1.8rem;
  }
  
  .stat .label {
    font-size: 0.8rem;
  }
  
  .hero-visual {
    height: auto;
    min-height: 200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
  }
  
  .floating-card {
    position: relative;
    margin: 0;
    padding: 1rem;
    width: calc(50% - 0.375rem);
    max-width: 150px;
    min-height: 120px;
  }
  
  .card-content h3 {
    font-size: 0.9rem;
  }
  
  .card-content p {
    font-size: 0.75rem;
  }
  
  .card-icon {
    width: 40px;
    height: 40px;
  }
  
  .card-icon i {
    font-size: 1.2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 280px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .nav-tabs {
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .nav-tab {
    justify-content: center;
    padding: 0.75rem 1rem;
  }
  
  .section-header {
    margin-bottom: 1.5rem;
  }
  
  .section-header h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 0.5rem;
  }
  
  .section-header p {
    font-size: 0.9rem;
  }
  
  .masonry-grid {
    gap: 1rem;
    max-width: 100%;
    flex-direction: column;
    padding: 0 1rem;
  }
  
  .product-card.large,
  .product-card.priority.featured,
  .product-card.priority.secondary {
    flex: 0 0 100%;
    min-height: 220px;
  }
  
  .product-card.medium {
    flex: 0 0 100%;
    min-height: 180px;
  }
  
  .product-card.small {
    flex: 0 0 100%;
    min-height: 160px;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .trust-item {
    padding: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

/* ===========================================
   SMALL MOBILE RESPONSIVE (480px and below)
   =========================================== */
@media (max-width: 480px) {
  .enhanced-hero {
    min-height: 50vh;
    padding: 0.75rem 0;
  }
  
  .hero-content {
    padding: 0 0.75rem;
    gap: 1rem;
  }
  
  .hero-text h1 {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
    margin-bottom: 0.75rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .hero-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .stat .number {
    font-size: 1.5rem;
  }
  
  .stat .label {
    font-size: 0.75rem;
  }
  
  .hero-visual {
    height: auto;
    min-height: 180px;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  
  .floating-card {
    position: relative;
    padding: 0.75rem;
    width: calc(50% - 0.25rem);
    max-width: 130px;
    min-height: 100px;
  }
  
  .card-content h3 {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
  }
  
  .card-content p {
    font-size: 0.7rem;
  }
  
  .card-icon {
    width: 35px;
    height: 35px;
  }
  
  .card-icon i {
    font-size: 1rem;
  }
  
  .btn-primary, .btn-secondary {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    max-width: 250px;
  }
  
  .nav-tabs {
    gap: 0.25rem;
    margin-bottom: 1rem;
  }
  
  .nav-tab {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .section-header {
    margin-bottom: 1rem;
  }
  
  .section-header h2 {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
    margin-bottom: 0.25rem;
  }
  
  .section-header p {
    font-size: 0.85rem;
  }
  
  .masonry-grid {
    gap: 0.75rem;
    padding: 0 0.75rem;
  }
  
  .product-card.large,
  .product-card.priority.featured,
  .product-card.priority.secondary {
    min-height: 200px;
  }
  
  .product-card.medium {
    min-height: 160px;
  }
  
  .product-card.small {
    min-height: 140px;
  }
  
  .trust-item {
    padding: 1rem;
  }
  
  .trust-item h3 {
    font-size: 1rem;
  }
  
  .trust-item p {
    font-size: 0.85rem;
  }
  
  .cta-buttons {
    gap: 0.75rem;
  }
}

/* ===========================================
   TOUCH AND ACCESSIBILITY IMPROVEMENTS
   =========================================== */
@media (max-width: 768px) {
  /* Improve touch targets */
  .nav-tab,
  .btn-primary,
  .btn-secondary,
  .floating-card {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Better touch feedback */
  .nav-tab:active,
  .btn-primary:active,
  .btn-secondary:active {
    transform: scale(0.98);
  }
  
  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }
  
  /* Improve text readability */
  .hero-description,
  .section-header p {
    line-height: 1.6;
  }
  
  /* Better spacing for touch devices */
  .hero-actions {
    margin-top: 1rem;
  }
  
  .masonry-grid {
    margin-bottom: 2rem;
  }
}

/* ===========================================
   LANDSCAPE ORIENTATION OPTIMIZATION
   =========================================== */
@media (max-width: 768px) and (orientation: landscape) {
  .enhanced-hero {
    min-height: 100vh;
  }
  
  .hero-visual {
    height: auto;
    min-height: 200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
  }
  
  .floating-card {
    position: relative;
    width: calc(25% - 0.5rem);
    max-width: 120px;
    min-height: 80px;
    padding: 0.75rem;
  }
  
  .hero-stats {
    flex-direction: row;
    gap: 1rem;
  }
}


/* ===========================================
   ANIMATIONS AND INTERACTIONS
   =========================================== */
.product-card {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
.nav-tab:focus,
.btn-primary:focus,
.btn-secondary:focus {
  outline: 2px solid #00aeca;
  outline-offset: 2px;
}

/* Loading states */
.product-card img {
  transition: opacity 0.3s ease;
}

.product-card img[loading="lazy"] {
  opacity: 0;
}

.product-card img.loaded {
  opacity: 1;
}

/* ===========================================
   CONTAINER STYLES
   =========================================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===========================================
   LOGO STYLES
   =========================================== */
.logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* ===========================================
   HEADER STYLES
   =========================================== */
header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: #1e293b;
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: transparent;
  position: relative;
  font-size: 0.95rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

nav a:hover {
  background: rgba(0, 174, 202, 0.1);
  color: #00aeca;
  transform: translateY(-1px);
  text-shadow: 0 2px 4px rgba(0, 174, 202, 0.2);
}

nav a.active {
  background: rgba(0, 174, 202, 0.15);
  color: #0891b2;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 174, 202, 0.3);
}

/* ===========================================
   CATEGORY SECTIONS
   =========================================== */
.category-section {
  padding: 4rem 0;
  background: #ffffff;
}

.category-section:nth-child(even) {
  background: #f8fafc;
}

/* ===========================================
   FOOTER STYLES
   =========================================== */
footer {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: #00aeca;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section p,
.footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #00aeca;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 1.5rem;
  text-align: center;
  color: #94a3b8;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}


/* ===========================================
   MOBILE/TABLET RESPONSIVE LAYOUT
   =========================================== */

/* Hero layout for mobile and tablet */
@media (max-width: 1024px) {
  .hero-content {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-visual {
    order: 2;
    margin-top: 2rem;
  }
  
  .hero-text {
    order: 1;
  }
  
  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Sticky search and categories for mobile/tablet */
@media (max-width: 1024px) {
  .category-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  
  .nav-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    justify-content: center;
  }
  
  .nav-tab {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-tab i {
    margin-right: 0.5rem;
  }
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
  .hero-content {
    padding: 1rem;
  }
  
  .hero-main-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .hero-stats {
    gap: 1.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .floating-card {
    width: calc(50% - 0.5rem);
    min-height: 120px;
  }
  
  .nav-tabs {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }
  
  .nav-tab {
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
    min-height: 40px;
  }
  
  .nav-tab i {
    font-size: 0.8rem;
    margin-right: 0.3rem;
  }
}

/* Tablet specific adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
  .nav-tabs {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  
  .nav-tab {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  
  .floating-card {
    width: calc(50% - 0.5rem);
    min-height: 140px;
  }
}

/* Responsive footer */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-content {
    padding: 0 1rem;
  }
}
