/* General Body Styles */
body {
  font-family: sans-serif;
  background-color: #0c1b23;
  color: #ffffff;
  margin: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 120vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-bottom: 1rem;
}

.hero-background-gradient {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom right, #0c1b23, #2d5f7a, #36a0b8);
}

.hero-background-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.1"%3E%3Ccircle cx="30" cy="30" r="2"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

/* Decorative Animated Circles */
.deco-circle {
  position: absolute;
  border-radius: 9999px; /* rounded-full */
  animation: pulse 20s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  z-index: 5; /* Below content, above background */
}

.deco-circle-1 {
  width: 4rem; /* w-20 */
  height: 5rem; /* h-20 */
  background-color: #c4283f66;
  opacity: 0.01;
  top: 25%; /* -top-2 */
  right: 6rem; /* -right-2 */
}

.deco-circle-2 {
  width: 6rem; /* w-24 */
  height: 4rem; /* h-24 */
  background-color: #36a0b8a2;
  opacity: 0.01;
  bottom: 13rem; /* -bottom-4 */
  left: 50%; /* -left-4 */
  animation-delay: 3s;
}

.deco-circle-3 {
  width: 3rem; /* w-12 */
  height: 3rem; /* h-12 */
  background-color: #dbdddf62;
  opacity: 0.1;
  top: 80%;
  right: 12rem; /* -right-8 */
  animation-delay: 12s;
}

.hero-content-grid {
  position: relative;
  z-index: 10;
  display: grid;
  align-items: center;
  padding-top: 3rem;
  padding-right: 1rem;
  padding-left: 1rem;
}

@media (min-width: 768px) {
  .hero-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .hero-content-grid {
    grid-template-columns: 1.2fr 0.8fr; /* Make left column wider */
    align-items: center;
    padding-right: 0rem;
  }
}

.hero-text-content {
  text-align: left;
  padding-left: 1rem;
}

.hero-slide {
  transition: all 1.5s ease-in-out;
}

.hero-title {
  font-size: 2.15rem; /* 36px */
  font-weight: 900;
  margin: 0;
  padding: 0 0 1rem 0;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem; /* 48px */
    line-height: 1.2;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem; /* 72px */
    line-height: 1.2;
  }
}

.hero-title-line1,
.hero-title-line2 {
  display: block;
}

