/* Standardized Typography */
:root {
  --primary-bg: #FFFFFF;
  --secondary-bg: #F9F9F9;
  --heading-color: #D87058;
  --subheading-color: #7C3626;
  --body-color: #2B3840;
  --cta-bg: #2B3840;
  --footer-bg: #4C5B61;
  --highlight-color: #F47D3A;
}

/* Headings */
h1,
h2,
h3 {
  color: var(--heading-color);
  font-family: "Helvetica", sans-serif;
  font-weight: bold;
}

h1 {
  font-size: 40px;
  line-height: 1.4;
}

h2 {
  font-size: 36px;
  line-height: 1.3;
}

h3 {
  font-size: 24px;
  line-height: 1.2;
}

/* Body Text */
body,
p {
  font-size: 18px;
  line-height: 1.6;
}

/* General Layout */
.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Mobile-First Adjustments */
/* General Mobile-First Adjustments */
@media (max-width: 768px) {
  body {
    font-size: 14px;
    padding: 10px;
  }

  .container {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
  }

  header {
    text-align: center;
    padding: 20px;
  }

  .navbar-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .navbar-links li {
    margin: 5px 0;
  }

  .banner {
    padding: 15px;
    font-size: 1.1rem;
  }

  /* Blog Section - Two Columns for Medium Screens */
  .blog-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-post {
    flex-direction: column;
    height: auto;
    /* Dynamic height */
    max-width: 100%;
    /* Restrict width on mobile */
    margin: 0 auto;
    /* Center alignment */
  }

  .blog-post img {
    width: 100%;
    /* Ensure image scales proportionally */
    height: auto;
    /* Maintain aspect ratio */
    max-width: 600px;
    /* Optional: Set a max-width for larger images */
    display: block;
    /* Ensure block-level element */
    margin: 0 auto 15px;
    /* Center-align with spacing */
  }

  .blog-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Single Column for Small Screens */
  @media (max-width: 480px) {
    .blog-section {
      grid-template-columns: 1fr;
      /* Single-column layout for smaller screens */
    }

    .blog-post img {
      width: 100%;
      /* Scale to container width */
      max-width: 90%;
      /* Add a smaller maximum width */
    }
  }


  /* Call to Action Section */
  .cta-section {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-form input,
  .cta-form .cta-button {
    width: 100%;
  }

  .cta-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    /* Ensure responsiveness */
    border-radius: 10px;
    margin: 10px 0;
  }

  /* Order Items Section */
  .order-item {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .item-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .payment-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .promo-banner {
    padding: 20px;
    margin: 0 auto;
    /* Center alignment */
  }

  .promo-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
  }

  /* Blog Grid */
  .blog-grid {
    grid-template-columns: 1fr;
    /* Single-column layout for all posts */
  }

  .cta-section .cta-content,
  .cta-section .cta-image {
    flex: 1 1 auto;
    width: 100%;
    /* Full width */
  }
}

/* Container for Centering Content */
.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  padding: 0 20px;
}

/* Header and Navbar Styling */
.banner {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}

/* Scrolling Banner Styling */
.scrolling-banner {
  overflow: hidden;
  background-color: #000;
  color: #fff;
  white-space: nowrap;
  width: 100%;
  padding: 10px 0;
  position: relative;
}

.scrolling-banner p {
  display: inline-block;
  padding-left: 100%;
  /* Starts the text off-screen to the right */
  animation: scrollText 15s linear infinite;
  /* Adjust speed by changing '15s' */
  font-size: 16px;
  color: #fff;
  margin: 0;
}

/* Keyframes for scrolling effect */
@keyframes scrollText {
  from {
    transform: translateX(0);
    /* Start position */
  }

  to {
    transform: translateX(-100%);
    /* End position, scrolling off-screen to the left */
  }
}

.navbar {
  background-color: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
  transition: all 0.3s ease;
  margin-bottom: 0 !important;
}

.navbar a {
  color: #D87058;
}

.navbar a:hover {
  color: black;
}

.navbar-brand {
  padding: 0;
  margin-top: 15px;
}

.navbar-brand img {
  border-radius: 8px;
  width: 150px;
  height: auto;
}

.navbar-header {
  display: flex;
  align-items: center;
}

.logo {
  height: 60px;
  margin-right: 10px;
}

