/* Font imports for Poppins and Raleway*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Raleway:wght@300;400;500;600;700&display=swap');

/* Basic content alignment */
.u-content {
  align-content: center;
  text-align: center;
}

.u-content-1 {
  align-content: left;
  text-align: left;
  margin: 0 0 0 0;
}

/* Image styling */
img.u-image {
  overflow: hidden;
}

.u-image-circle.u-image {
  border-radius: 0.40rem;
}

.u-image-round {
  border-radius: 0.40rem;
}

.u-text .u-image {
  display: inline-block;
}

/* Text styling */
.u-text {
  word-wrap: break-word;
  position: relative;
  margin: 0 0 0 0;
}

.u-text-default {
  display: table;
  align-self: flex-start;
}

.u-align-center {
  text-align: center;
}

.u-footer .u-text-1 {
  width: 417px;
  margin: 49px auto;
}

/* Button styling */
.u-border-none {
  border-width: 0 !important;
}

.u-btn {
  display: table;
  cursor: pointer;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  font-style: inherit;
  font-weight: inherit;
  text-decoration: none;
  border: 0 none transparent;
  outline-width: 0;
  background-color: transparent;
  margin: 0;
  -webkit-text-decoration-skip: objects;
  font-style: initial;
  white-space: nowrap;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  vertical-align: middle;
  text-align: center;
  padding: 10px 50px;
  border-radius: 0;
  align-self: flex-start;
}

.u-btn:hover, .u-btn:focus {
  text-decoration: none;
}

.u-btn:active, .u-btn.active {
  outline: 0;
  background-image: none;
}

.u-btn-round {
  border-radius: 4px;
}

/* Specifically target the Buy Now button with maximum specificity for border radius */
.u-section-1 .u-btn-3,
.u-btn-3.u-radius-50,
.u-btn-3.u-btn-round,
a.u-button-style.u-radius-50.u-btn-3,
a.u-btn.u-button-style.u-btn-round.u-radius-50.u-btn-3,
.u-radius-50.u-btn-3 {
  border-radius: 5px !important;
  -webkit-border-radius: 5px !important;
  -moz-border-radius: 5px !important;
}

/* Catch any pseudo-elements or nested elements */
.u-btn-3 *,
.u-btn-3:before,
.u-btn-3:after,
.u-btn-3 .u-background-effect,
.u-btn-3 > .u-container-layout {
  border-radius: 5px !important;
  -webkit-border-radius: 5px !important;
  -moz-border-radius: 5px !important;
}

/* Custom colors */
/* Custom button colors */
.u-custom-color-1,
.u-button-style.u-custom-color-1,
.u-btn.u-custom-color-1 {
  background-color: #E8988D !important;
  color: #ffffff !important;
}

.u-hover-custom-color-2:hover,
.u-button-style.u-hover-custom-color-2:hover,
.u-btn.u-hover-custom-color-2:hover {
  background-color: #86B5AD !important;
  color: #ffffff !important;
}

/* Override border radius for all buttons with these classes */
.u-btn-round,
.u-radius-50 {
  border-radius: 5px !important;
}

/* More specific selector to override any existing styles */
.u-btn.u-button-style.u-custom-color-1.u-btn-3 {
  background-color: #E8988D !important;
  border-radius: 5px !important;
}

.u-btn.u-button-style.u-custom-color-1.u-btn-3:hover,
.u-btn.u-button-style.u-hover-custom-color-2.u-btn-3:hover {
  background-color: #86B5AD !important;
}

/* Remove any hover styles that might interfere */
.u-hover-custom-color-2:hover {
  background-color: #86B5AD !important;
}

.u-text-custom-color-3, 
a.u-button-style.u-text-custom-color-3, 
a.u-button-style.u-text-custom-color-3[class*="u-border-"] {
  color: #1063a2 !important;
}

.u-text-hover-custom-color-3:hover {
  color: #1063a2 !important;
  font-weight: 500;
}

.u-text-custom-color-4, 
a.u-button-style.u-text-custom-color-4, 
a.u-button-style.u-text-custom-color-4[class*="u-border-"] {
  color: #86B5AD !important;
}