.hero-title-line1 {
  background-image: linear-gradient(to right, white, #f8fafc, #e2e8f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title-line2 {
  background-image: linear-gradient(to right, #36a0b8, #2dd4bf, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  font-size: 3rem; /* 36px */
  font-weight: 900;
}

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

.hero-subtitle {
  font-size: 1.25rem; /* 20px */
  color: #f1f5f9;
  padding-bottom: 4rem;
  padding-right: 5rem;
  line-height: 1.5;
  font-weight: 500;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem; /* 24px */
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2.5rem;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 1.125rem; /* 18px */
  text-decoration: none;
  transition: all 0.3s;
}

.btn-primary {
  background-image: linear-gradient(to right, #c4283f, #dc2626);
  color: white;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn-primary:hover {
  background-image: linear-gradient(to right, #9d2d43, #b91c1c);
  transform: scale(1.05);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.hero-image-content {
  display: none;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-image-content {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .hero-image-content {
    justify-content: flex-end;
  }
}

.hero-image {
  width: 100%;
  height: auto;
  opacity: 0.8;
}

/* Main Section */
.main-section {
  padding: 5rem 0;
  background-color: #dbdddf;
}

.main-header {
  text-align: center;
  margin-bottom: 4rem;
}

.main-title {
  font-size: 2.25rem; /* 36px */
  font-weight: 700;
  color: #0c1b23;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .main-title {
    font-size: 3rem; /* 48px */
  }
}

.main-title .highlight {
  background-image: linear-gradient(to right, #36a0b8, #2d5f7a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-subtitle {
  font-size: 1.25rem; /* 20px */
  color: #2d5f7a;
  max-width: 56rem; /* 896px */
  margin: 0 auto;
  line-height: 1.75;
}

.main-subtitle .font-semibold {
  font-weight: 600;
  color: #36a0b8;
}

/* Features Grid */
.features-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-card {
  position: relative;
  background-color: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: all 0.5s;
}

.feature-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-0.75rem);
}

.feature-icon-container {
  width: 6rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.5s;
}

.feature-card:hover .feature-icon-container {
  transform: scale(1.1);
}

.feature-icon {
  height: 4rem;
  width: 4rem;
}

.feature-title {
  font-size: 1.5rem; /* 24px */
  font-weight: 700;
  color: #0c1b23;
  margin-bottom: 1.5rem;
}

.feature-description {
  color: #2d5f7a;
  line-height: 1.75;
  font-size: 1.125rem; /* 18px */
}

/* Showcase Section */
.showcase-section {
  margin-bottom: 4rem;
}

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

.showcase-title {
  font-size: 1.875rem; /* 30px */
  font-weight: 700;
  color: #0c1b23;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .showcase-title {
    font-size: 2.25rem; /* 36px */
  }
}

.showcase-title .highlight {
  background-image: linear-gradient(to right, #36a0b8, #2d5f7a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.showcase-subtitle {
  font-size: 1.125rem; /* 18px */
  color: #2d5f7a;
  max-width: 42rem; /* 672px */
  margin: 0 auto;
}

.showcase-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.showcase-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition: all 0.3s;
}

.showcase-item:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-0.5rem);
}

.showcase-icon-container {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
}

.showcase-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.showcase-item:hover .showcase-icon {
  transform: scale(1.1);
}

.showcase-item-content {
  flex: 1;
}

.showcase-item-title {
  font-size: 1.125rem; /* 18px */
  font-weight: 700;
  color: #0c1b23;
  transition: color 0.3s;
}

.showcase-item:hover .showcase-item-title {
  color: #36a0b8;
}

.showcase-item-description {
  font-size: 0.875rem; /* 14px */
  color: #2d5f7a;
  opacity: 0.75;
}

/* CTA Section */
.cta-section {
  text-align: center;
  margin-top: 4rem;
}

.cta-content {
  background-image: linear-gradient(to right, #0c1b23, #2d5f7a);
  border-radius: 1rem;
  padding: 2rem;
  position: relative; /* For positioning context */
  overflow: hidden; /* To contain the blended image */
}

.cta-content-inner {
  position: relative;
  z-index: 2; /* Ensure content is above the image */
}

.cta-expert-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  height: 100%; /* Fit image within the container */
  opacity: 0.95; /* Make image slightly more visible */
  pointer-events: none; /* Make image non-interactive */
  mask-image: linear-gradient(
    to left,
    black 5%,
    transparent 100%
  ); /* Adjust mask for better visibility */
}

@media (min-width: 768px) {
  .cta-content {
    padding: 3rem;
  }
}

.cta-title {
  font-size: 1.875rem; /* 30px */
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 2.25rem; /* 36px */
  }
}

.cta-text {
  font-size: 1.25rem; /* 20px */
  color: #dbdddf;
  margin-bottom: 2rem;
  max-width: 42rem; /* 672px */
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.btn-cta-primary {
  background-color: #c4283f;
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-cta-primary:hover {
  background-color: #9d2d43;
  transform: scale(1.05);
}

.btn-cta-secondary {
  border: 2px solid #36a0b8;
  color: #36a0b8;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-cta-secondary:hover {
  background-color: #36a0b8;
  color: white;
}

/* Featured Deals Section */
.featured-deals-section {
  position: relative;
  padding: 6rem 0;
  background-color: #f8fafc; /* fallback */
  overflow: hidden;
}

.featured-deals-background {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url('data:image/svg+xml,%3Csvg width="80" height="80" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23e2e8f0" fill-opacity="0.3"%3E%3Ccircle cx="40" cy="40" r="1"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

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

.section-title {
  font-size: 3.75rem; /* 60px */
  font-weight: 900;
  color: #0c1b23;
  line-height: 0.9;
  letter-spacing: -0.025em;
}

.section-title .highlight {
  background-image: linear-gradient(to right, #36a0b8, #2d5f7a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  font-size: 1.25rem; /* 20px */
  color: #475569;
  max-width: 56rem; /* 896px */
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 500;
}

.deals-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .deals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .deals-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.deal-card {
  position: relative;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 2px solid rgba(236, 239, 241, 0.6);
  transition: all 0.5s;
  display: flex;
  flex-direction: column;
}

.deal-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(-0.5rem);
  border-color: rgba(54, 160, 184, 0.4);
}

.deal-image-container {
  position: relative;
  overflow: hidden;
  height: 18rem; /* 288px */
}

.deal-image {
  width: 100%;
  height: 100%;
  object-fit: contain; /* show full image */
  transition: transform 0.5s;
  margin: auto; /* center image */
  padding: 0; /* remove padding */
}

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

.deal-content {
  padding: 2rem 1.5rem; /* Increased top/bottom padding */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.deal-title {
  font-size: 1.25rem; /* 20px */
  font-weight: 700;
  color: #0c1b23;
  margin-bottom: 0.5rem; /* Reduced from 1rem */
  line-height: 1.25;
  transition: color 0.3s;
}

.deal-card:hover .deal-title {
  color: #36a0b8;
}

.deal-description {
  color: #475569;
  font-size: 0.875rem; /* 14px */
  margin-bottom: 1rem; /* Reduced from 1.5rem */
  line-height: 1.75;
  flex-grow: 1;
}

.deal-price {
  font-size: 1.5rem; /* 24px */
  font-weight: 800;
  color: #c4283f;
  margin-bottom: 1rem;
}

.btn-details {
  background-color: #122834;
  color: white;
  text-align: center;
  padding: 0.75rem 1rem; /* Adjusted padding */
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-details:hover {
  background-color: #2d5f7a;
}

/* ==============================================
   Save Big CTA Section
============================================== */
.save-big-cta-section {
  padding: 4rem 0;
  background-color: #dbdddf; /* Theme light gray */
}

.save-big-cta-box {
  background-color: #2d5f7a; /* Theme dark blue */
  color: #ffffff;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative; /* Add for positioning context */
  overflow: hidden; /* Add to contain blended image */
}

.save-big-cta-content-inner {
  position: relative;
  z-index: 2;
}

.save-big-cta-image {
  position: absolute;
  left: 0;
  bottom: 0;
  width: auto;
  height: 100%;
  opacity: 0.75;
  pointer-events: none;
  mask-image: linear-gradient(to right, black 40%, transparent 100%);
}

.save-big-cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
}

.save-big-cta-text {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  color: #dbdddf;
  opacity: 0.9;
}

.save-big-cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.btn-cta-deals,
.btn-cta-call {
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid transparent;
}

.btn-cta-deals {
  background-color: #c4283f; /* Theme red */
  color: #ffffff;
}

.btn-cta-deals:hover {
  background-color: #a32032; /* Darker red */
  transform: translateY(-2px);
}

.btn-cta-call {
  background-color: transparent;
  color: #ffffff;
  border-color: #36a0b8; /* Theme light blue */
}

.btn-cta-call:hover {
  background-color: #36a0b8; /* Theme light blue */
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-cta-call .btn-icon {
  stroke: #36a0b8;
  transition: stroke 0.3s ease;
}

.btn-cta-call:hover .btn-icon {
  stroke: #ffffff;
}

/* ==============================================
   Brands Section
============================================== */
.brands-section {
  padding: 5rem 0;
  background-image: linear-gradient(to bottom right, #0c1b23, #2d5f7a);
  overflow: hidden; /* Prevent scrollbars from showing */
}

.brands-section .section-title {
  color: #ffffff;
}

@media (min-width: 768px) {
  .section-title-dark {
    font-size: 3rem; /* 48px */
  }
}

.section-title-dark .highlight {
  background-image: linear-gradient(to right, #36a0b8, #2dd4bf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle-dark {
  font-size: 1.25rem; /* 20px */
  color: #dbdddf;
  max-width: 48rem; /* 768px */
  margin: 0 auto 4rem auto;
  text-align: center;
  line-height: 1.75;
}

.brands-scroller-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.brands-scroller {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    white 10%,
    white 90%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    white 10%,
    white 90%,
    transparent
  );
}

.brands-track {
  display: flex;
  gap: 2rem;
  width: max-content;
}

.brands-track-left {
  animation: scroll-left var(--scroll-duration, 40s) linear infinite;
}

.brands-track-right {
  animation: scroll-right var(--scroll-duration, 40s) linear infinite;
}

.brand-card {
  flex-shrink: 0;
  width: 18rem; /* 288px */
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border-radius: 0.75rem; /* 12px */
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease-in-out;
}

.brand-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-0.25rem);
  border-color: rgba(54, 160, 184, 0.5);
}

.brand-logo-container {
  height: 5rem; /* 80px */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.brand-logo {
  max-height: 4rem; /* 64px */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: all 0.3s ease-in-out;
}

.brand-card:hover .brand-logo {
  filter: none;
  opacity: 1;
}

.brand-description {
  font-size: 0.875rem; /* 14px */
  color: #dbdddf;
  opacity: 0.8;
  line-height: 1.5;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* =============================================
   Contact Section
============================================= */
.contact-section {
  padding: 6rem 0;
  background-color: #dbdddf; /* Match reference */
}

.contact-section .section-header .section-title {
  color: #0c1b23; /* Dark text for light background */
}

.contact-section .section-header .section-title .highlight {
  color: #36a0b8; /* Teal color for the highlight */
  background-image: none; /* Remove gradient */
  -webkit-background-clip: unset;
  background-clip: unset;
}

.contact-section .section-subtitle {
  color: #2d5f7a; /* Dark blue for subtitle */
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr; /* Adjust column ratio */
    gap: 3rem;
  }
}

/* Left Column: Contact Info & Callout */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0c1b23;
  margin-bottom: 1.5rem;
}

.contact-info-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon-wrapper {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
}

.contact-info-icon-wrapper.phone {
  background-color: #36a0b8;
}
.contact-info-icon-wrapper.email {
  background-color: #c4283f;
}
.contact-info-icon-wrapper.location {
  background-color: #2d5f7a;
}

.contact-info-icon-wrapper i {
  font-size: 1.5rem;
}

.contact-info-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0c1b23;
  margin: 0 0 0.25rem 0;
}

.contact-info-value {
  font-size: 1rem;
  color: #2d5f7a;
  margin: 0;
}

.contact-info-note {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.contact-callout-card {
  background-image: linear-gradient(to top right, #0c1b23, #2d5f7a);
  color: white;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
}

.contact-callout-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-callout-text {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.btn-callout {
  display: inline-block;
  background-image: linear-gradient(to right, #c4283f, #9d2d43);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 10px 20px -5px rgba(196, 40, 63, 0.4);
}

.btn-callout:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px -5px rgba(196, 40, 63, 0.6);
}

/* Right Column: Contact Form */
.contact-form-col {
  display: flex;
}

.contact-form-card {
  flex: 1;
  background-color: white;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.contact-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0c1b23;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0c1b23;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: #0c1b23;
  background-color: #f9fafb;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #36a0b8;
  box-shadow: 0 0 0 3px rgba(54, 160, 184, 0.3);
}

.form-textarea {
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background-image: linear-gradient(to right, #c4283f, #9d2d43);
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 10px 20px -5px rgba(196, 40, 63, 0.4);
}

.btn-submit:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px -5px rgba(196, 40, 63, 0.6);
}

.btn-submit i {
  transition: transform 0.3s;
}

.btn-submit:hover i {
  transform: translateX(4px);
}

/* =============================================
   Testimonials Section
============================================= */
.testimonials-section {
  padding: 6rem 0;
  position: relative;
  background-color: #0c1b23; /* Dark background */
  overflow: hidden;
}

.testimonials-background {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(
    circle at 50% 0%,
    #2d5f7a 0%,
    transparent 70%
  );
}

.testimonials-section .section-title {
  color: #ffffff;
}

.testimonials-section .section-subtitle {
  color: #dbdddf;
  max-width: 45rem; /* 720px */
}

.testimonials-grid {
  display: grid;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: rgba(45, 95, 122, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1rem; /* 16px */
  padding: 2rem;
  border: 1px solid rgba(219, 221, 223, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(54, 160, 184, 0.5);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem; /* 8px */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  background-color: var(--avatar-bg, #36a0b8);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.testimonial-location {
  font-size: 0.9rem;
  color: #dbdddf;
  opacity: 0.8;
  margin: 0;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  color: #facc15; /* A gold/yellow color */
  margin-left: auto;
}

.testimonial-body {
  font-size: 1rem;
  color: #dbdddf;
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   Inventory Page Styles
============================================= */

:root {
  --inventory-primary: #244c62;
  --inventory-secondary: #49a5b8;
  --inventory-accent: #641928;
  --inventory-light: #ffffff;
  --inventory-gray: #cccccc;
}

.inventory-page {
  padding-top: 340px;
  min-height: 100vh;
  background-color: #708090;
}

.inventory-header {
  background: linear-gradient(135deg, var(--inventory-primary) 0%, var(--inventory-secondary) 100%);
  text-align: center;
  position: absolute;
  height: 340px;
  width: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 5rem;
}

.inventory-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.inventory-header .container {
  position: relative;
  z-index: 2;
}

.inventory-title {
  font-size: 3rem;
  font-weight: 900;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.inventory-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  padding-bottom: 4rem;
}

.search-section {
  background: var(--inventory-light);
  padding: 1rem 1rem 1rem 1rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  margin-top: 2rem;
  display: flex;
  gap: 4rem;
}

.search-column {
  flex: 0 0 60%;
}

.cart-column {
  flex: 0 0 35%;
}

.search-bar {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  min-width: 300px;
  padding: 15px 20px;
  border: 2px solid var(--inventory-gray);
  border-radius: 10px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--inventory-secondary);
  box-shadow: 0 0 0 3px rgba(73, 165, 184, 0.1);
}

.search-btn {
  background: linear-gradient(135deg, var(--inventory-secondary), var(--inventory-primary));
  color: var(--inventory-light);
  border: none;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.product-category {
  background: linear-gradient(135deg, var(--inventory-primary), var(--inventory-secondary));
  color: var(--inventory-light);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  box-shadow: 0 2px 8px rgba(36, 76, 98, 0.3);
}

.product-type-header {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.filters-section {
  background: var(--inventory-light);
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}

.category-filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.category-btn {
  background: var(--inventory-gray);
  color: var(--inventory-primary);
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.category-btn.active {
  background: linear-gradient(135deg, #8B0000, #DC143C);
  color: var(--inventory-light);
  transform: scale(1.05);
}

.sub-filters {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding-top: 1rem;
}

.sub-filters.active {
  display: grid;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-label {
  font-weight: 700;
  color: var(--inventory-primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.filter-select {
  padding: 10px 15px;
  border: 2px solid var(--inventory-gray);
  border-radius: 8px;
  background: var(--inventory-light);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.filter-select:focus {
  outline: none;
  border-color: var(--inventory-secondary);
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
  padding: 1rem 0;
}

.filters-column {
  background: var(--inventory-light);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  height: fit-content;
  position: sticky;
  top: 20px;
}

.filters-column h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--inventory-primary);
  margin-bottom: 1rem;
  text-align: center;
  border-bottom: 2px solid var(--inventory-gray);
  padding-bottom: 0.5rem;
}

.category-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--inventory-primary);
  margin: 1.5rem 0 0.5rem 0;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--inventory-gray);
}

.category-heading:first-child {
  margin-top: 0;
}

.type-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.5rem;
  margin: 0.2rem 0;
  color: rgb(46, 0, 0);
  border: 1px solid #14385d;
  cursor: pointer;
  transition: all 0.3s ease;
}

.type-option:hover {
  color: rgb(46, 0, 0);
  transform: translateX(5px);
}

.type-option.selected {
  color: rgb(114, 2, 2);
  border-color: rgb(114, 2, 2);
}

.type-count {
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255,255,255,0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
}

.products-section {
  background: var(--inventory-light);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--inventory-light);
  border: 2px solid var(--inventory-gray);
  border-radius: 15px;
  padding: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 450px;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--inventory-secondary), var(--inventory-primary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.product-card:hover {
  border-color: var(--inventory-secondary);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-image {
  width: 100%;
  height: 180px;
  object-fit: contain; /* show full image */
  object-position: center;
  border-radius: 10px;
  margin-bottom: 1rem;
  background: #ffffff; /* white background behind transparent PNGs */
  padding: 0.2rem;
}

.product-info {
  flex: 1;
  margin-bottom: auto;
}

.product-id {
  font-size: 0.6rem;
  color: #122834;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.product-brand {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--inventory-primary);
  margin-bottom: 0.3rem;
}

.product-model {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
  font-weight: 600;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  font-size: 0.7rem;
  color: #666;
  margin-bottom: 0.8rem;
}

.spec-item {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 0.5rem 0.4rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-left: 3px solid var(--inventory-secondary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spec-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.spec-item strong {
  text-align: left;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--inventory-primary);
  text-transform: uppercase;
  letter-spacing: 0.2px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spec-item .spec-value {
  text-align: left;
  font-size: 0.65rem;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--inventory-accent);
  margin-bottom: 0;
}

.product-price .gst-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--inventory-accent);
  opacity: 0.85;
  margin-left: 0.3rem;
}

.product-actions {
  display: flex;
  gap: 0.8rem;
}

.btn-info, .btn-add {
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.8rem;
}

.btn-info {
  flex: 0 0 35%;
  background: var(--inventory-secondary);
  color: var(--inventory-light);
}

.btn-info:hover {
  background: var(--inventory-primary);
  transform: translateY(-2px);
}

.btn-add {
  flex: 1;
  background-color: crimson;
  color: var(--inventory-light);
  white-space: nowrap;
}

.btn-add:hover {
  background: #7a1f33;
  transform: translateY(-2px);
}

.product-list-section {
  background: var(--inventory-light);
  padding: 0.02rem;
  border-radius: 15px;
  height: fit-content;
  position: relative;
}

.list-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--inventory-primary);
  margin-bottom: 0.5rem;
  text-align: center;
  border-bottom: 2px solid var(--inventory-gray);
  padding-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.list-title:hover {
  color: var(--inventory-secondary);
  transform: translateY(-2px);
}

.list-title .toggle-icon {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.list-title.collapsed .toggle-icon {
  transform: rotate(-90deg);
}

.product-list-content {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--inventory-light);
  border-radius: 0 0 15px 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  z-index: 1000;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  padding: 1rem;
}

.product-list-content.collapsed {
  max-height: 0;
  opacity: 0;
}

.product-list-content.expanded {
  max-height: 600px;
  opacity: 1;
}

.list-item {
  background: #f8f9fa;
  border: 2px solid var(--inventory-gray);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.list-item:hover {
  border-color: var(--inventory-secondary);
}

.list-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.list-item-name {
  font-weight: 700;
  color: var(--inventory-primary);
  font-size: 1.1rem;
}

.list-item-price {
  font-weight: 700;
  color: var(--inventory-accent);
  font-size: 1.1rem;
}

.list-item-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.qty-label {
  font-weight: 700;
  color: var(--inventory-primary);
}

.qty-input {
  width: 80px;
  padding: 8px 12px;
  border: 2px solid var(--inventory-gray);
  border-radius: 5px;
  text-align: center;
  font-weight: 600;
}

.btn-small {
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
  font-size: 0.8rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-update {
  background: var(--inventory-secondary);
  color: var(--inventory-light);
}

.btn-update:hover {
  background: var(--inventory-primary);
}

.btn-remove {
  background: var(--inventory-accent);
  color: var(--inventory-light);
}

.btn-remove:hover {
  background: #7a1f33;
}

.order-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 3px solid var(--inventory-primary);
  text-align: center;
}

.order-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--inventory-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.phone-number {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--inventory-accent);
  margin-bottom: 1rem;
}

.btn-email {
  background: linear-gradient(135deg, var(--inventory-primary), var(--inventory-secondary));
  color: var(--inventory-light);
  border: none;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.empty-list {
  text-align: center;
  color: #999;
  font-style: italic;
  padding: 3rem 1rem;
}

.empty-list i {
  font-size: 3rem;
  color: var(--inventory-gray);
  margin-bottom: 1rem;
  display: block;
}

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

.modal-overlay.active {
  display: flex;
}

/* Popup Modal Container */
.info-modal {
  background: white;
  border-radius: 12px;
  width: 80vw;
  max-width: 1400px;
  min-width: 320px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

/* Ensure modal content takes full width */
.modal-body {
  padding: 2rem;
  width: 100%;
  box-sizing: border-box;
}

/* Make modal content responsive */
.modal-content {
  width: 100% !important;
  max-width: 100% !important;
}

/* Responsive image container */
.modal-image-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 2rem;
}

/* Responsive image */
.modal-image {
  max-width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.modal-header {
  background: linear-gradient(135deg, var(--inventory-primary), var(--inventory-secondary));
  color: var(--inventory-light);
  padding: 2rem;
  border-radius: 12px 12px 0 0;
  position: relative;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0;
}

.modal-id {
  font-size: 1rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--inventory-light);
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* Red close button for inventory modal */
.modal-close-red {
  color: #dc2626 !important;
  background: rgba(220, 38, 38, 0.1);
}

.modal-close-red:hover {
  background: rgba(220, 38, 38, 0.2) !important;
  color: #b91c1c !important;
}

.modal-body {
  padding: 2rem;
}

.modal-thumbs {
  display: flex;
  gap: 0.5rem;
  margin: 0.5rem 0 1.5rem 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.modal-thumb {
  width: 72px;
  height: 72px;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition: transform 0.2s, border-color 0.2s;
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
}

.modal-thumb:hover {
  transform: scale(1.03);
  border-color: #36a0b8;
}

.modal-thumb.active {
  border-color: #36a0b8;
  box-shadow: 0 0 0 2px rgba(54,160,184,0.2);
}

.modal-image-container {
  margin-bottom: 2rem;
  text-align: center;
  max-width: 100%;
}

.modal-image {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.spec-item-modal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.spec-label {
  font-weight: 600;
  font-size: 0.55rem;
  color: red;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.spec-value {
  color: #333;
  font-weight: 600;
  font-size: 0.75rem;
}

/* Modal Actions Row - Price Left, Add to List Right */
.modal-actions-row {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  align-items: stretch;
  margin-top: 0.5rem;
}

/* Modern Price Section in Modal */
.modal-price-section {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, var(--inventory-primary) 0%, var(--inventory-secondary) 100%);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(54, 160, 184, 0.3);
  min-width: 200px;
}

.modal-price-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.modal-price-value {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.modal-price-value .gst-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-left: 0.5rem;
}

/* Add to List Button in Modal */
.modal-add-to-list-btn {
  flex: 1;
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-add-to-list-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.modal-add-to-list-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.modal-add-to-list-btn i {
  font-size: 1.3rem;
}

/* Responsive layout for modal actions */
@media (max-width: 768px) {
  .modal-actions-row {
    flex-direction: column;
  }
  
  .modal-price-section {
    width: 100%;
  }
  
  .modal-add-to-list-btn {
    width: 100%;
  }
}

.modal-description {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--inventory-primary);
  margin-top: 1rem;
}

.modal-description h4 {
  color: var(--inventory-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.modal-description p {
  color: #000000;
}

.message-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--inventory-primary), var(--inventory-secondary));
  color: var(--inventory-light);
  padding: 2rem 3rem;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  z-index: 1100;
  display: none;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.message-popup.show {
  display: block;
  animation: popupShow 0.3s ease;
}

@keyframes popupShow {
  from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Inventory Responsive Design */
@media (max-width: 1200px) {
  .content-wrapper {
    grid-template-columns: 1fr 350px;
  }
}

@media (max-width: 1024px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }
  
  .product-list-section {
    position: static;
    order: -1;
  }

  .inventory-title {
    font-size: 2.5rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 768px) {
  .inventory-title {
    font-size: 2rem;
  }
  
  .search-bar {
    flex-direction: column;
  }
  
  .search-input {
    min-width: 100%;
  }
  
  .category-filters {
    justify-content: center;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .modal-specs {
    grid-template-columns: 1fr;
  }

  .sub-filters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .inventory-header {
    padding: 2rem 0;
  }

  .search-section, .filters-section, .product-list-section {
    padding: 1rem;
  }

  .product-actions {
    flex-direction: column;
    padding: 0.5rem;
  }
}