.brand-name {
  font-size: 16px;
  font-weight: bold;
  color: black;
  margin-left: -15px;
}

.navbar-links {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-grow: 1;
}

.navbar-links li {
  margin: 0 15px;
}

.navbar-links a {
  color: black;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}

.navbar-links a:hover {
  color: #d87058;
}

.navbar-icons {
  display: flex;
  gap: 15px;
}

.navbar.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  /* Ensures visibility */
  padding: 15px 0;
}

/* Dropdown menu styling
.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.dropdown-menu {
  transition: opacity 0.3s ease;
  opacity: 0;
}

.navbar-nav .dropdown:hover .dropdown-menu {
  opacity: 1;
}

.dropdown-menu > li > a:hover {
  background-color: #D87058;
  color: #fff;
} */

.nav>li>a:hover {
  background-color: transparent;
}


/* Section Title Styling */
.section-title {
  background-color: #d87058;
  color: #fff;
  text-align: center;
  padding: 50px 20px;
  margin-bottom: 30px;
}

.section-title h2 {
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
}

/* Blog posts grid */
.blog-section {
  grid-template-columns: 1fr;
}

/* Full blog post styling */
.blog-section .blog-post-full {
  display: flex;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
}

.blog-section .blog-post-full img {
  width: 50%;
  border-radius: 8px;
  margin-right: 20px;
}

/* Ensure the image doesn't overflow its container */
.img-fluid {
  max-width: 100%;
  /* Restrict image width */
  height: auto;
  /* Maintain aspect ratio */
  display: block;
  /* Ensure no inline spacing issues */
  margin: 0 auto;
  /* Center-align the image */
}

/* Add spacing adjustments between columns on smaller screens */
@media (max-width: 768px) {
  .row {
    margin-bottom: 20px;
    /* Space between rows */
  }

  .col-md-6 {
    margin-bottom: 15px;
    /* Add spacing for stacked layout */
  }
}

/* Regular blog post cards */
.blog-post {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.blog-post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-post h3 {
  color: #7c3626;
  margin: 15px 0;
}

.blog-post p {
  color: #333;
}

/* Footer for date and button */
.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: #7c3626;
}

.cta-button {
  background-color: #2b3840;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  width: 150px;
}

.cta-button:hover {
  background-color: #1f2629;
}


.cta-section {
  display: flex;
  width: 100%;
  background-color: #333;
  border-radius: 8px;
  overflow: hidden;
}

.cta-content {
  padding: 40px;
  color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-content h2 {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
}

.cta-content p {
  font-size: 16px;
  line-height: 1.5;
}

.cta-form {
  display: flex;
  gap: 10px;
}

.cta-form input[type="email"] {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
}

.cta-form .cta-button {
  padding: 10px 20px;
  background-color: #2b3840;
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
}

.cta-privacy {
  font-size: 12px;
  color: #ccc;
  margin-top: 10px;
}

.cta-privacy a {
  color: #ccc;
  text-decoration: underline;
}

.cta-image {
  flex: 1;
  background-color: #d87058;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
}

.cta-content {
  flex: 1;
}

.cta-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.cta-form input {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  flex: 1;
}

.cta-button {
  padding: 10px 20px;
  background-color: #d87058;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.cta-privacy {
  font-size: 0.9em;
  color: #666;
  margin-top: 15px;
}

.cta-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Grid for remaining posts */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}


/* CTA Section */
.cta-section {
  background-color: #d87058;
  color: #fff;
  padding: 40px;
  text-align: center;
}

.order-tracking {
  text-align: center;
  padding: 40px 0;
  color: #fff;
}

.order-tracking h1 {
  color: #d87058;
  margin-bottom: 10px;
}

.order-tracking p {
  color: #666;
  margin-bottom: 20px;
}

.tracking-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

.tracking-form label {
  font-weight: bold;
  color: #333;
}

.tracking-form input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.tracking-form input:focus {
  outline: 2px solid #d87058;
}

/* Order Header */
.order-header {
  text-align: center;
  margin: 20px 0;
}

.order-header h1 {
  font-size: 32px;
  color: #333;
  font-weight: bold;
  margin-bottom: 10px;
}

.order-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.tab-button {
  background-color: #f0f0f0;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.tab-button.active {
  background-color: #333;
  color: #fff;
}

.content-container {
  display: block;
  width: 100%;
  gap: 20px;
  padding: 20px;
  margin-top: 0 auto;
}

