/* Importing the Playfair Display font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
/* Base font size for mobile first approach */


:root {
  --accent-green: #2C5F2D;
  --accent-grey: #333333;
  --accent-orange: #D17A22;
  --background-white: #ffffff;
  --soft-grey: #d4d1d1;
  --white: #ffffff;
  --black:#000000;
  --font:#3a3636;
}
html {
  font-size: 14px;  /* Base font size is 14px for mobile */
}

body {
  font-family: 'Open Sans', sans-serif;
  padding-top: 4.5rem;
}

/* Universal Styles */
* {
  box-sizing: border-box;
}
/* Form control no rounding */
input.form-control, .form-select{
  border-radius:0 !important; /* Remove border radius */
  border: 1px solid var(--accent-grey)!important;
  width: 90% 
}

/* Green text accent */
.green {
  color: var--background var(--accent-green);
}
/* General Heading Styles */
/* General Heading Styles */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', sans-serif;  /* Apply the Playfair Display font to all headings */
  color: var(--font);  
  line-height: 1.3;  
  margin-bottom: 1rem;
  font-size: inherit; /* Ensure font size can be overridden correctly */
}

/* Specific styles for each heading level */
/* Specific styles for each heading level */
h1 {
  font-size: clamp(2.5rem, 8vw, 5rem) !important;  /* Fluid font size for h1 */
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 6vw, 4rem) !important;  /* Fluid font size for h2 */
  font-weight: 700 !important;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

h3 {
  font-size: clamp(1.75rem, 5vw, 5rem) !important;  /* Fluid font size for h3 */
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

h4 {
  font-size: clamp(1.25rem, 4vw, 4rem) !important;  /* Fluid font size for h4 */
  font-weight: 500 !important;
  letter-spacing: -0.005em;
  line-height: 1.4;
}

h5 {
  font-size: clamp(1rem, 3.5vw, 3rem) !important;  /* Fluid font size for h5 */
  font-weight: 400 !important;
  letter-spacing: 0em;
  line-height: 1.5;
}

h6 {
  font-size: clamp(1.5rem, 3vw, 2rem) !important;  /* Fluid font size for h6 */
  font-weight: 300 !important;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

/* Links inside headings (optional) */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  text-decoration: none;  /* Remove underline for links */
  color: inherit; /* Ensure the link color matches the heading */
}
/* General Paragraph Styling */
p {
  font-family: 'Open Sans', sans-serif; /* Use Open Sans for paragraphs */
  font-size: clamp(0.875rem, 2.5vw, 1.125rem); /* Responsive from 14px → 18px */
  line-height: 1.6;
  color:var(--font);
  letter-spacing: 0.03125em;
  margin-bottom: 1.5rem;
  text-align: left;
}

/* Optional: Styling for links within paragraphs */
p a {
  color: var(--accent-green); /* Link color to match the brand's green */
  text-decoration: none; /* Remove underline */
  transition: color 0.3s ease; /* Smooth transition for hover effect */
}

p a:hover {
  color:var(--accent-orange); /* Darker green on hover for an interactive feel */
}

/* Navbar styling */
/* Base: Mobile styles */
.navbar {
  background-color:var(--background-white);
  border-bottom: 1px solid var(--soft-grey);
  padding: 0.5rem 1rem; /* Slightly more padding for tap targets */
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  width: 100%;
}

.navbar-brand {
  margin-left: 0;
  padding: 0;
  font-size: 1.25rem;
}

.navbar-toggler {
  border: none;
  background: transparent;
  font-size: 1.25rem;
  cursor: pointer;
  margin-right: 1rem; 
}

.navbar-collapse {
  display: none;
  flex-direction: column;
  width: 100%;
}

.navbar-collapse.show {
  display: flex;
  margin-top: 0.5rem;

}

.navbar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-direction: column;
  width: 100%;
}

.navbar-nav .nav-item {
  margin: 0.5rem 0;
}

