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

:root {
  --primary: #5496d1;
  --secondary: #1a1a2e;
  --accent: #16213e;
  --tertiary: #0f3460;
  --bg: #ffffff;
  --surface: #f8fafc;
  --text: #1a1a2e;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --gold: #fbbf24;
  --success: #10b981;
  --gradient-primary: linear-gradient(135deg, #5496d1 0%, #0f3460 100%);
  --gradient-secondary: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
  /* animation removed */
}

.animate-fade-in-right {
  /* animation removed */
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.home {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  box-shadow: none;
}

.navbar.home.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  padding: 15px 0;
}

.navbar.home.scrolled .nav-menu a {
  color: var(--text);
}

.navbar.home .cart-icon {
  color: white;
}

.navbar.home.scrolled .cart-icon {
  color: var(--text);
}

.navbar.home .hamburger span {
  background: white;
}

.navbar.home.scrolled .hamburger span {
  background: var(--text);
}

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

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

.logo img {
  height: 60px;
}

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

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.nav-menu a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.nav-menu a.active {
  color: var(--primary);
  font-weight: 600;
}

.navbar.home .nav-menu a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.navbar.home.scrolled .nav-menu a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-icon {
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.cart-icon:hover {
  color: var(--primary);
}

.cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  font-weight: bold;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("/assets/images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 150px 0;
  text-align: center;
  color: white;
}

.hero-badge {
  margin-bottom: 30px;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 30px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 40px;
  opacity: 0.9;
  font-weight: 300;
}

.hero-description {
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto 50px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn-primary {
  padding: 12px 25px;
  font-size: 16px;
  background: white;
  color: var(--primary);
  font-weight: 600;
}

.hero-btn-secondary {
  padding: 12px 25px;
  font-size: 16px;
  background: transparent;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid white;
  transition: all 0.3s;
}

.about-section {
  padding: 100px 0;
  background: white;
}

.about-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-title {
  font-size: 3rem;
  margin-bottom: 30px;
  color: var(--secondary);
}

.about-divider {
  width: 80px;
  height: 4px;
  background: var(--primary);
  margin: 0 auto 40px;
}

.about-text-large {
  font-size: 1.4rem;
  color: #495057;
  line-height: 1.8;
  margin-bottom: 30px;
}

.about-text {
  font-size: 1.2rem;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 40px;
}

.about-btn {
  padding: 15px 35px;
  font-size: 18px;
}

.services-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.services-title {
  text-align: center;
  margin-bottom: 80px;
}

.services-title h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--secondary);
}

.services-divider {
  width: 80px;
  height: 4px;
  background: var(--primary);
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-top: 5px solid var(--primary);
}

.service-icon {
  width: 100px;
  height: 100px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.service-icon i {
  font-size: 2.5rem;
  color: white;
}

.service-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--secondary);
}

.service-description {
  color: #6c757d;
  line-height: 1.7;
  font-size: 1.1rem;
}

.products-section {
  padding: 100px 0;
  background: white;
}

.products-title {
  text-align: center;
  margin-bottom: 80px;
}

.products-title h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--secondary);
}

.products-divider {
  width: 80px;
  height: 4px;
  background: var(--primary);
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.product-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 30px;
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.product-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  border-radius: 50%;
  opacity: 0.05;
  transition: all 0.4s ease;
}

.product-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(37, 97, 165, 0.2);
}

.product-card:hover::before {
  opacity: 0.1;
  transform: scale(1.2);
}

.product-image-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-info {
  padding: 35px;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  line-height: 1.3;
}

.product-info p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 1rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-price {
  font-size: 2.2rem;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  margin-bottom: 25px;
  text-shadow: 0 2px 4px rgba(37, 97, 165, 0.1);
}

.product-btn {
  width: 100%;
  padding: 18px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  border: none;
  border-radius: 15px;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(37, 97, 165, 0.3);
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.product-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.product-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(37, 97, 165, 0.4);
}

.product-btn:hover::before {
  left: 100%;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  margin-bottom: 30px;
}

.hero-badge-text {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #ffffff !important;
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
}

.btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 97, 165, 0.3);
}

/* Enhanced Grid System */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin: 50px 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
  padding: 0 20px;
}

.card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: none;
  margin-bottom: 30px;
}

/* Enhanced Blog Card */
.blog-card {
  border: 1px solid var(--border);
}

