﻿:root {
  /* Core Palette - Professional Medical Blue */
  --bg-dark: #f8fafc; /* Slate 50 */
  --bg-deep: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.95);
  --bg-glass-strong: rgba(255, 255, 255, 0.98);
  
  /* Footer Background - Deep Navy */
  --bg-footer: #0f172a; /* Slate 900 */
  
  /* Accents */
  --primary: #0ea5e9; /* Sky Blue 500 - Standard Medical Blue */
  --primary-dark: #0284c7; /* Sky Blue 600 */
  --primary-glow: rgba(14, 165, 233, 0.3);
  
  --accent: #10b981; /* Emerald Green 500 - Health/Success */
  --accent-glow: rgba(16, 185, 129, 0.3);
  
  --accent-gold: #f59e0b; /* Amber 500 */
  --accent-gold-glow: rgba(245, 158, 11, 0.4);
  
  /* Text */
  --text-main: #0f172a; /* Slate 900 */
  --text-muted: #64748b; /* Slate 500 */
  --text-highlight: #0369a1; /* Sky Blue 700 */
  --text-footer: #cbd5e1; /* Slate 300 */

  /* Borders & Effects */
  --border-glass: rgba(14, 165, 233, 0.2);
  --border-glow: rgba(14, 165, 233, 0.5);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  
  --font-main: 'Cairo', sans-serif;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: #020617; /* Matches footer to hide bottom white space */
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* Pushes footer to bottom */
}

/* ... existing styles ... */

@keyframes floatingArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Custom Scrollbar - Premium */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 6px;
  border: 3px solid #f8fafc;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary); /* Blue on hover */
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Typography Base */
body {
    font-size: 1.05rem; /* Better readability */
    line-height: 1.6;
}

/* Utility Classes */
.mt-auto { margin-top: auto; }
.products-view-all { margin-top: 40px; }
.social-links-card { margin-top: 25px; }

.container {
  width: min(1320px, 90%); /* Slightly wider for premium feel */
  margin: 0 auto;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.title-highlight {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; /* Ensure text is white */
  padding: 5px 25px;
  border-radius: 50px; /* Pill shape */
  box-shadow: 0 4px 15px var(--primary-glow);
  display: inline-block;
  -webkit-text-fill-color: #fff; /* Override gradient text clip if present on parent */
}

.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
}

.center {
  display: flex;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn.primary:hover {
  box-shadow: 0 6px 20px var(--primary-glow);
  transform: translateY(-2px);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.btn.ghost:hover {
  background: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  color: var(--primary);
}

.btn.ghost.dark {
    background: #fff;
    color: var(--primary-dark);
    border: 1px solid rgba(0,0,0,0.05);
}
.btn.ghost.dark:hover {
    background: #f8fafc;
    border-color: var(--primary);
}


/* Header */
.site-header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 0 20px;
}

.nav {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(224, 242, 254, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-full);
  padding: 10px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1);
  max-width: 1280px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.nav-links {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0 auto; /* Center the links */
}

.nav-links li {
    list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-dark);
  background: rgba(14, 165, 233, 0.1);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-dark);
  background: none;
  border: none;
  cursor: pointer;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  background: #f0f9ff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loaded .preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 10px;
  animation: pulseLogo 1.5s infinite ease-in-out;
}

.loader-text {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary-dark);
  letter-spacing: 1px;
}

@keyframes pulseLogo {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

/* Hero Section */
.hero {
  min-height: 75vh; /* Reduced from 100vh */
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  padding-bottom: 60px; /* Add padding for balance */
  overflow: hidden;
  background-color: var(--primary); /* Fallback */
  
  /* Uploaded Blue Medical Image */
  background-image: url('assets/images/hero-new.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll; /* Fixed often causes issues on mobile, scroll is safer */
}

/* Blue Gradient Overlay for Text Readability */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Darker Shadow/Gradient */
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.6) 100%);
  z-index: 1;
}

.hero::after {
  content: none;
}

.hero-overlay { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: right;
  max-width: 800px;
}

/* Update Text Colors for Dark Overlay */
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff; /* White text on dark blue */
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9); /* White text */
  margin-bottom: 32px;
  max-width: 600px;
}

/* Hero Badge - Glitch/Glow Glass */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: var(--radius-full);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-badge i {
  color: var(--primary);
  filter: drop-shadow(0 0 5px var(--primary-glow));
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Enhanced Primary Button in Hero */
.hero .btn.primary {
  padding: 16px 32px;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
}

.hero .btn.primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(14, 165, 233, 0.5);
}