.navbar-nav .nav-link {
  font-size: 1rem;
  color: gray;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link img {
  height: 1.25rem;
  width: auto;
  margin-right: 0.3125rem;
}

.nav-item:hover .nav-link {
  color: var(--accent-green);
}

.login-link,
.cart-link {
  color:var(--soft-grey)!;
  text-decoration: none;
}

/* Tablet and up (min-width: 768px) */
@media (min-width: 768px) {
  .navbar {
    flex-wrap: nowrap;
    padding: 0.5rem 2rem;
  }

  .navbar-collapse {
    display: flex !important;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: auto;
    margin-top: 0;
  }

  .navbar-nav {
    flex-direction: row;
    width: auto;
  }

  .navbar-nav .nav-item {
    margin-left: 1rem;
    margin-right: 0;
  }

  .navbar-toggler {
    display: none;
  }
}

/* Optional: Large screen spacing */
@media (min-width: 1024px) {
  .navbar {
    margin-right: 8rem;
  }
}
/* Shared styles for both links */
.login-link,
.cart-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--accent-grey);
  font-size: 1rem;
  padding: 0.5rem;
  justify-content: center; /* Centered icon on mobile */
  position: relative;
}

/* Material icon styling */
.login-link i,
.cart-link i {
  font-size: 1.5rem;
}

/* Hide text labels on mobile */
#login,
#cart {
  display: none;
}

/* Cart count bubble */
#cart-count {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color:var(--accent-green);
  color: var(--white);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}





/* Ensure nav-item alignment (if within .navbar-nav) */
.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.5rem;
}

/* Tablet and up: show labels */
@media (min-width: 768px) {
  #login,
  #cart {
    display: inline;
    margin-left: 0.25rem;
  }

  .login-link,
  .cart-link {
    justify-content: flex-start;
  }

  #cart-count {
    top: -0.4rem;
    right: -0.4rem;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.875rem;
  }
}

/* Optional: Desktop refinements */
@media (min-width: 1024px) {
  #cart-count {
    top: -0.5rem;
    right: 2rem;
  }
}

/* Nav ends*/

/* Button styling */

.btn-rect {
  background-color:var(--accent-green);
  color: var(--white)!important;
  padding: 0.75rem 1.5rem; /* Consistent padding */
  border: none;
  font-size: 1rem; /* Fixed font size */
  cursor: pointer;
  transition: background-color 0.3s ease;
  letter-spacing: 0.05em; /* Slight letter spacing for a professional touch */
  display: inline-block;
  text-align: center;
  max-width: 100%; /* Allow button to adjust with content */
  width: auto; /* Make button width adjust based on content */
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Hide overflowed text */
  text-overflow: ellipsis; /* Add ellipsis for long text */
  margin: auto 0; /* Center the button */
}

/* Optional: Adjust padding and font size for small screens */
@media (max-width: 480px) {
  .btn-rect {
    padding: 0.5rem 1.25rem; /* Adjust padding for small screens */
    font-size: 0.9rem; /* Slightly smaller font size on small screens */
  }
}

/* Optional: Adjust padding and font size on larger screens */
@media (min-width: 1024px) {
  .btn-rect {
    padding: 0.75rem 2rem; /* Adjust padding for larger screens */
    font-size: 1.125rem; /* Slightly larger font size on large screens */
  }
}

.btn-rect:hover {
  background-color: var(--accent-orange); /* Darker on hover */
}

.btn-wrapper {
  text-align: center;
}
/* end button styling */


/* Hero Section - Mobile First */
.hero {
  display: flex;
  justify-content: center; /* Center content on mobile */
  align-items: center; /* Center vertically */
  height: 60vh; /* Smaller height for mobile */
  background-image: url('images/heroimage.jpeg');
  background-size: cover;
  background-position: center;
  padding: 2rem;
  color:var(--white);
  text-align: center; /* Center text for mobile */
}

/* Container holds the content */
.hero-container {
  display: flex;
  justify-content: center; /* Center container on mobile */
  align-items: center;
  flex-direction: column;
  width: 100%;
}

/* Hero Content Block */
.hero-content {
  width: 100%;
  padding: 1.5rem;
  background-color: rgba(61, 59, 59, 0.5);
  color:var(--white);
  text-align: center;
  margin: 0 auto;
}

/* Adjustments for Tablets (min-width: 768px) */
@media (min-width: 768px) {
  .hero {
    height: 75vh; /* Increase the height for tablets */
    justify-content: flex-start; /* Align content to the top */
    padding: 2rem; /* Padding adjustment for tablets */
  }

  .hero-container {
    text-align: left; /* Align text left for tablets */
  }

  .hero-content {
    max-width: 80%; /* Limit the width on larger screens */
    padding: 2rem; /* Increase padding for readability */
    margin-left: auto; /* Push content to the left */
    margin-right: 0;
  }
}