.card-image {
  position: relative;
  overflow: hidden;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.card-category {
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.card-date {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.card-btn {
  margin-top: auto;
  padding: 12px 24px;
  font-size: 14px;
}

.cards-grid .product-card,
.cards-grid .card {
  display: flex !important;
  flex-direction: column;
  height: 100%;
}

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

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.card h3 {
  margin-bottom: 15px;
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 600;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.card .btn {
  margin-top: auto;
  text-align: center;
  align-self: stretch;
}

/* Product Cards */
.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.product-info h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  font-weight: 600;
}

.product-info p {
  flex: 1;
  margin-bottom: 15px;
  line-height: 1.6;
}

.product-price {
  margin-bottom: 20px;
}

.product-info .btn {
  margin-top: auto;
  align-self: stretch;
}

.product-price {
  font-size: 1.6rem;
  color: var(--primary);
  font-weight: 700;
  margin: 12px 0 20px 0;
}

/* Footer */
.footer {
  background: #ffffff;
  color: var(--text);
  padding: 50px 0 20px;
  margin-top: 100px;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--text);
}

.footer-section p {
  color: var(--text-muted);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  max-width: 400px;
  margin: 0 auto;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.cookie-buttons .btn {
  flex: 1;
  padding: 8px 16px;
  font-size: 14px;
}

/* Go to Top */
.go-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(37, 97, 165, 0.3);
}

.go-top:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* Filter Buttons */
.filter-btn {
  background: #6c757d !important;
  color: white;
  transition: all 0.3s ease;
}

.filter-btn.active {
  background: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 97, 165, 0.3);
}

.filter-btn:hover {
  background: var(--accent) !important;
}

/* Contact Section Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-form {
  background: #ffffff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
}

.contact-form-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.contact-form .form-group {
  margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 18px 25px;
  border: 2px solid transparent;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(37, 97, 165, 0.15);
}

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

.contact-btn {
  width: 100%;
  padding: 20px;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  border: none;
  border-radius: 15px;
  color: white;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 15px 35px rgba(37, 97, 165, 0.3);
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(37, 97, 165, 0.4);
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 40px;
  border-radius: 25px;
  color: white;
  box-shadow: 0 30px 60px rgba(37, 97, 165, 0.3);
}

.contact-info-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

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

.contact-icon i {
  font-size: 1.2rem;
}

.contact-details strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-details p {
  margin: 0;
  opacity: 0.9;
}

/* Blog Card Styles */
.blog-card-wrapper {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
}

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

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

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.blog-card-category {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gradient-primary);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.blog-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
  min-height: 200px;
}

.blog-card-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.9rem;
  gap: 15px;
}

.blog-card-date,
.blog-card-time {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.blog-card-date i,
.blog-card-time i {
  margin-right: 5px;
}

.blog-card-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.3;
  height: 5.4rem;
}

.blog-card-excerpt {
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.6;
  flex-grow: 1;
  font-size: 1rem;
  height: 3.2rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.blog-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  margin-top: auto;
  align-self: center;
}

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

.blog-card-btn i {
  font-size: 0.8rem;
}

/* Blog Article Mobile Responsive */
.blog-article {
  padding: 100px 40px 40px !important;
}

.blog-article h1 {
  font-size: 2rem !important;
  line-height: 1.3 !important;
}

.blog-article h2 {
  font-size: 1.5rem !important;
  margin: 30px 0 15px !important;
}

.blog-article p,
.blog-article li {
  font-size: 1rem !important;
  line-height: 1.7 !important;
}

.blog-article img {
  border-radius: 10px !important;
}