/* Glass Ghost Button for Hero */
.hero .btn.ghost {
  padding: 16px 32px;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-4px) scale(1.02);
  color: #fff;
}

/* Trust items as Modern Glass Cards */
.hero-trust {
  margin-top: 50px;
  display: flex;
  gap: 20px;
  padding-top: 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.trust-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.trust-item i {
  color: var(--primary);
  font-size: 1.1rem;
  filter: drop-shadow(0 0 5px var(--primary-glow));
}

/* Sections */
.section {
  padding: 80px 0;
  position: relative;
}

.section.alt {
    background: transparent;
    border: none;
}

.section-head {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-head h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--primary-dark); 
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Cards (Light Glass) */
.grid-2, .grid-3 {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { 
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Stats Section */
.stats-section {
  background: #f8fafc;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 60px 0;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 5px;
  line-height: 1;
}

.stat-item p {
  color: var(--text-muted);
  font-weight: 700;
  margin: 0;
}

@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    
}

@media (max-width: 576px) {
    
}

.card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: #f8fafc;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: #fff;
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.t-stars {
  color: #fbbf24;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.t-text {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 24px;
  line-height: 1.6;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-avatar {
  width: 50px;
  height: 50px;
  background: var(--bg-deep);
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.t-author h4 {
  font-size: 1rem;
  margin: 0;
  color: var(--primary-dark);
}

.t-author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.card .icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  border: 1px solid rgba(14, 165, 233, 0.1);
  transition: var(--transition);
}

.card:hover .icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(5deg);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.link {
  color: var(--primary-dark);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.link i {
  transition: transform 0.3s;
}

.card:hover .link i {
  transform: translateX(-4px);
}

/* Product Card Content */
.product-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.4;
}

.product-title a {
  color: var(--text-main);
  transition: var(--transition);
}

.product-title a:hover {
  color: var(--primary);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.product-meta .price {
  color: var(--primary-dark);
  font-weight: 700;
  margin-right: auto; /* Push to left in RTL */
  font-size: 1rem;
}

/* Badge (Missing) */
.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 4px 10px var(--accent-glow);
  z-index: 2;
}

.product-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.product-actions .btn {
  flex: 1;
  padding: 8px 12px;
  font-size: 0.9rem;
}

/* Creative Product Card - Leaf Shape & High-End Effects */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* Phase 2: Creative Product Card Refinements */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 35px;
  padding: 20px 0;
}

.product-card {
  background: #fff;
  border: 2.5px solid rgba(14, 165, 233, 0.5); /* Stronger Light Blue Border */
  border-radius: 40px 10px 40px 10px; /* Creative Asymmetric Leaf Shape */
  padding: 22px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

/* Shine Effect Disabled Site-Wide */
.product-card::before {
  display: none !important;
}

/* Decorative Watermark Background Disabled Site-Wide */
.product-card::after {
  display: none !important;
}

.product-card:hover {
  border: 2.5px solid var(--primary-dark); /* Stronger Hover Border */
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
  transform: none !important; /* Static Hover */
}

/* Shine Hover Logic Removed */

/* Watermark Hover Logic Removed */

.product-thumb {
  width: 100%;
  aspect-ratio: 1.1;
  border-radius: 30px 10px 30px 10px; /* Matching Inner Shape */
  overflow: hidden;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  border: 1px solid rgba(14, 165, 233, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: fill; /* Force fill the entire square without cropping */
  padding: 0;
  transition: none !important;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.05));
}

/* Image Hover Transform Disabled Site-Wide */
.product-card:hover .product-thumb img {
  transform: none !important;
}

/* Creative Floating Badge */
.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #10b981, #059669); /* Health Green Gradient */
  color: #fff;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 800;
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
  z-index: 10;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: none !important; /* Animation Disabled Site-Wide */
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.product-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.product-title {
  margin: 0 0 14px;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.4;
  color: var(--primary-dark);
  transition: color 0.3s;
}

.product-card:hover .product-title {
  color: var(--primary);
}

/* Removed redundant specific section overrides as they are now global */

/* Glassmorphism Meta Section */
.product-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 25px;
  padding: 15px;
  background: rgba(14, 165, 233, 0.04);
  backdrop-filter: blur(5px);
  border-radius: 16px;
  border: 1px solid rgba(14, 165, 233, 0.1);
  transition: all 0.4s ease;
}

.product-card:hover .product-meta {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.2);
  transform: scale(1.02);
}