/* Adjustments for Desktops (min-width: 1024px) */
@media (min-width: 1024px) {
  .hero {
    height: 90vh; /* Full viewport height for desktops */
    padding: 3rem; /* More padding on desktop */
  }

  .hero-container {
    text-align: left; /* Keep text aligned to the left */
  }

  .hero-content {
    max-width: 700px; /* Limit content width for desktops */
    width: 100%;
    padding: 3rem; /* More padding for better spacing */
    margin-left: auto; /* Push content to the right */
    margin-right: 0;
  }
}
  /* Hero section ends */
  
  /* Home page section two */
   .product {
    background:var(--white);
    /* padding: 1rem; */
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
    height:50vh;
    overflow: hidden;
  }


.product img {

  width: 100%;
  height: 50%;
  object-fit: cover; 
} 

/*end*/

/* Section Three */

.green-plant-image{ 
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
 }


/* Section 4 */


.category {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* Makes it 4:3 ratio and responsive! */
  color:var(--white);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

/* Specific background images for each category */
.category1 {
  background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)),
              url("images/Blackberries.jpg") center/cover no-repeat;
}

.category2 {
  background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)),
              url("images/Beets.jpg") center/cover no-repeat;
}

.category3 {
  background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)),
              url("images/All_Seasons_Box.jpg") center/cover no-repeat;

}

/* footer */
footer{
  background-color:var(--accent-green);
}
@media (min-width: 768px) {
  .footer-text, footer a{
    font-size: 1.2rem;
    line-height: 1.6;
    letter-spacing: 0.03125em;
    margin-bottom: 1.5rem;
    text-align: left;
    font-weight: 300;
  
  }
}


footer h6{
  font-size: 1.3rem!important;
  font-family: 'open sans', sans-serif;
  font-weight: 400;
}

.footer-logo {
  max-width: 120px!important; /* Mobile first */
  height: auto!important;
}

@media (min-width: 768px) {
  .footer-logo {
    max-width: 50px; /* Bigger logo on medium and up */
    margin-top: -1rem;
  }
}



footer .btn-rect{

  color: #ffffff !important;
  text-align:center;
  border:var(--white) 1px solid !important; 

}

.splash-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s;

}


.splash-modal h6{
  color: var(--accent-grey);
}
.splash-content {
  background: var(--white);
  padding: 30px;
  text-align: center;
  color: var(--soft-grey);
  position: relative;
  max-width: 600px;

}
.splash-content img {
  width: 100px;
}
.splash-content .close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;

}

.splash-content button {
  color: var(--black);
  font-weight: bold;
}

.splash-title {
  font-size: 2.5em;
  font-weight: bolder;
}

.splash-controls {
  /* flex:1; */
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 10px;
}

/* NEW USER REGISTRATION PAGE STYLES */

.registration-container {
  max-width: 500px;
  margin: 50px auto;
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 10px;
  border: 2px solid var(--accent-green);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.registration-container h1 {
  font-size: 2.5em !important;
  font-weight: bolder;


}

.registration-container label {
  font-size: 1.2em;
}

.registration-container input {
  border: 1px solid var(--var(--black));
}

.registration-container select {
  border: 1px solid var(--var(--black));
}
/* 
.form-buttons {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 20px;
} */

/* .form-buttons button {
  background-color: #ffa64d;
  color: var(--black);
  font-weight: bold;
} */

.address-1,
.address-2 {
  display: flex;
  gap: 5px;
}

/* USER PROFILE PAGE STYLES */

.profile-container {
  max-width: 600px;
  margin: 50px auto;
  background: var(--accent-green);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: 2px solid green;
  text-align: center;
}
.profile-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin-bottom: 10px;
}
#edit-btn {
  background-color:var(--accent-orange);
  color: var(--var(--black));
  font-weight: bold;
}

.edit-form input {
  width: 50%;
  border: 1px solid var(--var(--black));
}

#save-btn {
  background-color: var(--accent-orange);
  color: var(--var(--black));
  font-weight: bold;
  margin-bottom: 20px;
}

.edit-form {
  display: none;
}

/* LOGIN PAGE STYLES */

.login-container {
  max-width: 500px;
  margin: 50px auto;
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  color: var(--var(--black));
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.login-container input {
  border: 1px solid rgb(91, 90, 90);
}


.login-form-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px;
}

/* CONTACT PAGE STYLES */

