/* ==========================================================================
   MONTHLY SAVING SCHEMES SECTION (SPLIT-SCREEN OPTION 1 - 100VH)
   ========================================================================== */

.monthly-schemes-section {
  background-color: var(--bg-dark, #4a101d);
  padding: 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

@media (min-width: 1025px) {
  .monthly-schemes-section {
    height: 100vh !important;
    min-height: 100vh !important;
    padding-top: 90px !important; /* Offset for fixed header */
    box-sizing: border-box !important;
  }
}

/* Full-bleed Split Wrapper */
.monthly-schemes-split-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

@media (min-width: 1025px) {
  .monthly-schemes-split-wrapper {
    grid-template-columns: 0.8fr 1.2fr; /* 40% image / 60% content split to pull columns closer */
    height: calc(100vh - 90px);
  }
}

/* Left Image Column */
.monthly-schemes-image-col {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 350px;
  background-color: var(
    --bg-dark,
    #4a101d
  ); /* Dark red background matching the section */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1025px) {
  .monthly-schemes-image-col {
    min-height: auto;
    height: 100%;
  }
}

.monthly-schemes-girl-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Contain the image to prevent cropping */
  padding: 10px; /* Reduced from 30px to make the flyer larger */
  box-sizing: border-box;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);

  /* Force GPU rendering layer to prevent recalculating filters on scroll */
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;

  /* 1. Bottom Fade: Smoothly fade the saree into the maroon background at the bottom */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 75%,
    rgba(0, 0, 0, 0) 98%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 75%,
    rgba(0, 0, 0, 0) 98%
  );

  /* 2. Visual Enhancements: Ambient Shadows, Color Matching, and Jewellery Enhancements */
  /* Using standard GPU-accelerated CSS filters for color harmony and depth */
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.35))
    /* Single optimized soft shadow instead of three */ brightness(0.95)
    /* Calm harsh studio light highlights */ contrast(1.06)
    /* Enhance midtone details and gold/jewelry clarity */ saturate(0.92)
    /* Remove artificial oversaturation for elegance */ sepia(0.08)
    /* Introduce subtle warm tinting */ hue-rotate(-12deg); /* Shift yellow/orange tones toward rich maroon rose */
}

.monthly-schemes-image-col:hover .monthly-schemes-girl-img {
  transform: scale(1.03) translate3d(0, 0, 0); /* Maintain GPU layer during hover transition */
}

/* Elegant gold overlay border to frame the image in a luxury way (hidden as requested) */
.monthly-schemes-image-frame {
  display: none;
}