.blog-article div[style*="display: flex"] {
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 10px !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 0;
    z-index: 1001 !important;
    position: fixed !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: var(--shadow-sm) !important;
  }

  .navbar.home {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: var(--shadow-sm) !important;
  }

  .navbar.home .nav-menu a,
  .navbar.home .cart-icon,
  .navbar.home .hamburger span {
    color: var(--text);
    background: var(--text);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 15px;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .contact-form-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    padding: 15px 20px;
  }

  .contact-info-card {
    padding: 30px 20px;
  }

  .contact-info-title {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .contact-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
  /* Contact page mobile responsive */
  .contact-grid,
  div[style*="grid-template-columns: 1fr 1fr"] {
    display: block !important;
  }

  .contact-grid > div,
  div[style*="grid-template-columns: 1fr 1fr"] > div {
    margin-bottom: 30px !important;
    width: 100% !important;
  }

  /* Contact form mobile styles */
  .contact-form,
  div[style*="padding: 50px"] {
    padding: 20px !important;
    margin-bottom: 30px !important;
    border-radius: 15px !important;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important; */
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Contact info mobile styles */
  .contact-info > div,
  div[style*="padding: 40px"] {
    padding: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Form inputs mobile responsive */
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    padding: 15px 20px !important;
    font-size: 16px !important;
    border-radius: 12px !important;
  }

  /* Contact form title mobile */
  .contact-form h2 {
    font-size: 2rem !important;
    margin-bottom: 30px !important;
  }

  /* Contact info items mobile */
  .contact-info div[style*="display: flex; align-items: center"] {
    flex-direction: column !important;
    text-align: center !important;
    gap: 15px !important;
    padding: 15px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .contact-info
    div[style*="display: flex; align-items: center"]
    > div:first-child {
    margin-right: 0 !important;
    margin-bottom: 10px !important;
  }

  /* Center contact cards on mobile */
  .contact-info > div {
    margin: 0 auto !important;
    text-align: center !important;
  }

  /* Remove margin-right from contact items */
  .contact-info div,
  .contact-info div > div,
  .contact-item {
    margin-right: 0 !important;
  }

  /* Map section mobile */
  iframe {
    height: 300px !important;
  }

  /* Contact page header mobile */

  main .container > div:first-child h1 {
    font-size: 2rem !important;
  }

  main .container > div:first-child p {
    font-size: 1.1rem !important;
    padding: 0 10px !important;
  }

  /* Contact form button mobile */
  .contact-form button {
    padding: 18px 20px !important;
    font-size: 16px !important;
    border-radius: 12px !important;
  }

  /* Contact info card mobile */
  .contact-info h2 {
    font-size: 2rem !important;
    margin-bottom: 25px !important;
  }

  /* Map container mobile */
  main .container > div:last-child {
    margin-top: 40px !important;
  }

  /* main .container > div:last-child > div {
    padding: 30px 20px !important;
  } */

  /* Contact page container mobile */
  main .container {
    padding: 0 15px !important;
  }

  /* Override all grid layouts on mobile */

  main div[style*="gap: 80px"] {
    gap: 0 !important;
  }

  /* Force all content to center on mobile */
  section,
  section div,
  section p,
  section h1,
  section h2,
  section h3,
  section h4 {
    text-align: center !important;
  }

  /* Mobile footer centering */
  .footer,
  .footer-content,
  .footer-section,
  .footer-section p,
  .footer-section a,
  .footer-section h3,
  .footer-bottom,
  .footer-bottom p {
    text-align: center !important;
  }

  .footer-section .logo {
    justify-content: center !important;
    display: flex !important;
  }

  /* Mobile logo size reduction */
  .navbar .logo img {
    height: 35px !important;
    width: auto !important;
    max-width: 150px !important;
  }

  .footer .logo img {
    height: 40px !important;
  }

  /* Fix 320px width gap */
  .container {
    padding: 0 10px !important;
    max-width: 100% !important;
  }

  body {
    overflow-x: hidden !important;
  }

  * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Specific fixes for very small screens */
  @media (max-width: 320px) {
    .container {
      padding: 0 5px !important;
    }

    .navbar {
      padding: 10px 0 !important;
    }

    .nav-container {
      padding: 0 5px !important;
    }

    .hero-section,
    section {
      padding-left: 5px !important;
      padding-right: 5px !important;
    }

    .cards-grid,
    .products-grid {
      padding: 0 5px !important;
      gap: 15px !important;
    }
  }

  /* Center buttons and links */
  section .btn,
  section a {
    margin: 0 auto !important;
    display: block !important;
    width: fit-content !important;
  }

  /* Center flex containers */
  section div[style*="display: flex"] {
    justify-content: center !important;
    text-align: center !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-right: 0 !important;
  }

  /* Grid layouts become single column and centered */
  section div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 40px !important;
  }

  /* Mobile hero buttons */
  section div[style*="display: flex; gap: 20px; justify-content: center"],
  section div[style*="display: flex; gap: 25px; justify-content: center"] {
    flex-direction: column !important;
    gap: 15px !important;
    align-items: center !important;
  }

  section div[style*="display: flex; gap: 20px; justify-content: center"] a,
  section div[style*="display: flex; gap: 25px; justify-content: center"] a {
    width: 250px !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .hamburger {
    display: flex;
  }

  /* Mobile stats layout */
  section div[style*="display: flex; justify-content: center; gap: 40px"],
  section div[style*="display: flex; justify-content: center; gap: 60px"] {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 30px !important;
  }

  section
    div[style*="display: flex; justify-content: center; gap: 60px"]
    > div {
    min-width: 100px !important;
    text-align: center !important;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    padding: 0;
    transition: left 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu.active .nav-close {
    display: block !important;
  }

  .nav-menu.active .mobile-logo {
    display: block !important;
    padding-top: 28px;
  }

  .nav-right {
    gap: 15px;
  }

  .cart-icon {
    font-size: 1.1rem;
  }

  .hero {
    height: auto;
    padding: 80px 0 60px;
  }

  /* Index hero section mobile - more specific selector */
  .home-page section[style*="padding: 120px 0"],
  .home-page section[style*="padding: 140px 0"] {
    padding: 100px 0px 60px 0px !important;
    min-height: auto !important;
  }

  /* Index hero content mobile */
  .home-page section h1 {
    font-size: 2.5rem !important;
    margin-bottom: 20px !important;
  }

  .home-page section p {
    font-size: 1.1rem !important;
    margin-bottom: 30px !important;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-badge {
    display: none !important;
  }

  .hero-badge-text {
    font-size: 8px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
  }

  /* Mobile grid layouts */
  section div[style*="grid-template-columns: repeat(auto-fit"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    justify-items: center !important;
  }

  /* Hero section mobile */
  .hero-section {
    padding: 120px 0 60px !important;
    min-height: 100vh !important;
  }

  /* Fix hero sections mobile padding */
  section[style*="padding: 160px 0 80px"] {
    padding: 120px 0 60px !important;
  }

  .hero-section h1 {
    font-size: 3rem !important;
  }

  .hero-section h2 {
    font-size: 1.5rem !important;
  }

  .hero-section p {
    font-size: 1.1rem !important;
    padding: 0 20px !important;
  }

  .hero-section div[style*="display: flex; gap: 25px"] {
    flex-direction: column !important;
    gap: 15px !important;
    align-items: center !important;
  }

  .hero-section div[style*="display: flex; gap: 25px"] a {
    width: 250px !important;
    text-align: center !important;
  }

  /* Blog grid responsive */
  #blogContainer {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* Home blog mobile responsive */
  #homeBlogContainer {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  /* Mobile padding adjustments */
  section {
    padding: 20px 0 !important;
  }

  /* About Us page specific mobile padding */
  section[style*="padding: 120px 0"] {
    padding: 40px 0 !important;
  }

  /* Category cards mobile */
  #categoriesContainer {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  /* Featured products mobile */
  #featuredProductsContainer {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* Testimonials mobile */
  #testimonialsContainer {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* Newsletter mobile */
  section[style*="background: var(--gradient-primary)"]
    div[style*="display: flex; gap: 15px"] {
    flex-direction: column !important;
    gap: 15px !important;
  }

  section[style*="background: var(--gradient-primary)"] input {
    min-width: 100% !important;
  }

  section[style*="background: var(--gradient-primary)"] button {
    width: 100% !important;
  }

  /* Story section mobile padding reduction */

  .container {
    padding: 0 15px !important;
  }

  /* Modern blog card mobile responsive */
  #homeBlogContainer,
  #blogContainer {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    justify-items: center !important;
  }

  #homeBlogContainer > div,
  #blogContainer > div {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    height: auto !important;
  }

  .blog-card-content {
    min-height: auto !important;
  }

  .blog-card-title {
    height: auto !important;
  }

  .blog-card-excerpt {
    height: auto !important;
    -webkit-line-clamp: 3 !important;
  }

  .blog-card-image {
    height: 220px !important;
  }

  /* Cart quantity controls mobile - keep horizontal */
  .cart-item div[style*="display: flex; align-items: center; gap: 8px"] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 8px !important;
    border-radius: 20px !important;
    width: fit-content !important;
    min-width: auto !important;
  }

  .cart-item button[style*="width: 28px; height: 28px"] {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.7rem !important;
    flex-shrink: 0 !important;
  }

  .cart-item span[style*="padding: 0 10px"] {
    padding: 0 6px !important;
    font-size: 0.85rem !important;
    min-width: 18px !important;
    flex-shrink: 0 !important;
    text-align: center !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Category cards tablet */
  #categoriesContainer {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
  }

  /* Featured products tablet */
  #featuredProductsContainer {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 35px !important;
  }

  /* Testimonials tablet */
  #testimonialsContainer {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 35px !important;
  }
  /* Mid-level devices - 2 cards per row */
  #blogContainer {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 35px !important;
  }

  /* Home blog responsive */
  #homeBlogContainer {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
  }

  .product-card {
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }

  .card {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .product-card .btn,
  .card .btn {
    width: 100%;
    text-align: center;
  }

  .product-info,
  .card-content {
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section {
    text-align: center;
  }

  .footer-section .logo {
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
  }

  /* Mobile footer centering */
  .footer {
    text-align: center;
  }

  .footer-section p,
  .footer-section a,
  .footer-section h3 {
    text-align: center;
  }

  .footer-bottom p {
    text-align: center;
  }

  /* About page mobile responsive */
  .about-grid,
  section div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center;
  }

  /* Hide about image on mobile */
  .about-image-section,
  .about-story-image {
    display: none !important;
  }

  /* About section mobile - hide left image and center content */
  section div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  section div[style*="grid-template-columns: 1fr 1fr"] .about-image-section,
  section div[style*="grid-template-columns: 1fr 1fr"] .about-story-image {
    display: none !important;
  }

  /* Blog and product card text limits */
  .blog-card h3,
  .card h3 {
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: auto !important;
    text-overflow: ellipsis !important;
    line-height: 1.3 !important;
  }

  .blog-card p,
  .card p,
  .product-info p {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: auto !important;
    text-overflow: ellipsis !important;
    line-height: 1.6 !important;
  }

  .product-info h3 {
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: auto !important;
  }

  /* My Commitment section mobile responsive */
  .commitment-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .commitment-images {
    display: none !important;
  }

  .commitment-content {
    text-align: center !important;
  }

  /* Blog details mobile responsive */
  .blog-article {
    padding: 60px 10px 30px !important;
    max-width: 100% !important;
  }

  .blog-article h1 {
    font-size: 1.8rem !important;
  }

  .blog-article h2 {
    font-size: 1.3rem !important;
    margin: 25px 0 12px !important;
  }

  .blog-article p,
  .blog-article li {
    font-size: 0.95rem !important;
  }

  .blog-meta,
  div[style*="display: flex"][style*="gap: 20px"] {
    justify-content: center !important;
    text-align: center;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  section div[style*="grid-template-columns: 1fr 1fr"] div {
    text-align: center !important;
  }

  /* Override for input elements */
  input,
  textarea,
  select {
    text-align: left !important;
  }

  /* Hide step numbers on mobile */
  .step-number {
    display: none;
  }

  #faqContainer > div {
    text-align: center;
  }

  /* Blog post meta centering */
  .blog-post-meta {
    text-align: center !important;
    justify-content: center !important;
  }

  /* Why Choose Us section mobile layout */
  section[style*="linear-gradient(135deg, #667eea 0%, #764ba2 100%)"]
    div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* Testimonials grid mobile layout */
  .testimonials-grid {
    grid-template-columns: 1fr !important;
  }

  /* Force testimonial cards to full width on mobile */
  section[style*="background: #f8f9fa"] .testimonials-grid {
    grid-template-columns: 1fr !important;
  }

  section[style*="background: #f8f9fa"] .testimonials-grid > div {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  /* Blog details content centering */
  .blog-content,
  .blog-content p,
  .blog-content h1,
  .blog-content h2,
  .blog-content h3 {
    text-align: center !important;
  }
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 16px;
  transition: border-color 0.3s;
}

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

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1003;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal.show {
  display: flex;
}

.close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-muted);
}

.close:hover {
  color: var(--text);
}

/* Notification */
.notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  z-index: 10000;
  transform: translateX(400px);
  transition: transform 0.3s;
  box-shadow: 0 10px 30px rgba(37, 97, 165, 0.3);
  max-width: calc(100vw - 40px);
  word-wrap: break-word;
  white-space: normal;
  line-height: 1.4;
  text-align: center;
}

.notification.show {
  transform: translateX(0);
}

/* Mobile notification styles */
@media (max-width: 768px) {
  .notification {
    top: 80px;
    right: 10px;
    left: 10px;
    max-width: none;
    width: calc(100% - 20px);
    padding: 12px 15px;
    font-size: 14px;
    border-radius: 6px;
    text-align: center;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.4;
    transform: translateY(-100px);
  }
  
  .notification.show {
    transform: translateY(0);
  }
}