.product-meta .muted {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.product-meta .muted i {
  color: var(--primary);
}

.product-meta .price {
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 1.15rem;
  margin-top: 5px;
  display: block;
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.product-actions .btn {
  flex: 1;
  padding: 12px;
  font-size: 0.95rem;
  border-radius: 16px;
  transition: all 0.3s;
}

.product-actions .btn i {
  transition: transform 0.3s;
}

.product-actions .btn:hover i {
  transform: translateX(-4px) scale(1.2);
}

.product-actions .btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.25);
}

.product-actions .btn.primary:hover {
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.4);
}

/* Filters */
.filters {
  display: grid;
  gap: 16px;
  margin-bottom: 30px;
}

.search {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-full);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}

.search input {
  background: transparent;
  border: none;
  color: var(--text-main);
  width: 100%;
  outline: none;
  font-size: 1rem;
}

.chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.chip {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.chip:hover, .chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* --------------- FOOTER REDESIGN --------------- */
/* Footer Premium Design Redefined - Spacing Optimized */
/* Footer Premium Design Redefined - Strong */
.footer {
  background: #020617; /* Solid Deep Black/Blue for Strength */
  padding-top: 80px; /* Reduced from 130px */
  padding-bottom: 0px; /* Minimal bottom padding */
  position: relative;
  overflow: hidden;
  color: #fff;
  border-top: 5px solid var(--primary); /* Changed to Light Blue */
  margin-top: auto; /* Forces footer to bottom in flex container */
}

/* ... existing styles ... */

/* Back to Top Button - Premium Redesign */
.scroll-arrow {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 12px; /* Modern Soft Squircle */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: none; /* Remove default button border */
}

.scroll-arrow.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-arrow:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(14, 165, 233, 0.4);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.scroll-arrow i {
    animation: floatingArrow 2s ease-in-out infinite;
}

/* ... keep other footer styles ... */

/* Mesh Pattern Overlay */
.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  opacity: 0.4;
}

/* Refined Glow Accent -> Blue */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  box-shadow: 0 0 40px 5px var(--primary-glow);
  opacity: 0.8;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Slightly smaller min-width */
  gap: 50px; /* Reduced gap from 80px */
  margin-bottom: 60px; /* Reduced margin from 100px */
  position: relative;
  z-index: 2;
}

.footer-mobile-duo {
    display: contents; /* Behaves as if wrapper doesn't exist on desktop */
}

.footer-col h4 {
  color: #fff;
  font-size: 1.3rem; /* Slightly smaller */
  margin-bottom: 30px; /* Reduced margin */
  position: relative;
  display: inline-block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 40px;
  height: 3px;
  background: var(--primary); /* Blue Accent */
  border-radius: 2px;
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Contact List Ultra Premium */
.contact-grid, .footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px; /* Reduced gap from 25px */
}

.contact-grid a, .footer-links a {
  display: flex;
  align-items: center;
  gap: 15px; /* Reduced gap */
  color: #cbd5e1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem; /* Slightly smaller */
  padding: 2px 0;
  position: relative;
}