.contact-container {
  max-width: 800px;
  margin: 50px auto;
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  color: var(--var(--black));
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: 2px solid #2C5F2D; 
}
.contact-icon {
  font-size: 30px;
  margin-bottom: 10px;
  color: #ff5e62;
}

.contact-form input {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid var(--var(--black));
  margin-bottom: 10px;
}

.contact-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid var(--var(--black));
  margin-bottom: 10px;
}

.contact-form button {
  background-color: var(--accent-orange);
  color: var(--black);
  font-weight: bold;
}

/* ABOUT US PAGE STYLES */

.story_image {
  width: 100%;
  /* height: 50%; */
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 50%;
}


.why-choose-us {
  padding-top: 2%;
  padding-bottom: 5%;

  
}

.why-choose-us p {
   
    color: var(--white)!important;
  }
.our_mission p {
  margin-bottom: 10px;
}
.our_mission{
  margin-top: 100px;
}

.our_story p {
  margin-bottom: 10px;
}

.rounded {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

.choice {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* CHECKOUT PAGE STYLES */

#shopping_cart h1{
  font-size: 1.7rem !important;



}
.delivery_info {
  margin: auto;
}

.delivery-cust-name,
.delivery-cust-contact {
  display: flex;
  width: 80%;
  gap: 5%;
}

.delivery-cust-name .form-control {
  border: 1px solid var(--black);
}

.delivery-cust-contact .form-control {
  border: 1px solid var(--black);
}

.delivery-cust-address .form-control {
  border: 1px solid var(--black);
  width: 80%;
}

.delivery-cust-address .address-1 {
  /* border: 1px solid var(--black); */
  width: 50%;
  gap: 5%;
}

.delivery-cust-address .address-2 {
  /* border: 1px solid var(--black); */
  width: 50%;
  gap: 5%;
}

.delivery-time {
  display: flex;
  /* width: 50%; */
}

.delivery-time .form-control {
  border: 1px solid var(--black);
  width: 50%;
}

.delivery-text {
  margin: auto;
}

.card-details button {
  background-color: #ffa64d;
  color: var(--black);
  font-weight: bold;
  margin-bottom: 10%;
}

.payment_info {
  border: 1px solid var(--black);
  border-radius: 10px;
  margin-bottom: 5%;
}

/* SHOPPING CART PAGE */

.cart-items {
  margin-bottom: 30px;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 15px;
  background-color: #fff;
}

.cart-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-right: 20px;
}

.cart-item-details {
  flex: 1;
}

.cart-item-details h4 {
  font-size: 1.2em;
  margin-bottom: 5px;
}

.cart-item-details p {
  margin: 5px 0;
  color: #555;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-controls input {
  width: 60px;
  padding: 5px;
  text-align: center;
  border: 1px solid #ddd;

}