.order-tracking {
  flex: 7;
  width: 100%;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
}

/* Estimated Delivery */
.estimated-delivery {
  background-color: #fff;
  padding: 10px;
  margin-bottom: 20px;
  text-align: center;
  border-radius: 5px;
}

.estimated-delivery p {
  font-size: 18px;
  color: #333;
}

.estimated-delivery span {
  color: #d87058;
  font-weight: bold;
}

/* Order Items */
.order-item {
  gap: 20px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  align-items: center;
}

.item-image img {
  width: 100px;
  height: auto;
  border-radius: 5px;
}

.item-details {
  flex: 1;
}

.item-details h3 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin: 0 0 8px;
}

.item-details p {
  color: #666;
  margin: 4px 0;
}

/* Payment Info */
.payment-info {
  display: flex;
  justify-content: space-between;
  /* Spread out the payment info */
  align-items: center;
  margin-top: 10px;
}


.payment-info .payment-text {
  font-weight: bold;
  color: #333;
  margin-right: 10px;
}

.payment-info .cta-button {
  background-color: #d87058;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 8px 15px;
  cursor: pointer;
}

/* FAQ Section */
.faq-section {
  width: 100%;
  /* Make it span across the page */
  text-align: center;
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
}

.faq-section .cta-button {
  background-color: #d87058;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 8px 15px;
  cursor: pointer;
}

/* Promo Banner */
.promo-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 8px;
  gap: 20px;
}

.promo-text {
  color: #d87058;
  font-weight: bold;
  font-size: 18px;
  margin: 0;
}

.promo-image img {
  max-width: 60%;
  height: auto;
  border-radius: 8px;
}

.promo-button {
  background-color: #d87058;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.promo-button:hover {
  background-color: #b65847;
}