.contact-grid a i, .footer-links a i {
  color: var(--primary); /* Blue Accent */
  width: 35px; /* Smaller icons */
  height: 35px;
  background: rgba(14, 165, 233, 0.1); /* Blue tint bg */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.contact-grid a:hover, .footer-links a:hover {
  color: #fff;
  transform: translateX(-5px);
}

.contact-grid a:hover i, .footer-links a:hover i {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 15px var(--primary-glow);
  border-color: transparent;
  transform: rotate(0deg); /* Simplified hover */
}

/* Footer Brand Column */
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

/* KEEP GOLD */
.footer-brand-row img {
  border-radius: 50%;
  border: 2px solid var(--accent-gold); /* Keep Gold */
  width: 60px; /* Smaller logo */
  height: 60px;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.brand-title {
  font-size: 1.4rem;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* KEEP GOLD */
.footer-desc {
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 1rem;
  border-right: 3px solid var(--accent-gold); /* Keep Gold */
  padding-right: 20px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.05), transparent);
}

.footer-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-pills .pill {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    padding: 8px 16px; /* Smaller pills */
    border-radius: 10px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.footer-pills .pill:hover {
    background: rgba(14, 165, 233, 0.15); /* Blue hover */
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Footer Bottom Strip */

.footer-bottom {
  background: #020617;
  padding: 5px 0; /* Minimal padding */
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  color: #64748b;
  font-size: 0.75rem; /* Slightly smaller font */
  position: relative;
  z-index: 5;
  margin-top: 0; /* Removed top margin */
}

.footer-note {
    margin-top: 60px; /* Reduced top margin */
    margin-bottom: 20px; /* Reduced bottom margin */
}

.footer-note-inner {
    background: rgba(14, 165, 233, 0.08); /* Dark blue bg hint */
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.footer-note-item {
    color: #fff;
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 600;
}

.footer-note-item i {
  color: var(--primary);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    margin-top: 50px;
    margin-bottom: -60px;
    position: relative;
    z-index: 10;
}

.cta-inner {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border: 3px solid var(--primary);
    border-radius: 24px;
    padding: 50px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
    color: var(--text-main);
    position: relative;
    overflow: hidden;
}

/* Abstract CTA background */
.cta-inner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 800;
}

.cta-inner p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.cta-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* Animations Logic (Same as before) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* FAB WhatsApp */
.fab-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
  animation: pulseGreen 2s infinite;
}

.fab-whatsapp:hover {
  transform: scale(1.1) rotate(10deg);
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Page Hero (Light) */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 60%);
  filter: blur(80px);
  z-index: 1;
}

.page-hero.hero-highlight {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 100%);
  color: #fff;
}
.page-hero.hero-highlight h1 { color: #fff; }
.page-hero.hero-highlight p { color: rgba(255,255,255,0.9); }

.page-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
}


@media (max-width: 768px) {
  .site-header { top: 10px; padding: 0 10px; }
  .nav { padding: 10px 20px; }
  .nav-links {
    position: fixed;
    top: 80px;
    left: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    gap: 16px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .hamburger { display: block; }
  
  .hero h1 { font-size: 2.5rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  
  .footer-col { margin-bottom: 30px; }
  
  .footer-mobile-duo {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      grid-column: 1 / -1; /* Take full width to allow internal 1fr 1fr */
  }

  .footer-mobile-duo .footer-col {
      margin-bottom: 0;
  }
  
  .cta-inner { flex-direction: column; text-align: center; padding: 40px 20px; }
  .cta-actions { width: 100%; justify-content: center; }
  
  .page-hero { padding-top: 100px; }
  .page-hero-inner { flex-direction: column; align-items: center; text-align: center; }
}

/* -----------------------------------------------------------------
   NEW STYLES START HERE
   ----------------------------------------------------------------- */

/* 1. New Preloader Image Style */
.loader-logo-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: contain;
    border: 5px solid #0ea5e9;
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.4);
    background: #fff;
    padding: 15px;
    margin-bottom: 20px;
    animation: pulseLogo 2s infinite ease-in-out;
}

/* 2. Header Contact Button */
.nav-contact-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.nav-links .nav-contact-btn {
    display: none;
    padding: 12px 28px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 4px 15px var(--primary-glow);
}

.nav-links .nav-contact-btn:hover,
.nav-links .nav-contact-btn.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 6px 20px var(--primary-glow);
}

@media (max-width: 900px) {
    .nav-contact-btn {
        display: none;
    }
    .nav-links .nav-contact-btn {
        display: inline-flex;
    }
}

/* 3. Offers Page Styling - Ultra Premium Medical Showroom */
.offers-hero {
    background: radial-gradient(circle at 0% 0%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
                #020617;
    color: #fff;
    text-align: center;
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.offers-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 50px 160px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 130px 80px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 160px 120px, #ffffff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.1;
    animation: drift 60s linear infinite;
}

@keyframes drift {
    from { transform: translateY(0); }
    to { transform: translateY(-100%); }
}

.offers-hero h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.offers-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Medical Dashboard Countdown */
.countdown-container {
    margin-top: 50px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    padding: 30px 40px;
    border-radius: 30px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3),
                inset 0 0 0 1px rgba(255,255,255,0.05);
}

.countdown-container p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 700;
}

.countdown {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 85px;
}

.time-box span {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 0 20px var(--primary-glow);
}

.time-box .label {
    margin-top: 10px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
}

/* Crystal Offer Cards */
.offers-grid-wrapper {
    position: relative;
    padding: 80px 0;
    background: #f8fafc;
}

.offers-grid-wrapper::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, #f8fafc);
    z-index: 1;
}