.cart-item-controls button {
  background-color: #ff4d4d;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}

.cart-item-controls button:hover {
  background-color: #ff1a1a;
}

/* Cart Summary */
.cart-summary {
  padding: 20px;
  border: 1px solid #ddd;
  background-color: #fff;
}

.cart-summary h3 {
  font-size: 1.2em;
  margin-bottom: 15px;
}

.cart-summary p {
  font-size: 1.1em;
  margin: 10px 0;
}

.cart-summary button {
  margin-top: 20px;
}

.cart-summary a {
  background-color: var(--accent-orange);
  color: var(--black);
  font-weight: bold;
  margin-bottom: 10%;
}

 .form-control{
  border: 1px solid var(--black)!important;

}

/* REWARD PAGE STYLES */

.reward-section {
  margin-top: 150px; 
  display: flex;
  justify-content: space-between; /* Aligns content on both sides */
  align-items: top; /* Vertically centers the items */
  gap: 10px; /* Creates space between left and right content */
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 100px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Left side content */
.reward-content {
  max-width: 50%; /* Ensures text doesn't stretch too much */
}

.reward-content h3 {
  color: green;
  margin-bottom: 20px;
  font-weight: 600;
}
.reward-content span {
  color: green;
}
.reward-content h2 {
 
  margin-top: 0;
  color: #333;
  margin-bottom: 80px;
}

.reward-content p {
  color: #555;

}

/* Right side image */
.reward-image img {
  width: 60%;
  height: auto;
  margin-left: 100px;
  max-width: 60%; /* Restricts image size */
 
}

/* Rewards Detail Section and Create an Account */

.rewards-details {
  padding: 50px 0;
  color: #555;
}

.container {
  max-width: 85%;
}

/* Use Flexbox on .row to split the section into two columns */
.rewards-details .row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Left Column (Quick Points) */
.rewards-details .left-column {
  flex: 1; /* This will make the left column take up equal space */
  padding-right: 30px;
}

.rewards-details h6 {
  margin-bottom: 40px;
  color: var(--accent-green);
  font-weight: 600;
  padding-left: 100px;
  margin-left: 40px;
}

.rewards-details ul li strong {
  white-space: nowrap; /* Prevent wrapping inside the strong element */
}

.rewards-details ul li strong + span {
  display: inline-block; /* Ensure following text stays on the same line */
}

.rewards-details ul {
  list-style-type: none;
  padding-left: 20px;
  margin-left: 100px;
  width: 150%;
}
.rewards-details ul li i {
  margin-right: 10px; /* Add some space between the icon and the text */
}

.rewards-details ul li {
 
  margin-bottom: 10px;
  display: flex; /* Using flexbox */
  align-items: flex-start; /* Align the icon and text at the top */
}

/* Right Column (Login and Sign-Up) */
.rewards-details .right-column {
  flex: 1; /* This will make the right column take up equal space */
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

}
.right-column {
  margin-left: 400px;
}
.reward-section
.rewards-details form {
  margin-top: 20px;
}

.rewards-details .form-group {
  margin-bottom: 15px;
}

.rewards-details .form-control {
  width: 100%;
  padding: 10px;
  
}

.rewards-details button {
  width: 100%;
  padding: 10px;
  font-size: 1.1em;

}


*/ .rewards-details .btn-secondary {
  /* For create account */
  border: green 1px solid;
}

/* .rewards-details .btn-primary:hover, .rewards-details .btn-secondary:hover {
    opacity: 0.8;
  }
  
  .rewards-details .forgot-password-link {
    display: block;
    text-align: center;
    font-size: 1em;
    color: #696969;
    margin-top: 10px;
    text-decoration: none;
  }
  
  .rewards-details .forgot-password-link:hover {
    text-decoration: underline;
  }
  
  .rewards-details .create-account-btn {
    display: block;
    margin: 20px auto;
  } */

.form-group .form-control {
  border: 1px solid var(--black);
}

.login-form button {
  background-color:var(--accent-green);
  color: var(--black);
  font-weight: bold;
  margin-bottom: 10%;
}

/* PROMOTIONS PAGE STYLES */

/* CSS for promotions page*/

.card,
.card-header,
.card-body,
.card-footer,
.card-img-top
{
    border-radius: 0 !important;
}
.card {
  margin: 0 15px;
  height: 32em;
  padding: 0 15px;
  background-color:var(--white);
  text-align: center;
  max-width: 220px; /* Limit the card's max width */
  width: 100%; /* Ensure the card takes up full width within the row */
  box-sizing: border-box; /* Ensure padding and borders are included in width */
}

/* Card image should have a consistent size */
.card-img-top {
  padding-top: 1.5rem; /* Space between image and card body */
  width: 100%;
  height: 200px;
  object-fit: cover; /* Maintain aspect ratio of the images */
}

/* Flexbox properties for responsive cards */
@media (min-width: 768px) {
  .card {
    flex: 0 0 30%; /* 3 cards per row on medium screens and above */
  }
}

@media (max-width: 767px) {
  .card {
    flex: 0 0 48%; /* 2 cards per row on smaller screens */
  }
}

@media (max-width: 575px) {
  .card {
    flex: 0 0 100%; /* 1 card per row on very small screens */
  }
}


/* General Styling for the Product Card */
.produce-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start; /* Align to the left for better flow */
    padding: 0 40px;
    background-color: #fff;
  }
   
  /* Product Title */
  .produce-card h6 {
    font-size: 1.4rem !important;
    color: #333;
    margin-bottom: 10px; /* Reduced space below title */
  }
  
  /* Card Body */
  .card-body {
    line-height: 1.4em; /* Reduced line height for tighter spacing */
    padding: 0;
    flex-grow: 1;
  }
  
  .card-text, .card-title {
    text-align: left;
    margin: 3px 0; /* Reduced space between text elements */
  }
  
  /* Product Description */
  .produce-card p {
    color: #737171;
    font-size: 1.2em;
  }
  
  /* Price Styling */
  .produce-price {
    font-size: 1.25em;
    font-weight: 600;
    color: #2C3E50;

  }
  
  /* Carbon Credit (or additional info) */
  .produce-carbon-credit {
    font-size: 0.9\em;
    color: #777;

  }
  
  /* Container Styling */
  .produce-container {
    margin: 20px auto;
    max-width: 350px;
    width: 100%;
  }
/* Styling for the form control (quantity input) */
.produce-card .form-control {
  width: 80%;
  margin-top: 10px;
  margin-bottom: 10px;
  align-self: center;
}

/* Styling for the "Add to Cart" button */
.add-to-cart-btn-promotions {
  padding: 10px 20px;
  /* background-color: #013e0f; /* Green color for the button */
  /* color: white;  */
  background-color: #ffa64d;
  color: rgb(255, 255, 255);
  font-weight: bold;
  border: none;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.1s ease, width 0.1s ease;
  width: 40%;
  margin-top: 10px;
  display: block;
  position: relative;
  text-align: center;
  text-overflow: ellipsis; /* Ensure text fits */
  white-space: nowrap; /* Prevent text from wrapping */
  top: -620px;
  left: 75px;
  z-index: 1;
}

/* Hover effect: change the button text */
.add-to-cart-btn-promotions:hover {
  background-color: #218838; /* Darker green when hovered */
  width: 85%;
}
/* About us page*/

.why-choose-us{
font-size: 1.3rem;
}
/* Modal styles */
/* Modal styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Black overlay */
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  width: 400px;
  text-align: center;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
}