/* Mobile-Responsive Enhancements */
@media (max-width: 768px) {

  .cta-section,
  .promo-banner,
  .order-tracking {
    padding: 20px;
  }

  .order-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .item-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .payment-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-section {
    padding: 10px;
  }

  .promo-image img {
    max-width: 80%;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {

  /* Intro Section */
  .intro-section {
    flex-direction: column;
    text-align: center;
    /* Center-align text on smaller screens */
    padding: 20px;
  }

  .intro-text {
    padding: 0;
    /* Remove right padding */
    margin-bottom: 20px;
    /* Add spacing between text and image */
  }

  .intro-image img {
    width: 100%;
    max-width: 300px;
    /* Restrict image size */
    margin: 0 auto;
  }

  /* Tagline Section */
  .tagline-section {
    padding: 20px;
  }

  .company-info {
    font-size: 14px;
    /* Reduce font size */
    line-height: 1.4;
  }

  .first-letter {
    font-size: 36px;
    /* Scale down initial letter */
    margin-right: 6px;
  }

  /* Ergonomic Chair Section */
  .ergonomic-chair-section {
    padding: 20px;
  }

  .chair-details {
    flex-direction: column;
    /* Stack content vertically */
    gap: 20px;
    /* Reduce gap */
  }

  .chair-image img {
    width: 100%;
    max-width: 250px;
    /* Adjust image size */
    margin: 0 auto;
  }

  .chair-descriptions {
    text-align: center;
    /* Center-align descriptions */
  }

  .chair-descriptions div {
    margin-bottom: 15px;
    /* Adjust spacing between functions */
  }

  /* Headrest Feature Section */
  .headrest-section {
    padding: 20px;
  }

  .video-container iframe {
    max-width: 100%;
    height: auto;
    /* Ensure aspect ratio is maintained */
  }

  /* Partners Section */
  .partners-section {
    padding: 10px;
  }

  .partners-logos {
    flex-wrap: wrap;
    /* Allow logos to wrap */
    gap: 10px;
    /* Reduce gap */
    justify-content: space-evenly;
    /* Center-align logos */
  }

  .partners-logos img {
    width: 80px;
    /* Adjust logo size */
  }
}


.intro-section {
  display: flex;
  padding: 40px;
  align-items: center;
}

.intro-text {
  flex: 1;
  padding-right: 20px;
}

.intro-text h2 {
  color: #7c3626;
}

.intro-text p {
  color: #2b3840;
}

.intro-button {
  background-color: #d87058;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.intro-image {
  flex: 1;
  text-align: center;
}

.intro-image img {
  width: 100%;
}

/* Tagline Section */
.tagline-section {
  background-color: #f1f1f1;
  padding: 40px;
  color: #7c3626;
  text-align: center;
}

.company-info {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
}

.first-letter {
  font-size: 50px;
  /* Big initial letter */
  font-weight: bold;
  float: left;
  margin-right: 8px;
  line-height: 0.9;
  color: #7c3626;
}

/* Ergonomic Chair Section */
.ergonomic-chair-section {
  padding: 40px;
  text-align: center;
}

.ergonomic-chair-section h2 {
  color: #7c3626;
  margin-bottom: 20px;
}

.chair-details {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.chair-descriptions {
  flex: 1;
}

.chair-descriptions div {
  margin-bottom: 20px;
  /* Adds spacing between each function */
}

.chair-descriptions h3 {
  color: #7c3626;
  margin-bottom: 5px;
}

.chair-descriptions p {
  color: #2b3840;
  line-height: 1.6;
  /* Adds line spacing */
  margin-bottom: 50px;
  /* Adds more space after each description */
}

.chair-image img {
  width: 300px;
}

/* Headrest Feature Section */
.headrest-section {
  background-color: #f1f1f1;
  padding: 40px;
  text-align: center;
}

.headrest-section h2 {
  color: #7c3626;
  margin-bottom: 20px;
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container iframe {
  width: 100%;
  max-width: 560px;
  border-radius: 8px;
}

/* Partners Section */
.partners-section {
  padding: 50px 0px;
  background-color: #ffb9a7;
  text-align: center;
}

.partners-section h3 {
  color: #7c3626;
}

.partners-logos {
  display: flex;
  justify-content: space-evenly;
  gap: 20px;
}

.partners-logos img {
  width: 100px;
}

header {
  display: flex;
  justify-content: flex-end;
  padding: 10px 0;
}

header ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header ul li {
  cursor: pointer;
}

.release-header {
  text-align: center;
  padding: 20px 0;
}

.release-header h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.release-header p {
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.image-section {
  text-align: center;
  margin: 20px 0;
}

.image-section img {
  max-width: 80%;
  height: auto;
  border-radius: 10px;
}

.release-notes {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.release-notes h2 {
  font-size: 20px;
  margin-top: 20px;
}

.release-notes p {
  font-size: 16px;
  line-height: 1.5;
  margin-top: 10px;
}

.recommended-reading {
  max-width: 800px;
  margin: 0 auto;
}

.recommended-reading h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.articles {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}

.articles article {
  background-color: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 30%;
}

.articles h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.articles p {
  font-size: 14px;
  color: #666;
}

/* Footer Styling */
.footer {
  background-color: #4C5B61; /* Dark background color */
  padding: 40px 20px;
  font-family: Arial, sans-serif;
  color: #ffffff; /* White text color */
}

.footer-content {
  display: flex; /* Flexbox layout */
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  justify-content: space-between; /* Equal space between columns */
  align-items: flex-start; /* Align items to the top */
  max-width: 1200px; /* Centered container width */
  margin: 0 auto;
  gap: 10px; /* Reduced gap between columns */
}

.footer-logo-section {
  flex: 1 1 300px;
  text-align: left;
  margin-bottom: 20px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 15px;
}

.footer-description {
  font-size: 14px;
  margin-bottom: 20px;
  color: #ffffff;
  width: 90%;
}

.footer-social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-social-icons a {
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 30px;
}

.footer-social-icons a:hover {
  color: #d1d5d8; /* Lighter hover effect */
}

.footer-links {
  display: flex;
  flex-wrap: wrap; /* Ensure wrapping for smaller screens */
  gap: 20px; /* Reduced space between columns */
  text-align: left;
  flex: 3 1 auto; /* Adjust size based on available space */
}

.footer-column {
  flex: 1 1 150px; /* Equal size columns */
  margin-bottom: 20px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #d1d5d8;
}

/* Move Legal Section Up */
.footer .footer-column:last-child {
  align-self: flex-start; /* Align "Legal" with other columns */
}

/* Bottom Section */
.footer-bottom {
  margin-top: 20px;
  font-size: 14px;
  text-align: center;
  color: #ffffff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer-content {
      flex-direction: column; /* Stack items vertically on small screens */
      text-align: center;
      gap: 20px; /* Adjust gap for smaller screens */
  }

  .footer-column {
      text-align: center; /* Center-align columns */
  }

  .footer-social-icons {
      justify-content: center; /* Center social icons */
  }
}

.story-section {
  text-align: center;
  background-color: #fdf5f0;
  padding: 2em 0;
}

.story-section h2 {
  margin-bottom: 0.5em;
  color: #a23a3a;
}

.story-section p {
  margin-bottom: 1.5em;
  color: #555;
  padding: 0px 20%
}

.social-media-icons {
  margin-bottom: 1.5em;
}

.social-media-icons a {
  margin: 0 0.5em;
  font-size: 1.5rem;
  color: #a23a3a;
}

.social-media-icons a:hover {
  color: #7a2626;
}

.story-images {
  display: flex;
  justify-content: space-evenly;
  gap: 1em;
  flex-wrap: wrap;
}

.story-images img {
  width: 200px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Cart section */
/* Overall Cart Styling */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* Adjust opacity as needed */
  opacity: 0;
  /* Initially hidden */
  visibility: hidden;
  /* Initially hidden */
  transition: opacity 0.3s ease;
  z-index: 999;
  /* Make sure it's above other content */
}

.cart-container {
  position: fixed;
  top: 0;
  right: -100%;
  width: 400px;
  max-width: 100%;
  height: 100%;
  background: white;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  padding: 20px;
  z-index: 1000;
  transition: right 0.3s ease;
  font-family: Arial, sans-serif;
}

.cart-title {
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.cart-content {
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
  max-height: 60vh;
  overflow-y: auto;
}

/* Cart Item Styling */
.cart-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  background-color: #fafafa;
}

.cart-item-img {
  width: 80px;
  height: auto;
  margin-right: 15px;
  border-radius: 8px;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.cart-item-color {
  color: #666;
  margin-bottom: 8px;
}

/* Quantity Styling */
.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-btn {
  width: 25px;
  height: 25px;
  border: 1px solid #ddd;
  background-color: #f5f5f5;
  color: #333;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.quantity-btn:hover {
  background-color: #e0e0e0;
}

.quantity-input {
  width: 40px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  color: #333;
}

.checkout-btn {
  background-color: #d87058;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
}

/* Price Styling */
.cart-item-price {
  color: #333;
  font-weight: bold;
  margin-top: 10px;
}

/* Footer Styling */
.cart-footer {
  text-align: center;
  padding-top: 20px;
}

.cart-subtotal {
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.cart-shipping-info {
  font-size: 1.2rem;
  color: #888;
  margin-bottom: 20px;
}

.view-cart-btn {
  background-color: #d87058;
  color: white;
  padding: 12px 25px;
  border: none;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.view-cart-btn:hover {
  background-color: #b2573e;
}

/* Close Button Styling */
.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
  color: #333;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #d87058;
}

/* Default settings for the hamburger menu (hidden for larger screens) */
.hamburger-menu {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
}

/* Navbar links styling for desktop */
#navbarMenu {
  display: flex;
  gap: 20px;
}


/* Mobile-specific styles */
@media (max-width: 767px) {

  /* Show hamburger menu button on mobile */
  .hamburger-menu {
    display: block;
    position: absolute;
    left: 10px;
    top: 15px;
    z-index: 1001;
  }

  /* Hide navbar links by default */
  #navbarMenu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding-top: 60px;
    /* Adjust for the menu icon */
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    margin: 0;
  }

  /* Menu open state */
  #navbarMenu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  /* Style for links in the sliding menu */
  #navbarMenu li {
    margin: 15px 0;
    text-align: center;
  }

  #navbarMenu li a {
    font-size: 1.2rem;
    color: #333;
  }

  .cta-section {
    flex-direction: column;
    gap: 10px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    /* Enforces single-column */
  }
}





/* Search Modal Styling */
.search-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
}

.search-modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 10px;
  width: 50%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.search-modal-content h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.search-modal-content input {
  width: 80%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.search-modal-content button {
  padding: 10px 20px;
  background-color: #c4422a;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.search-modal-content button:hover {
  background-color: #a83224;
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-btn:hover {
  color: black;
}

/* Error message styling */
.error-message {
  color: #d9534f; /* Red color for error text */
  margin-top: 10px;
  font-size: 14px;
  display: none; /* Initially hidden */
}