.offer-card {
    background: #ffffff;
    border: 2.5px solid rgba(14, 165, 233, 0.5); /* Stronger Light Blue Border */
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.05);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.offer-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(14, 165, 233, 0.12);
    border: 2.5px solid var(--primary-dark); /* Stronger Hover Border */
}

.offer-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, #FFD700, #B8860B);
    color: #111827;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 800;
    border-radius: 8px; /* Square with subtle rounding */
    z-index: 10;
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.offer-badge.special {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    color: #fff;
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

.offer-image {
    height: 320px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0; /* Removed padding to let image fill */
}

.offer-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.slide-img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Changed to cover to fill space */
    padding: 0; /* Removed padding */
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    cursor: pointer;
    z-index: 20;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.slider-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.3);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-btn.prev { left: 5px; }
.slider-btn.next { right: 5px; }

/* In RTL, the arrows might feel reversed visually, but logically 'next' is usually forward/left */
[dir="rtl"] .slider-btn.prev,
body.rtl .slider-btn.prev { left: auto; right: 5px; }
[dir="rtl"] .slider-btn.next,
body.rtl .slider-btn.next { right: auto; left: 5px; }

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 15;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 10px;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
}

.offer-card:hover .product-img {
    transform: scale(1.1) rotate(2deg);
}

.offer-details {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.offer-details h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.offer-details p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 25px;
}

.offer-features {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.offer-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.offer-features i {
    color: var(--primary);
    width: 24px;
    height: 24px;
    background: rgba(14, 165, 233, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.8rem;
}

.offer-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
    margin-bottom: 30px;
    padding: 20px;
    background: #f0f9ff;
    border-radius: 20px;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.old-price {
    text-decoration: none;
    position: relative;
    color: #94a3b8; /* Original Muted Gray */
    font-size: 1rem;
    font-weight: 600;
    width: fit-content;
}

.old-price::after {
    content: '';
    position: absolute;
    left: -5%;
    top: 50%;
    width: 110%;
    height: 1.5px;
    background: #ef4444;
    transform: rotate(-10deg);
}

.new-price {
    font-size: 2rem;
    font-weight: 800;
    color: #ef4444; /* Vibrant Red for New Price */
    display: flex;
    align-items: center;
    gap: 8px;
}

.new-price::before {
    content: 'الان';
    font-size: 0.8rem;
    background: var(--primary);
    color: #fff;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 700;
}

.full-width {
    width: 100%;
    justify-content: center;
}
/* Testimonials Section (Creative Premium Redesign) */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px 0 20px 0;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 2px solid #e0f2fe; /* Light Blue Border initially */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-card::before {
    content: '\f10e';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -15px;
    right: 15px;
    font-size: 140px;
    color: rgba(14, 165, 233, 0.03);
    z-index: -1;
    transition: all 0.5s ease;
    transform: rotate(-10deg);
}

.testimonial-card::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 0%;
   height: 4px;
   background: linear-gradient(90deg, var(--primary), var(--primary-dark));
   transition: width 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(14, 165, 233, 0.15);
    border-color: var(--primary); /* Deepen border on hover */
}

.testimonial-card:hover::before {
   transform: rotate(0deg) scale(1.1);
   color: rgba(14, 165, 233, 0.08);
   top: -5px;
}

.testimonial-card:hover::after {
   width: 100%;
}

.t-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 25px;
    display: flex;
    gap: 4px;
    background: #fffbeb;
    padding: 8px 16px;
    border-radius: 50px;
    width: fit-content;
}

.t-text {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
    font-style: italic;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px dashed rgba(0,0,0,0.08);
}

.t-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.15);
    transition: transform 0.3s;
}

.t-author h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.t-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-block;
}



/* -----------------------------------------------------------------
   PRODUCT DETAILS REDESIGN (PREMIUM SPLIT LAYOUT)
   ----------------------------------------------------------------- */

.product-shell {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
    margin-top: 40px;
}

/* 1. Gallery Section (Sticky) */
.gallery-card {
    position: sticky;
    top: 100px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px);
    padding: 35px;
    border-radius: 70px 15px 70px 15px;
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 
        0 40px 100px rgba(14, 165, 233, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    z-index: 10;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 50px 120px rgba(14, 165, 233, 0.12);
}

.gallery-main {
    width: 100%;
    aspect-ratio: 1.1;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #e0f2fe 100%);
    border-radius: 50px 15px 50px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.1);
    position: relative;
}