/* Media query for mobile screens */
@media (max-width: 768px) {
  .rewards-details .row {
    flex-direction: column; /* Stack the columns vertically */
    align-items: center; /* Center align the content */
    text-align: center; /* Center text alignment */
  }

  .rewards-details .left-column,
  .rewards-details .right-column {
    width: 100%; /* Make columns take full width */
    margin-bottom: 20px; /* Add spacing between stacked columns */
  }

  .rewards-details .left-column ul {
    padding-left: 0; /* Remove default padding for unordered lists */
  }

  .rewards-details .right-column form {
    width: 100%; /* Ensure the form takes full width */
  }
}

@media (max-width: 720px) {
  /* On smaller screens, stack the content */
  .reward-section {
    flex-direction: column;
    text-align: center;
  }

  /* Media query for mobile screens */
  @media (max-width: 768px) {
    .reward-content {
      text-align: center; /* Center-align the text */
      padding: 20px; /* Add padding for better spacing */
    }

    .reward-content h1 {
      font-size: 1.8rem; /* Adjust the font size for the heading */
      line-height: 1.4; /* Improve line spacing */
    }

    .reward-content h3 {
      font-size: 1.5rem; /* Adjust the subheading font size */
      margin-bottom: 15px; /* Add spacing below the subheading */
    }

    .reward-content p {
      font-size: 1rem; /* Adjust the paragraph font size */
      line-height: 1.6; /* Improve readability */
    }
  }

  .reward-image img {
    max-width: 90%; /* Image width becomes 90% on smaller screens */
  }
}

/* Media query for mobile screens */
@media (max-width: 768px) {
  .subscribe.col-md-3,
  .col-md-2 {
    text-align: center; /* Center-align the text */
    margin: 0 auto; /* Center the elements horizontally */
    padding: 20px 0; /* Add padding for better spacing */
  }

  .subscribe.col-md-3 input[type="email"] {
    width: 100%; /* Make the email input field take full width */
    margin-bottom: 10px; /* Add spacing below the input field */
  }

  .subscribe.col-md-3 button {
    width: 80%; /* Make the button take full width */
  }

  .col-md-2 .social-icons {
    justify-content: center; /* Center-align social icons */
    display: flex; /* Use flexbox for alignment */
    gap: 10px; /* Add spacing between icons */
  }
}

/* Media query for mobile screens */
@media (max-width: 768px) {
  .col-md-6 {
    text-align: center; /* Center-align the text and content */
    margin: 0 auto; /* Center the columns horizontally */
    padding: 20px 0; /* Add padding for better spacing */
  }

  .col-md-6 img {
    max-width: 100%; /* Ensure the image scales properly */
    height: auto; /* Maintain the aspect ratio of the image */
  }

  .col-md-6 .content h1 {
    font-size: 1.8rem; /* Adjust the font size for the heading */
    line-height: 1.4; /* Improve line spacing */
  }

  .col-md-6 .content p {
    font-size: 1rem; /* Adjust the paragraph font size */
    line-height: 1.6; /* Improve readability */
  }
}

