.website-section {
  background: #ffffff;
  border-radius: 18px;
  margin: 48px auto 32px auto;
  padding: 36px 18px 32px 18px;
  max-width: 1000px;
  box-shadow: 0 4px 24px #3a5a9811, 0 1.5px 4px #3a5a9811;
  text-align: center;
}
.website-section h2 {
  color: #1e3a8a;
  font-size: 2em;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.website-section p {
  color: #444;
  font-size: 1.15em;
  margin-bottom: 22px;
  line-height: 1.7;
}
.website-section img {
  max-width: 95%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 12px #0001;
  margin-top: 18px;
}
@media (max-width: 700px) {
  .website-section {
    padding: 18px 2vw 18px 2vw;
    max-width: 98vw;
  }
  .website-section h2 {
    font-size: 1.3em;
  }
}
/* Landing Page Styles */
body {
    margin: 0;
    font-family: 'Heebo', sans-serif;
    background: #cfeff1;
    color: #333;
    min-height: 100vh;
    width: 100vw;
    direction: rtl; /* Ensure the entire page follows RTL direction */
    text-align: center; /* Align all text to the center */
    overflow-x: hidden; /* prevent horizontal scroll */
}

*, *::before, *::after {
    box-sizing: border-box; /* Ensure padding and borders are included in width and height calculations */
}

h1 {
  font-size: 2.2em;
  margin-bottom: 18px;
  text-align: center;
}



/* CTA and Product Buttons */
.cta-button {
    background: #376ecb;
    color: white !important;
    border: none;
    border-radius: 5px;
    padding: 12px 24px;
    font-size: 1.1em;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin: 4px 4px 4px 0;
    transition: transform 0.3s, background 0.3s;
    box-shadow: 0 2px 8px #0002;
}

.cta-button:hover {
    background: #0056b3;
    transform: scale(1.05);
}

/* contact Section */
.contact-section {
    background: #9893c3;
    padding: 20px;
    width: 100%;
    text-align: center;
    form {
        max-width: 600px;
        margin: 0 auto;
    }
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    font-family: Arial, sans-serif; /* Ensure consistent font across all form elements */
}

.contact-form textarea {
    resize: none; /* Prevent the message box from being resizable */
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 0; 
    width: 100%; /* Ensure the header and footer span the full width of the page */
    box-sizing: border-box; /* Include padding and borders in the width calculation */
}

.social-links a {
    color: #1abc9c;
    margin: 0 10px;
    font-size: 1.2em;
    text-decoration: none;
}

.social-links a:hover {
    color: #16a085;
}

#order-button {
    display: inline-block;
    text-align: center;
    width: 200px;
    padding: 12px 32px;
    border-radius: 24px;
    background: #0ed034;
    color: #fff;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px #0002;
    transition: background 0.2s;
    margin-bottom: 25px;
}   

/* Footer links responsive row/column */
.footer-links {
  margin-top: 18px;
  text-align: center;
  font-size: 1.08em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 16px;
}
.footer-links a {
  color: white;
  text-decoration: none;
  margin: 0 8px 8px 8px;
  padding: 2px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.footer-links a:hover {
  color: #829ebb;
  text-decoration: underline;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 600px) {
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 0;
    column-gap: 0;
    justify-content: center;
  }
  .footer-links a {
    flex: 1 1 45%;
    margin: 0 4px 8px 4px;
    text-align: center;
    min-width: 120px;
  }

  /* Hide mail text in footer on mobile */
  .footer-mail-text {
    display: none;
  }

}

/* Add these styles to ensure footer stays at bottom */
html, body {
    /* height: 100%; this line was removed to fix the code-kingdom hero section issue */
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


/* Enhanced About Us Section */
.about-us-main-page-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background-color: #e0f7f3;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    max-width: 800px;

    h2 {
        font-size: 2.5em;
        color: #2c3e50;
        margin-bottom: 20px;
        text-align: center;
        margin-top: 0;
    }

    p {
        font-size: 1.2em;
        color: #555;
        line-height: 1.8;
        text-align: justify;
        margin-bottom: 20px;
    }

    p b {
        color: #2c3e50;
    }
}



/* Responsive Design */
@media (max-width: 768px) {
    .product-img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .product-description {
        font-size: 1em;
        line-height: 1.4;
    }

    .contact-form button {
        width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
        display: block;
        padding: 10px;
        font-size: 1em;
    }

    .contact-section {
        padding: 0 20px; /* Add some padding for smaller screens */
    }

    .form-submit {
        flex-direction: column;
        align-items: flex-end; 
        gap: 10px;
    }

    .contact-form input, .contact-form textarea {
        width: 100%;
        max-width: 100%;
    }

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

    .contact-section {
        padding: 15px;
    }

    .about-us-main-page-section {
        max-width: 80vw;
    }
}

.form-submit {
    display: flex;
    flex-direction: row;
    justify-content: flex-start; /* Align the submit button to the right on desktop */
    align-items: center;
    gap: 10px;
}

.reviews-carousel {
    max-width: 700px;
    margin: 0 auto 32px auto;
    padding: 0; /* Remove padding */
    background: none; /* Remove background */
    border-radius: 0;
    box-shadow: none;
    min-height: 80px;
    position: relative;
}

.carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.carousel-review {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px #3a5a9811;
  padding: 18px 14px;
  margin: 0 8px;
  min-width: 0;
  max-width: 180px;
  opacity: 0.5;
  transform: scale(0.9);
  transition: opacity 0.7s, transform 0.7s, box-shadow 0.7s;
  pointer-events: none;
  font-size: 0.95em;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  flex-direction: column; /* <-- add this line */
  align-items: flex-start; /* <-- align children to the left */
  justify-content: center;
}

.carousel-review.active {
  opacity: 1;
  transform: scale(1.05);
  font-weight: bold;
  pointer-events: auto;
  max-width: 400px;
  font-size: 1.15em;
  box-shadow: 0 4px 24px #3a5a9811;
  background: #fff;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2em;
  color: #2c3e50;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  padding: 0 12px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.carousel-arrow:hover {
  opacity: 1;
}
.carousel-arrow.left { left: 0; }
.carousel-arrow.right { right: 0; }

.review-author {
  font-size: 0.85em;
  color: #2986cc;
  margin-top: 8px;
  text-align: left;
  width: 100%;
  direction: rtl; /* For Hebrew, use rtl */
  display: block;
}

.carousel-review .review-text {
  direction: rtl; /* For Hebrew, use rtl */
  width: 100%;
  text-align: center;
  display: block;
}

.big-quote {
  font-size: 2em;
  color: #2986cc; /* or any accent color you prefer */
  vertical-align: middle;
  font-family: serif;
  font-weight: bold;
  line-height: 1;
  white-space: nowrap;
}

.right-quote {
  margin-right: 6px;
}

.left-quote {
  margin-left: 6px;
}