.gallery-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* Force fill the gallery frame without cropping */
    padding: 0;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.08));
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery-main img.fade {
    animation: imgFadeIn 0.5s ease;
}

@keyframes imgFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.gallery-thumbs {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumb {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    border: 2px solid transparent;
    padding: 5px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumb:hover {
    transform: translateY(-3px);
    border-color: rgba(14, 165, 233, 0.3);
}

.thumb.active {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.2);
    transform: scale(1.05);
}

/* 2. Info Section */
.product-info-merged {
    display: flex;
    flex-direction: column;
    gap: 35px;
    position: relative;
    padding: 10px;
}

/* Watermark Background */
.product-info-merged::before {
    content: '\f47b'; /* FontAwesome Medical Logo */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 180px;
    color: rgba(14, 165, 233, 0.02);
    z-index: -1;
    transform: rotate(-10deg);
}

.product-title-lg {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(14, 165, 233, 0.1);
}

.product-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-tags span {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.tag-cat {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.tag-sku {
    background: #f1f5f9;
    color: var(--text-muted);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Description Section */
.product-desc-section {
    padding-right: 25px;
    border-right: 4px solid var(--primary);
    background: linear-gradient(90deg, transparent 0%, rgba(14, 165, 233, 0.02) 100%);
}

.desc-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.desc-title i { color: var(--primary); }

.product-desc-section p.lead {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-muted);
}

/* Specs Section (Modern Grid) */
.specs-section {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    border: 1px solid rgba(14, 165, 233, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.section-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Product Specs Table */
.table-wrap {
    border-radius: 18px;
    overflow: hidden;
}

.product-specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.product-specs-table th,
.product-specs-table td {
    padding: 14px 16px;
    text-align: right;
    vertical-align: top;
}

.product-specs-table th {
    width: 30%;
    background: rgba(14, 165, 233, 0.06);
    color: var(--primary-dark);
    font-weight: 800;
}

.product-specs-table tr + tr th,
.product-specs-table tr + tr td {
    border-top: 1px solid rgba(14, 165, 233, 0.08);
}

.product-specs-table td {
    color: var(--text-main);
}

.product-specs-table tr.is-warning th {
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
}

.product-specs-table tr.is-warning td {
    background: rgba(239, 68, 68, 0.05);
    color: #b91c1c;
    font-weight: 700;
}

/* Crystal Specification Cards */
.specs-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.spec-card-premium {
    background: rgba(14, 165, 233, 0.02);
    border: 1px solid rgba(14, 165, 233, 0.08);
    padding: 24px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

.spec-card-premium:hover {
    background: #fff;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.12);
    border-color: var(--primary);
}

.spec-card-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.spec-card-premium:hover::before {
    opacity: 1;
}

.spec-hint {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.spec-main-val {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.desc-specs {
    margin-top: 20px;
}

.spec-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.2);
    margin-bottom: 12px;
}

/* Product CTAs */
.product-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 10px;
}

.product-cta .btn {
    padding: 18px 30px;
    font-size: 1.1rem;
    border-radius: 20px;
    flex: 1;
    min-width: 250px;
}

.btn.pulse-green {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn.pulse-green:hover {
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 992px) {
    .product-shell {
        grid-template-columns: 1fr;
    }
    .gallery-card {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 600px) {
    .product-title-lg { font-size: 1.8rem; }
    .spec-label { width: 45%; }
    .product-cta .btn { width: 100%; flex: none; }
    .gallery-card { padding: 15px; }
}




/* -----------------------------------------------------------------
   CREATIVE CONTACT PAGE REDESIGN
   ----------------------------------------------------------------- */

.contact-page-wrapper {
    position: relative;
    padding: 100px 0;
    /* Ultra-Premium Mesh Gradient */
    background: 
        radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(16, 185, 129, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(14, 165, 233, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(56, 189, 248, 0.1) 0px, transparent 50%),
        #f8fafc;
    overflow: hidden;
}

/* Floating Medical Background Elements */
.contact-bg-icon {
    position: absolute;
    font-size: 15rem;
    color: rgba(14, 165, 233, 0.02);
    z-index: -1;
    pointer-events: none;
    animation: floatIcon 12s infinite ease-in-out;
}

.bg-icon-1 { top: 10%; right: -5%; transform: rotate(15deg); }
.bg-icon-2 { bottom: 5%; left: -5%; transform: rotate(-15deg); animation-delay: -6s; }

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(15deg); }
    50% { transform: translateY(-30px) rotate(20deg); }
}

/* Glass Contact Cards */
.contact-grid-premium {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}

.contact-glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 45px;
    padding: 60px;
    box-shadow: 
        0 30px 70px rgba(14, 165, 233, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.contact-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.contact-glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 80px rgba(14, 165, 233, 0.15);
}

/* Info Section Styling */
.contact-info-header {
    margin-bottom: 40px;
}

.floating-badge-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px var(--primary-glow);
    animation: badgePulse 3s infinite;
}

@keyframes badgePulse {
    0% { transform: scale(1); box-shadow: 0 10px 25px var(--primary-glow); }
    50% { transform: scale(1.05); box-shadow: 0 15px 35px var(--primary-glow); }
    100% { transform: scale(1); box-shadow: 0 10px 25px var(--primary-glow); }
}

.contact-list-premium {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item-premium {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(14, 165, 233, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(14, 165, 233, 0.05);
    transition: all 0.3s;
}

.contact-item-premium:hover {
    background: rgba(14, 165, 233, 0.06);
    transform: translateX(-10px);
    border-color: rgba(14, 165, 233, 0.1);
}

.contact-item-premium .icon-box {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--primary);
    border-radius: 12px;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.contact-item-premium .content-box h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item-premium .content-box p {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Premium Form Styling */
.form-header-premium {
    margin-bottom: 35px;
}

.form-header-premium h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-dark);
}

/* Ultra-Premium Form UI */
.premium-form .input-group {
    position: relative;
    margin-bottom: 25px;
}

.premium-form .input-group i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
    z-index: 2;
}

.premium-form input, 
.premium-form select, 
.premium-form textarea {
    width: 100%;
    padding: 26px 50px 10px 20px; /* Adjusted for floating label */
    background: rgba(248, 250, 252, 0.6);
    border: 1.5px solid rgba(14, 165, 233, 0.1);
    border-radius: 20px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--primary-dark);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.02);
    outline: none;
}

.premium-form textarea {
    padding-top: 30px;
    min-height: 120px;
}

/* Floating Label Logic */
.premium-form .input-group label {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
}

.premium-form input:focus ~ label,
.premium-form input:not(:placeholder-shown) ~ label,
.premium-form select:focus ~ label,
.premium-form select:not([value=""]) ~ label,
.premium-form textarea:focus ~ label,
.premium-form textarea:not(:placeholder-shown) ~ label {
    top: 15px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
}

/* Holographic Shine Effect */
.premium-form .input-group::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
    z-index: 3;
}

.premium-form .input-group:hover::after {
    left: 200%;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.premium-form input:focus, 
.premium-form select:focus, 
.premium-form textarea:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 
        0 15px 35px rgba(14, 165, 233, 0.15),
        inset 0 0 0 1px var(--primary);
    transform: translateY(-3px);
}

.premium-form .input-group input:focus + i,
.premium-form .input-group select:focus + i,
.premium-form .input-group textarea:focus + i {
    color: var(--primary);
    transform: translateY(-50%) scale(1.3);
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.submit-btn-premium {
    width: 100%;
    padding: 20px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 10px 30px var(--primary-glow);
    transition: all 0.4s;
    border: none;
    color: #fff;
    cursor: pointer;
}

.submit-btn-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--primary-glow);
}

.submit-btn-premium i {
    animation: btnIconShake 2s infinite;
}

@keyframes btnIconShake {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* Social Glow Effects */
.social-glow-group {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-glow-btn {
    width: 55px;
    height: 55px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: #fff;
    transition: all 0.4s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    text-decoration: none;
}

.social-glow-btn.facebook { color: #1877f2; }
.social-glow-btn.telegram { color: #0088cc; }
.social-glow-btn.whatsapp { color: #25d366; }
.social-glow-btn.email { color: #4f46e5; }

.social-glow-btn:hover {
    transform: translateY(-8px) rotate(8deg);
    color: #fff;
}

.social-glow-btn.facebook:hover { background: #1877f2; box-shadow: 0 15px 30px rgba(24, 119, 242, 0.4); }
.social-glow-btn.telegram:hover { background: #0088cc; box-shadow: 0 15px 30px rgba(0, 136, 204, 0.4); }
.social-glow-btn.whatsapp:hover { background: #25d366; box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4); }
.social-glow-btn.email:hover { background: #4f46e5; box-shadow: 0 15px 30px rgba(79, 70, 229, 0.4); }

/* Contact Page Responsive Tweaks */
@media (max-width: 1100px) {
    .contact-grid-premium {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-glass-card {
        padding: 50px;
    }
}

@media (max-width: 768px) {
    .contact-page-wrapper {
        padding: 70px 0;
    }

    .contact-bg-icon {
        font-size: 9rem;
        opacity: 0.6;
    }

    .bg-icon-1 { top: 2%; right: -18%; }
    .bg-icon-2 { bottom: -6%; left: -18%; }

    .contact-glass-card {
        padding: 32px;
        border-radius: 30px;
    }

    .contact-info-header h2,
    .form-header-premium h2 {
        font-size: 1.6rem;
    }

    .contact-list-premium { gap: 18px; }

    .contact-item-premium {
        padding: 16px;
        gap: 12px;
    }

    .contact-item-premium .content-box p {
        font-size: 1rem;
    }

    .premium-form input,
    .premium-form select,
    .premium-form textarea {
        padding: 22px 44px 10px 16px;
        border-radius: 16px;
    }

    .premium-form .input-group label {
        right: 44px;
        font-size: 0.9rem;
    }

    .premium-form .input-group i {
        right: 16px;
    }

    .submit-btn-premium {
        padding: 16px;
        font-size: 1rem;
        border-radius: 16px;
    }

    .social-glow-group {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 28px;
    }

    .social-glow-btn {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 1.2rem;
    }
}

@media (max-width: 520px) {
    .contact-page-wrapper {
        padding: 60px 0;
    }

    .contact-bg-icon { display: none; }

    .contact-glass-card {
        padding: 24px;
        border-radius: 24px;
    }

    .contact-item-premium {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-item-premium .icon-box {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact-info-header p {
        font-size: 0.95rem;
    }

    .premium-form input,
    .premium-form select,
    .premium-form textarea {
        padding: 20px 42px 10px 14px;
    }

    .premium-form .input-group label {
        right: 42px;
    }
}

@media (hover: none) {
    .contact-glass-card:hover,
    .contact-item-premium:hover,
    .submit-btn-premium:hover,
    .social-glow-btn:hover {
        transform: none;
    }
}

/* Responsive refinements */

/* --- Offers Page - Mobile Refinements (768px) --- */
@media (max-width: 768px) {
    .offers-hero {
        padding: 100px 0 60px;
        overflow: visible;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .offers-hero .reveal {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .offers-hero h1 {
        font-size: 1.8rem; /* Reduced from 2.2rem to prevent awkward wrapping */
        padding: 0 10px;
    }

    .offers-hero p {
        font-size: 1.05rem;
        padding: 0 5%; /* Use percentage for safe breathing room */
        max-width: 100%;
    }

    .countdown-container {
        padding: 20px 10px; /* Increased vertical padding */
        margin-top: 35px; /* Slightly more space from text */
        border-radius: 25px;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        background: rgba(255, 255, 255, 0.05); /* Slightly more visible background */
    }

    .countdown {
        display: flex;
        justify-content: center; /* Center boxes */
        gap: 12px; /* Add small gap for better separation */
        width: 100%;
        flex-wrap: wrap; /* Allow wrapping on very small screens if needed */
    }

    .time-box {
        min-width: 65px; /* Minimum width to keep boxes uniform */
        text-align: center;
        padding: 8px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .time-box span {
        font-size: 1.8rem; /* Increased font size for digits */
        font-weight: 800;
        display: block;
    }

    .time-box .label {
        font-size: 0.75rem; /* Increased label font size */
        margin-top: 5px;
        color: rgba(255, 255, 255, 0.6);
    }

    .offers-grid-wrapper {
        padding: 40px 0;
    }

    .offer-card {
        border-radius: 30px;
    }

    .offer-badge {
        top: 20px;
        right: 20px;
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .offer-image {
        height: 200px;
        font-size: 4.5rem;
    }

    .offer-details {
        padding: 35px 25px;
    }

    .offer-details h3 {
        font-size: 1.5rem;
    }

    .offer-details p {
        font-size: 0.95rem;
    }

    .offer-features li {
        font-size: 0.9rem;
    }

    .offer-price {
        padding: 20px;
        margin: 25px 0;
    }

    .new-price {
        font-size: 1.8rem;
    }

    .new-price::before {
        font-size: 0.75rem;
        padding: 3px 10px;
    }

    .cta-inner {
        padding: 35px 20px;
    }
}