SHOP PAGE STYLES

/* Produce Page*/
/* Ensure that the container holds products in a grid-like fashion */
.container {
  width: 100%;
  margin: 0 auto;
}

/* Card style for each product */

/* Styling for the card body */
/* Tighten the spacing between <p> tags inside the card-body */
.card-body p {
  margin: 0; /* Remove default margin completely */
  padding: 0; /* Remove any default padding */
}

.card-body .produce-price {
  font-weight: bold;
  color: #333;
  margin-top: 0.25rem; /* Add minimal space before the price */
}

.card-body .produce-discount {
  font-size: 0.9rem;
  color: #28a745; /* Green for discount */
  margin-top: 0.125rem;/* Even less space for the discount */
}

/* Optionally, add slight spacing at the bottom of the card-body for clarity */
.card-body {
  padding-bottom: 0.625rem;
}
.produce-discount {
  font-size: 1rem;
  color: white!important;
  background-color: #ff8c00; /* Green background for a "success" feel */
  padding: 0.21875rem 0.875rem;
  font-weight: bold;
  display: inline-block;
  margin-top:0.25rem; /* Space between price and discount */
}

.produce-discount::before {
  content: "SAVE "; /* Add text before the percentage */
  font-weight: bold;
}

  
    /* Container styling ended */


    /* Shop Page */
/* Styling for the product card */
.produce-card .form-control {
  width: 80%;
  margin-top: 0.625rem;
  margin-bottom: 0.625rem;
  align-self: center;
}

/* Styling for the filter input */
#filter {
  width: 100%;
  padding: 10px;
  margin: 20px 0;
  border-radius: 5px;
  border: 1px solid #ddd;
  font-size: 1em;
}

/* Styling for the "Add to Cart" button */


/* Default styles for smaller screens (mobile) will be written later */


  

/* Mobile-first default styles */
.image-container {
  position: relative;
}

.add-to-cart-btn {
  position: relative;
  top: -50vh; /* 25% of viewport height */
  left: 50%;
  transform: translateX(-50%); /* center horizontally */
  padding: 0.75rem 1.5rem; /* roughly 12px 24px, but scalable */
  background-color: #2C5F2D;
  color: #fff;
  font-weight: bold;
  border: none;
  font-size: 1em; /* inherits scaling from root font size */
  cursor: pointer;
  transition: background-color 0.1s ease, width 0.1s ease;
  width: auto;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 1;
  
}

/* For larger screens (desktop/tablet) */
@media (min-width: 768px) {
  .add-to-cart-btn {
    position: relative;
    top: -420px;
    left: 175px;
    transform: none;
    width: 40%;
    margin-top: 10px;
  }
}



/* Hover effect: change the button text */
.add-to-cart-btn:hover {
  background-color:#D17A22;
  width: 85%;
}

/* SUSTAINABILITY PAGE */

.hero_sus {
  background: url("images/sustainability_hero.jpeg") no-repeat center
    center/cover;
  color: green;
  text-align: left;
  padding: 100px 20px;
}
.hero_sus h1 {
  font-size: 3rem;
  font-weight: bold;
}
.section {
  padding: 50px 20px;
}
.icon {
  font-size: 3rem;
  color: #28a745;
}
.eco-card {
  border: 2px dashed greenyellow;
  transition: transform 0.3s;
  background: white;

  border-radius: 10px;
  padding: 20px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  text-align: center;
}
.eco-card:hover {
  transform: scale(1.05);
}
.eco-card p {
  color: var(--black);
}
.eco-card h4 {
  color: var(--black);
}
.cta {
  background-color: #28a745;
  color: white;
  padding: 50px 20px;
  text-align: center;
}
.cta a {
  background-color: #ffa64d;
  color: var(--black);
  font-weight: bold;
  /* color: white;
    text-decoration: none;
    font-weight: bold; */
}
.cta a:hover {
  background-color: #218838; /* Darker green when hovered */
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
}

.cart-badge {
  background-color: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
  position: absolute;
  top: 10px;
  right: 10px;
}

@media (max-width: 768px) {
  /* Adjust the max-width as needed */
  .testimonial {
    display: none;
  }
  .right-text {
    display: none;
  }
  .promotions1 {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
}