/* Right Content Column */
.monthly-schemes-content-col {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 24px;
  box-sizing: border-box;
  color: var(--color-text-light, #faf9f6);
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Hide scrollbar track visually while keeping the column scrollable for text overflow */
.monthly-schemes-content-col::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

@media (min-width: 768px) {
  .monthly-schemes-content-col {
    padding: 80px 60px;
  }
}

@media (min-width: 1025px) {
  .monthly-schemes-content-col {
    padding: 40px 6% 40px 0%; /* Reduced left padding to 0% to pull content next to the flyer */
    height: 100%;
    overflow-y: auto; /* Fallback for very small heights */
  }
}

.monthly-schemes-content-inner {
  max-width: 760px; /* Increased from 680px to spread cards wider */
  width: 100%;
}

.monthly-schemes-subtitle {
  font-family: var(--font-sans, "Inter", sans-serif);
  font-size: 0.85rem; /* Increased from 0.8rem */
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--color-gold, #c5a880);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.monthly-schemes-title {
  font-family: var(--font-serif, "Cormorant Garamond", serif);
  font-size: 3.4rem; /* Increased from 3rem */
  font-weight: 400;
  color: var(--color-text-light, #faf9f6);
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.monthly-schemes-desc {
  font-family: var(--font-sans, "Inter", sans-serif);
  font-size: 1.05rem; /* Increased from 1rem */
  font-weight: 300;
  color: var(--color-text-muted-light, #d9d2c9);
  line-height: 1.6;
  margin: 0 0 24px 0;
}

/* Schemes Grid (Side by side on desktop) */
.schemes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

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

.scheme-card {
  border: 1px solid rgba(197, 168, 128, 0.15);
  background-color: rgba(92, 29, 42, 0.4);
  padding: 20px;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.scheme-card:hover {
  border-color: var(--color-gold, #c5a880);
  background-color: rgba(92, 29, 42, 0.7);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.scheme-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.scheme-card-badge {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-gold, #c5a880);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans, "Inter", sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gold, #c5a880);
  background-color: rgba(74, 16, 29, 0.8);
}

.scheme-card-title {
  font-family: var(--font-serif, "Cormorant Garamond", serif);
  font-size: 1.3rem; /* Increased from 1.15rem */
  font-weight: 500;
  color: var(--color-text-light, #faf9f6);
  margin: 0;
}

.scheme-card-desc {
  font-family: var(--font-sans, "Inter", sans-serif);
  font-size: 0.85rem; /* Increased from 0.78rem */
  color: var(--color-text-muted-light, #d9d2c9);
  line-height: 1.5;
  margin: 0 0 12px 0;
  flex-grow: 1;
}

.scheme-card-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.scheme-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.scheme-card-feature-item {
  font-family: var(--font-sans, "Inter", sans-serif);
  font-size: 0.8rem; /* Increased from 0.72rem */
  color: var(--color-text-light, #faf9f6);
  display: flex;
  align-items: center;
  gap: 6px;
}

.scheme-card-bullet {
  color: var(--color-gold, #c5a880);
  font-size: 0.6rem;
}

.scheme-card-logo {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.scheme-card:hover .scheme-card-logo {
  transform: scale(1.08);
}

.scheme-card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(
    0 4px 10px rgba(197, 168, 128, 0.25)
  ); /* Gorgeous gold glow */
}

@media (max-width: 480px) {
  .scheme-card-logo {
    width: 75px;
    height: 75px;
    padding: 6px;
  }
}

/* Call to action button */
.monthly-schemes-action .collections-category-cta {
  font-family: var(--font-sans, "Inter", sans-serif);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--color-gold, #c5a880);
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--color-gold, #c5a880);
  padding: 12px 34px;
  display: inline-block;
  transition: all 0.3s ease;
  background-color: transparent;
  cursor: pointer;
}

.monthly-schemes-action .collections-category-cta:hover {
  background-color: var(--color-gold, #c5a880);
  color: var(--bg-dark, #4a101d);
  box-shadow: 0 5px 15px rgba(197, 168, 128, 0.3);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .monthly-schemes-image-col {
    min-height: 350px;
  }
  .monthly-schemes-girl-img {
    padding: 20px;
  }
}

@media (max-width: 425px) {
  .monthly-schemes-image-col {
    min-height: 260px;
  }
  .monthly-schemes-girl-img {
    padding: 10px;
  }
  .monthly-schemes-title {
    font-size: 1.9rem;
  }
  .scheme-card {
    padding: 16px;
  }
}

/* Premium Barcode/QR Code Glassmorphism Styles */
.monthly-schemes-barcode-container {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.monthly-schemes-barcode-container:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-gold, #c5a880);
  box-shadow:
    0 20px 45px rgba(197, 168, 128, 0.2),
    0 10px 20px rgba(0, 0, 0, 0.6);
}

.monthly-schemes-barcode-img {
  width: 120px;
  height: 120px;
  border-radius: 6px;
  display: block;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: white; /* Scan-ready white background for QR code */
  padding: 6px;
  box-sizing: border-box;
}

.monthly-schemes-barcode-container:hover .monthly-schemes-barcode-img {
  transform: scale(1.03);
}

.monthly-schemes-barcode-text {
  font-family: var(--font-sans, "Inter", sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-light, #faf9f6);
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  text-align: center;
  transition: color 0.3s ease;
}

.monthly-schemes-barcode-container:hover .monthly-schemes-barcode-text {
  color: var(--color-gold, #c5a880);
}

/* Responsive Barcode adjustment */
@media (max-width: 1024px) {
  .monthly-schemes-barcode-container {
    bottom: 30px;
    right: 30px;
    padding: 10px;
  }
  .monthly-schemes-barcode-img {
    width: 100px;
    height: 100px;
    padding: 5px;
  }
  .monthly-schemes-barcode-text {
    font-size: 0.65rem;
  }
}

@media (max-width: 768px) {
  .monthly-schemes-barcode-container {
    bottom: 20px;
    right: 20px;
    padding: 8px;
    border-radius: 8px;
  }
  .monthly-schemes-barcode-img {
    width: 85px;
    height: 85px;
    padding: 4px;
  }
  .monthly-schemes-barcode-text {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 480px) {
  .monthly-schemes-barcode-container {
    bottom: 15px;
    right: 15px;
    padding: 6px;
    border-radius: 6px;
    gap: 4px;
  }
  .monthly-schemes-barcode-img {
    width: 70px;
    height: 70px;
    padding: 3px;
  }
  .monthly-schemes-barcode-text {
    font-size: 0.55rem;
    letter-spacing: 0.05em;
  }
}
