/* General Reset */
body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  overflow: visible; /* Ensure body is not hiding the preloader */
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
}

#preloader img {
  width: 100px;
  height: 100px;
  animation: jump 0.8s ease-in-out infinite;
}

/* Jump Animation */
@keyframes jump {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Header Section */
.sticky-header {
  position: sticky;
  top: 0;
  background-color: #FFD700; /* Golden Yellow */
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sticky-header .logo {
  max-width: 120px;
}

.sticky-header .contact-info a {
  font-size: 1.2rem;
  font-weight: bold;
}

.navbar .nav-link {
  padding: 10px 20px;
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: var(--primary-color);
}

/* Footer Section */
/* Footer Section */
footer {
  background-color: #FFD700; /* Golden Yellow */
  color: white;
  padding: 20px 0;
  text-align: center;
}

footer p,
footer span, 
footer a {
  font-size: 14px; /* Set font size to 12px */
}

footer a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  color: #f8b400; /* Change color on hover */
}


/* Introduction Section */
.introduction {
  padding: 50px;
  background-color: #f9f9f9;
}

.introduction h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.introduction p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
}

/* About Us Section */
.about-section {
  padding: 30px 0;
}

.about-section .founder-image {
  max-width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-section .founder-image:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-top: 20px;
  transition: opacity 0.5s ease;
}

.about-text:nth-child(1) {
  animation: fadeIn 1s ease-in-out forwards;
}

.about-text:nth-child(2) {
  animation: fadeIn 1.5s ease-in-out forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Why Choose Us Section */
.why-choose-us-section {
  background-color: #fff;
  padding: 50px 0;
}

.why-choose-us-section h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.why-choose-us-section ul {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}

.why-choose-us-section ul li {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  padding-left: 30px;
  position: relative;
}

.why-choose-us-section ul li i {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  color: #f8b400;
}

.why-choose-us-section .founder-image {
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-us-section .founder-image:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Certifications Section */
.certifications-section {
  background-color: #f9f9f9;
  padding: 50px 0;
}

.certificate {
  text-align: center;
}

.cert-img {
  width: 100%;
  cursor: pointer;
  border-radius: 5px;
}

.cert-img:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease-in-out;
}

/* Modal styles */
.modal-dialog {
  max-width: 80%; /* Increase modal width */
}

.modal-content {
  text-align: center;
}

#certificate-img {
  width: 100%; /* Make image responsive */
  max-width: 90vw; /* Allow image to take up most of the screen width */
  max-height: 90vh; /* Prevent image from exceeding viewport height */
  object-fit: contain; /* Ensure the whole image is visible */
}


/* Our Products Section */
.products-section {
  padding: 50px 0;
}

/* General Product Container Styles */
.product-container {
  padding: 50px 0;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-container:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Background Colors */
.groundnut-bg {
  background: linear-gradient(to right, #FFD700, #FFCC00);
}

.coconut-bg {
  background: linear-gradient(to right, #FFDDC1, #F5A623);
}

.sesame-bg {
  background: linear-gradient(to right, #E6B17E, #D99A6C);
}

/* Product Title */
.product-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: #333;
  text-transform: uppercase;
  margin-bottom: 15px;
  animation: fadeIn 1s ease-in-out;
}

/* Product Price */
.product-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 15px;
}

/* Product Bullet Points */
.product-points {
  text-align: left;
  list-style: none;
  font-size: 1.2rem;
  line-height: 1.8;
  padding-left: 0;
}

.product-points li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.product-points li::before {
  content: "✔"; 
  position: absolute;
  left: 0;
  top: 0;
  color: green;
  font-size: 1.5rem;
}

/* Product Image */
.product-image {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-image:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Animation Effects */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .product-container {
    padding: 30px 10px;
  }

  .product-image {
    max-width: 300px;
  }

  .product-points {
    font-size: 1rem;
  }
}

/* Pay Now Section */
#pay-now {
  padding: 50px 0;
  background-color: #f8f9fa; /* Light background for the section */
}

#pay-now .container {
  max-width: 1000px; /* Adjust the max-width of the container */
  margin: 0 auto;
}

#pay-now h2 {
  font-size: 32px;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 20px;
  text-align: center;
}

#pay-now p {
  font-size: 16px;
  color: #495057;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 30px;
}

/* Row container with flexbox */
#pay-now .row {
  display: flex;
  justify-content: space-between; /* Ensure columns are spaced evenly */
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping only if necessary */
}

.bank-details, .gpay-qr, .crypto-qr {
  background-color: #FFD700; /* Golden Yellow */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  flex: 1 1 calc(33.33% - 20px); /* Ensure three columns take equal width (with a gap) */
  text-align: center;
  margin-bottom: 20px; /* Space between rows in case of wrapping */
}

.bank-details h4, .gpay-qr h4, .crypto-qr h4 {
  font-size: 20px;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 15px;
}

.bank-details p, .gpay-qr p, .crypto-qr p {
  font-size: 16px;
  color: #495057;
}

.qr-code-container {
  text-align: center;
  margin-bottom: 15px;
}

.gpay-qr, .crypto-qr {
  display: flex; /* Flexbox for stacking content vertically */
  flex-direction: column; /* Stack content vertically */
  align-items: center; /* Horizontally center content */
  justify-content: center; /* Vertically center content */
}

.gpay-qr img, .crypto-qr img {
  max-width: 250px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

/* Hover effects */
.bank-details:hover, .gpay-qr:hover, .crypto-qr:hover {
  transform: translateY(-5px);
}

.gpay-qr img:hover, .crypto-qr img:hover {
  transform: scale(1.1);
}

/* Media Query for small screens */
@media (max-width: 768px) {
  /* Adjust the row to stack columns on smaller screens */
  #pay-now .row {
    flex-direction: column; /* Stack the columns vertically */
  }

  .bank-details, .gpay-qr, .crypto-qr {
    flex: 0 0 100%; /* Ensure columns take full width on small screens */
    max-width: 100%;
  }
}


/* Additional Text After Columns */
#pay-now .additional-text {
  margin-top: 30px;
  font-size: 16px;
  color: #495057;
  text-align: center;
  line-height: 1.6;
  font-weight: 500;
}

/* Contact Us Section */
.contact-us {
  padding: 50px;
  background-color: #f9f9f9;
}

.contact-us h3 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.contact-us .form-control {
  margin-bottom: 20px;
}

.contact-us .btn-primary {
  background-color: #FFD700; /* Golden Yellow */
  color: white;
  border: none;
}

.contact-us .btn-primary:hover {
  background-color: #f8b400;
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  display: none;
  padding: 10px 12px;
  background-color: #FFD700; /* Golden Yellow */
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 0.8rem;
  cursor: pointer;
}

#backToTop:hover {
  background-color: #f8b400;
}


@media (max-width: 768px) {
  #backToTop {
    display: block; /* Ensure the button is visible */
    bottom: 10px; /* Adjust for smaller screens */
    right: 10px; /* Adjust for smaller screens */
    padding: 8px 10px; /* Smaller button size for mobile */
    font-size: 0.7rem; /* Adjust font size for mobile */
  }
}

#backToTop {
  z-index: 9999; /* Ensure it appears above other elements */
}

#backToTop {
  bottom: 10px; /* Move closer to the screen bottom */
  right: 10px;  /* Move closer to the screen edge */
}