/* Body font styling */
.u-body {
  color: #111111;
  background-color: #ffffff;
  font-family: 'Poppins', 'Raleway', 'Open Sans', sans-serif;
}

h2, h4 {
  font-family: 'Poppins', 'Raleway', Roboto, sans-serif;
}

/* Apply Poppins/Raleway to content elements only */
.u-section-1 h2, 
.u-section-1 h4, 
.u-section-1 p, 
.u-section-1 a:not(.icon), 
.u-section-1 .u-btn, 
.u-section-1 .u-text {
  font-family: 'Poppins', 'Raleway', sans-serif !important;
}

/* Headings styling with new font */
h2 {
  font-family: 'Poppins', 'Raleway', sans-serif !important;
  font-weight: 600;
}

h4 {
  font-family: 'Poppins', 'Raleway', sans-serif !important;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Links */
a {
  color: #478ac9;
}

a:hover {
  color: #387cbd;
}

.u-none.u-button-style,
.u-none.u-button-style:hover,
.u-none.u-button-style:focus,
.u-none.u-button-style:active,
.u-none.u-button-style.active,
.u-button-style.u-hover-none:hover,
.u-button-style.u-hover-none:focus,
.u-button-style.u-active-none:active,
.u-button-style.u-active-none.active,
li.active > .u-button-style.u-active-none {
  color: inherit !important;
  background-color: transparent !important;
}

/* Section specific styling */
.u-section-1 .u-sheet-1 {
  min-height: 915px;
}

/* Fixed image hover styles with correct selectors */
.u-align-center.u-image.u-image-circle.u-image-1 {
  width: 400px;
  height: 400px;
  margin: -2px auto 0;
  position: relative;
  overflow: visible !important;
  border-radius: 0.40rem;
}

/* Triangle price sticker in top left corner */
.u-align-center.u-image.u-image-circle.u-image-1::before {
  content: "$50";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background-color: rgba(134, 181, 173, 0.5);
  clip-path: polygon(0 0, 0 100%, 100% 0);
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 10px 0 0 10px;
  font-family: 'Poppins', 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

/* Bottom button sticker */
.u-align-center.u-image.u-image-circle.u-image-1::after {
  content: "Buy Now";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  background-color: rgba(232, 152, 141, 0.75);
  color: white;
  font-family: 'Poppins', 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  text-align: center;
  text-transform: uppercase;
  border-radius: 0 0 5px 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

/* Show stickers on hover */
.u-align-center.u-image.u-image-circle.u-image-1:hover::before,
.u-align-center.u-image.u-image-circle.u-image-1:hover::after {
  opacity: 1;
}

.u-section-1 .u-text-1 {
  margin: 30px auto 0;
}

.u-section-1 .u-btn-1 {
  background-image: none;
  padding: 0;
}

.u-section-1 .u-text-2 {
  margin: 20px auto 0;
}

.u-section-1 .u-btn-2 {
  background-image: none;
  padding: 0;
}

.u-section-1 .u-text-3 {
  margin: 20px auto 0;
}

/* Title styling - targeting the Literacy heading */
.u-section-1 .u-text-1,
.u-text.u-text-1.u-text-custom-color-4 {
  display: block !important;
  visibility: visible !important;
  font-size: 2.7rem !important;
  font-weight: 550 !important;
  font-family: 'Poppins', 'Raleway', sans-serif !important;
  margin: 30px auto 20px !important;
  color: #86B5AD !important; /* Ensure the color is applied */
  z-index: 100 !important;
  position: relative !important;
}

/* Price styling - targeting the $50 text */
.u-section-1 .u-text-4,
.u-align-center.u-text.u-text-default.u-text-4 {
  font-size: 2.3rem !important;
  font-weight: 400 !important;
  font-family: 'Poppins', 'Raleway', sans-serif !important;
  margin: 30px auto 15px !important;
}

/* Buy now button - Direct targeting */
.u-section-1 .u-btn-3 {
  border-style: none;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1.6rem;
  letter-spacing: 1px;
  background-color: #E8988D !important; /* Using !important to override other styles */
  background-image: none;
  margin: 20px auto 60px;
  padding: 7px 70px;
  border-radius: 5px !important;
}

.u-section-1 .u-btn-3:hover {
  background-color: #86B5AD !important;
  transition: background-color 0.3s ease;
}

.u-section-1 .u-btn-4 {
  width: 500px;
  height: 30px;
  background-color: #4AAAF4;
  border-style: none;
  color: #FFFFFF;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1.0rem;
  letter-spacing: 3px;
  background-image: none;
  margin: 20px auto 20px;
  padding: 0px 0px 0px 0px;
  line-height: 20px;
}

/* Media queries for responsiveness */
@media (max-width: 575px) {
  .u-section-1 .u-sheet-1 {
    min-height: 750px;
  }

  .u-section-1 .u-image-1 {
    width: 340px;
    height: 340px;
  }
  
  .u-align-center.u-image.u-image-circle.u-image-1 {
    width: 340px;
    height: 340px;
  }
}

.image-wrapper {
  position: relative;
  width: 400px;
  height: 400px;
  margin: -2px auto 0;
  display: block;
}

.image-wrapper .u-image-1 {
  width: 100%;
  height: 100%;
  border-radius: 0.40rem !important;
  display: block;
  border: none;
  overflow: hidden; /* Ensure the image doesn't overflow the border radius */
}

.image-wrapper::before {
  content: "price";
  position: absolute;
  top: 55px;
  left: 0;
  width: 100px;
  height: 60px;
  background-color: rgba(134, 181, 173, 1.0);
  border-radius: 0 3rem 3rem  0;  /* Rounded on right side */
  display: flex;
  justify-content: center;  /* Center text horizontally */
  align-items: center;      /* Center text vertically */
  font-family: 'Poppins', 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  color: white;
  opacity: 1;
  transition: opacity 1.0s ease;
  z-index: 10;
}

.image-wrapper::after {
  display: none;
  content: "Buy Now";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  background-color: rgba(232, 152, 141, 1.00);
  color: white;
  font-family: 'Poppins', 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 1.8rem;
  text-align: center;
  text-transform: uppercase;
  border-radius: 0 0 0 0;
  opacity: 0;
  transition: opacity 1.0s ease;
  z-index: 10;
}

.image-wrapper:hover::before,
.image-wrapper:hover::after {
  opacity: 1;
}

/* Make the image wrapper a relative positioning context */
.image-wrapper {
  cursor: pointer;
}

/* Style the hover effect and make it look clickable */
.image-wrapper::after {
  cursor: pointer;
}

.u-content.u-sheet.u-sheet-1 {
  max-width: 1140px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 30px;
  padding-right: 30px;
}

@media (max-width: 768px) {
  .u-content.u-sheet.u-sheet-1 {
    width: 90%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Modified: Changed from justify to left */
h4.u-content-1.u-text {
  text-align: left !important;
}

/* Modified: Keep paragraphs justified but list items left-aligned */
.u-content-1.u-text p {
  text-align: justify !important;
}

.u-content-1.u-text li {
  text-align: left !important;
}

/* Add space between headings and paragraphs */
h4.u-content-1.u-text-2 {
  margin-bottom: 15px !important;
}

/* Add space after each section */
h4.u-content-1.u-text {
  margin-bottom: 10px !important;
}

/* Add space before new section headings */
h4.u-content-1.u-text-2 {
  margin-top: 25px !important;
}

/* Adjust spacing between headings and lists */
h4.u-content-1.u-text-2 + h4.u-content-1.u-text ul {
  margin-top: 5px !important;
}

/* Adjust the list itself - Modified with stronger left alignment */
.u-content-1.u-text ul {
  margin-top: 5px !important;
  margin-bottom: 10px !important;
  padding-top: 0 !important;
  text-align: left !important;
}

/* Adjust list items spacing - Modified with stronger left alignment */
.u-content-1.u-text li {
  margin-bottom: 5px !important;
  text-align: left !important;
}

/* Fix the spacing for the container div inside lists */
.u-content-1.u-text ul div {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  text-align: left !important;
}

/* Make all images match text width and add frames */
.u-align-center.u-image.u-image-round.u-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0.40rem !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid #86B5AD;
}

/* Keep the main title image without a border */
.image-wrapper .u-image-1 {
  width: 100%;
  height: 100%;
  border-radius: 0.40rem !important;
  display: block;
  border: none;
}

/* Ensure the first image's wrapper maintains its size */
.image-wrapper {
  position: relative;
  width: 400px;
  height: 400px;
  margin: -2px auto 0;
  display: block;
  border-radius: 0.40rem !important;
  overflow: hidden; /* This is important for the border radius to work */
}

/* Base paragraph styling */
p.u-content-1.u-text {
  font-family: 'Poppins', 'Raleway', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: normal;
  text-align: justify !important;
}

/* Heading styling */
h4.u-content-1.u-text-heading {
  font-size: 1.3rem;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Poppins', 'Raleway', sans-serif;
}

/* List item styling */
.u-content-1.u-text ul li {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  text-align: left !important;
}

/* Responsive font sizing */
@media (max-width: 768px) {
  p.u-content-1.u-text, 
  .u-content-1.u-text ul li {
    font-size: 1rem;
  }
  
  h4.u-content-1.u-text-heading {
    font-size: 1.2rem;
  }
}

@media (max-width: 575px) {
  p.u-content-1.u-text, 
  .u-content-1.u-text ul li {
    font-size: 0.95rem;
  }
  
  h4.u-content-1.u-text-heading {
    font-size: 1.15rem;
  }
}

/* Left align bullet points - with stronger, more specific selectors */
.u-content-1.u-text ul,
.u-section-1 .u-content-1.u-text ul,
div.u-content.u-sheet.u-sheet-1 .u-content-1.u-text ul {
  text-align: left !important;
  margin-left: 0 !important;
  padding-left: 50px !important;
  list-style-position: outside !important;
}

.u-content-1.u-text ul li,
.u-section-1 .u-content-1.u-text ul li,
div.u-content.u-sheet.u-sheet-1 .u-content-1.u-text ul li {
  text-align: left !important;
  display: list-item !important;
}

/* Ensure all list items are left aligned regardless of context */
li {
  text-align: left !important;
}

/* Override any center alignment from parent containers */
.u-content.u-sheet.u-sheet-1 ul,
.u-content.u-sheet.u-sheet-1 li,
.u-align-center ul,
.u-align-center li {
  text-align: left !important;
}

/* Target nested HTML structure issues with lists inside paragraphs */
p.u-content-1.u-text ul,
p.u-content-1.u-text li {
  text-align: left !important;
}

/* Force list alignment with !important on specific HTML structure */
.u-section-1 ul,
.u-section-1 li {
  text-align: left !important;
}

/* Make Module headings and list text consistent with paragraph size */
.u-content-1.u-text b {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Ensure list text is the same size as paragraph text */
.u-content-1.u-text ul li {
  font-size: 1.1rem !important;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  text-align: left !important;
}

/* Specifically target Module lists */
.u-content-1.u-text p b + ul li {
  font-size: 1.1rem !important;
}

/* Target the specific div structure you're using */
div.u-content-1.u-text p,
div.u-content-1.u-text p b {
  font-size: 1.1rem !important;
  font-family: 'Poppins', 'Raleway', sans-serif !important;
}

div.u-content-1.u-text ul li {
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  font-family: 'Poppins', 'Raleway', sans-serif !important;
}

/* Override any potential inheritance issues */
div.u-content-1.u-text * {
  font-family: 'Poppins', 'Raleway', sans-serif !important;
}

/* Force consistent styling on all list items */
.u-section-1 ul li,
.u-section-1 div ul li,
div.u-content-1.u-text ul li {
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
}

/* Banner styling - updated */
.banner-section {
  width: 100vw; /* Full viewport width */
  height: 133px;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  margin-left: calc(-50vw + 50%); /* This compensates for any parent container padding */
  box-sizing: border-box;
}

.banner-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.logo-container {
  position: absolute;
  top: 50%;
  margin-left: 20px;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px; /* Fixed very small size */
  height: auto;
}

.company-logo {
  height: auto;
  display: block;
  margin-bottom: 2px;
  margin-left: 0;
  margin-top: 0;
  max-width: 252px;
}

.banner-image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.banner-image {
  width: 100vw; /* Full viewport width */
  height: auto; /* Let it maintain aspect ratio */
  min-height: 133px;
  object-fit: cover;
  object-position: center top; /* Position from the top instead of center */
  transform: translateY(-30px); /* Move image up to show more of the top */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-container {
    width: 40px;
    left: 5%;
  }
}

@media (max-width: 575px) {
  .logo-container {
    width: 30px;
    left: 5%;
  }
}

/* Green stripe with white border below */
.green-stripe {
  width: 100vw;
  height: 65px;
  background-color: #86B5AD;
  margin-left: calc(-50vw + 50%);
  box-sizing: border-box;
  border-bottom: 2px solid white; /* Thin white line below the green stripe */
}


/* Enhanced price styling with maximum specificity */
h2.u-align-center.u-text.u-text-default.u-text-4,
.u-section-1 h2.u-align-center.u-text.u-text-default.u-text-4,
section.u-section-1 div.u-content.u-sheet.u-sheet-1 h2.u-align-center.u-text.u-text-default.u-text-4 {
  display: block !important;
  visibility: visible !important;
  font-size: 2.3rem !important;
  font-weight: 400 !important;
  font-family: 'Poppins', 'Raleway', sans-serif !important;
  margin: 30px auto 15px !important;
  color: #111111 !important;
  position: relative !important;
  z-index: 100 !important;
  text-align: center !important;
}

/* Additional styles to ensure the price is visible */
h2.u-text-4::before {
  content: '' !important;
  display: block !important;
  height: 20px !important; /* Creates some space above */
}

h2.u-text-4::after {
  content: '' !important;
  display: block !important;
  height: 5px !important; /* Creates some space below */
}

/* Side-by-side images styling */
.image-row {
  display: flex;
  width: 100%;
  gap: 20px; /* Space between images */
  margin-left: auto;
  margin-right: auto;
}

.image-col {
  flex: 1;
  width: 50%;
}

.image-col img {
  width: 100%;
  height: auto;
  border-radius: 0.40rem !important;
  display: block;
  border: 2px solid #86B5AD;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 575px) {
  .image-row {
    flex-direction: column;
  }
  
  .image-col {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Image container for 2/3 width */
.image-container {
  width: 66.666%; /* 2/3 of original width */
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Ensure the image inside maintains proper styling */
.image-container img {
  max-width: 100%;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .image-container {
    width: 85%; /* Slightly larger on smaller screens */
  }
}

@media (max-width: 575px) {
  .image-container {
    width: 100%; /* Full width on very small screens */
  }
}

/* Image container for 2/3 width with hover expansion capability */
.image-container {
  width: 66.666%; /* 2/3 of original width */
  margin-left: auto;
  margin-right: auto;
  display: block;
  position: relative; /* Needed for positioning context */
}

/* Single image hover effect */
.image-container > a {
  display: block;
  position: relative;
  overflow: visible;
}

.image-container > a img {
  transition: all 0.3s ease;
  max-width: 100%;
  display: block;
}

.image-container > a:hover img {
  position: relative;
  transform: scale(1.5); /* Scales to 3/2 of the current size = original full size */
  z-index: 1000; /* Ensures it appears above other content */
  box-shadow: 0 0 15px rgba(0,0,0,0.3); /* Adds shadow for better visual separation */
}

/* For table-based side-by-side images */
.image-container table img {
  transition: all 0.3s ease;
}

.image-container table a:hover img {
  position: relative;
  transform: scale(1.5);
  z-index: 1000;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .image-container {
    width: 85%;
  }
  
  /* Adjust scale factor for smaller screens */
  .image-container > a:hover img,
  .image-container table a:hover img {
    transform: scale(1.18); /* 100/85 = ~1.18 */
  }
}

@media (max-width: 575px) {
  .image-container {
    width: 100%;
  }
  
  /* No scaling needed on mobile as already at full width */
  .image-container > a:hover img,
  .image-container table a:hover img {
    transform: none;
    box-shadow: none;
  }
}

/* Styling for the new button wrapper to match image width */
.title-button-wrapper {
  width: 400px; /* Same width as the image-wrapper */
  margin: 1px auto 30px; /* Space above and below the button */
  display: flex;
  justify-content: center; /* Center the button horizontally */
}

/* Styling for the new Buy Now button */
.u-btn-title {
  width: 100%; /* Full width of the wrapper */
  display: block !important;
  border-radius: 5px !important;
  background-color: #E8988D !important;
  color: #ffffff !important;
  font-family: 'Poppins', 'Raleway', sans-serif !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  font-size: 1.6rem !important; /* Matches original button */
  letter-spacing: 1px !important;
  text-align: center !important;
  padding: 7px 0 !important; /* Matches original button height */
  transition: background-color 0.3s ease !important;
  box-sizing: border-box !important;
  border: none !important;
}

.u-btn-title:hover {
  background-color: #86B5AD !important;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 575px) {
  .title-button-wrapper {
    width: 340px; /* Match the smaller image width at this breakpoint */
  }
  
  .u-btn-title {
    font-size: 1.4rem !important; /* Slightly smaller font on mobile */
  }
}


/* Three images in a row with equal sizing, hover expansion, synchronized frame and image scaling */

/* Overall section container */
.three-image-section {
  width: 100%;
  margin: 25px auto;
  display: block;
  position: relative;
  overflow: visible;
}

/* Container for the entire row */
.image-row-three {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 10px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

/* Individual column for each image */
.image-col-three {
  flex: 1;
  width: calc(33.333% - 7px);
  max-width: calc(33.333% - 7px);
  position: relative;
  display: block;
  box-sizing: border-box;
  margin: 0;
  overflow: visible;
  z-index: 1;
}

/* When column is hovered, increase its z-index */
.image-col-three:hover {
  z-index: 1000;
}

/* Link container */
.image-link-three {
  display: block;
  position: relative;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

/* Thumbnail container with fixed aspect ratio */
.image-thumb-container {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 aspect ratio */
  border-radius: 0.40rem;
  border: 2px solid #86B5AD;
  box-sizing: border-box;
  overflow: hidden; /* Hide overflow initially */
  transition: border-color 0.3s ease;
}

/* Change border color on hover */
.image-col-three:hover .image-thumb-container {
  overflow: visible;
  padding-top: 0; /* Remove the fixed aspect ratio on hover */
  height: auto;
  min-height: 100%;
}

/* Image styling within thumbnail */
.thumb-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0.38rem;
  border: none;
  margin: 0;
  display: block;
  transition: transform 1.2s ease, box-shadow 1.2s ease;
  transform-origin: center center;
}

/* Image hover effect */
.image-col-three:hover .thumb-image {
  transform: scale(2.7);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  position: relative;
  border-radius: 8px;
  object-fit: contain;
  background-color: white;
}

/* Add background shine effect */
.image-col-three:hover .image-thumb-container::after {
  content: "";
  position: absolute;
  top: -5px; /* Reduced from -10px */
  left: -5px; /* Reduced from -10px */
  right: -5px; /* Reduced from -10px */
  bottom: -5px; /* Reduced from -10px */
  background-color: white;
  border-radius: 12px;
  z-index: -1;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  transform: scale(1);
  opacity: 1;
  transition: opacity 1.2s ease, transform 1.2s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .image-row-three {
    width: 100%;
    gap: 8px;
  }
  
  .image-col-three:hover .thumb-image {
    transform: scale(2.2);
  }
}

@media (max-width: 575px) {
  .image-row-three {
    flex-direction: column;
    gap: 15px;
  }
  
  .image-col-three {
    width: 100%;
    max-width: 100%;
  }
  
  .image-thumb-container {
    padding-top: 66.666%;
  }
  
  .image-col-three:hover .thumb-image {
    transform: scale(1.8);
  }
}

/* GST sticker using ::after pseudo-element */
.image-wrapper::after {
  content: "PLUS GST";
  position: absolute;
  top: 120px; /* Position below the price tag */
  left: 0;
  width: auto;
  min-width: 44px;
  height: 24px;
  padding: 0 10px;
  background-color: rgba(134, 181, 173, 1.0);
  border-radius: 0 1rem 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  color: white;
  opacity: 1; /* Visible by default */
  transition: opacity 0.8s ease;
  z-index: 9;
  letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .image-wrapper::after {
    top: 120px;
  }
}

@media (max-width: 1000px) {
  .image-wrapper::after {
    top: 120px;
  }
}

@media (max-width: 575px) {
  .image-wrapper::after {
    top: 115px;
  }
}

