
/* Mobile*/
@media (max-width: 768px) {
    /* Hero Section */
    .hero-section {
      height: 400px; 
      padding: 80px 20px; 
    }
    .hero-content h1 {
      font-size: 28px; 
    }
    .hero-content p {
      font-size: 16px; 
    }
    /* About Section */
    .about-us {
      flex-direction: column; 
      padding: 20px; 
    }
    .about-content {
      max-width: 100%; 
    }
    .about-image img {
      height: auto; 
    }
    /* Products Section */
    .products-section {
      padding: 30px 20px; 
    }
    .products-grid {
      flex-direction: column; 
      gap: 20px; 
    }
    .product {
      width: 100%; 
      padding: 20px; 
    }
    .product img {
      width: 100%; 
      height: auto;
    }
    .products-section h2 {
      font-size: 28px;
    }
    .products-section h3 {
      font-size: 22px; 
    }
    .products-section p {
      font-size: 16px; 
    }
    .product:hover {
      transform: scale(1.05); 
    }
    /* Subscription Plans */
    .subscription-section {
      padding: 30px 20px; 
    }
    .subscription-grid {
      flex-direction: column; 
      gap: 20px; 
    }
    .plan {
      width: 100%; 
      padding: 20px; 
    }
    .plan h3 {
      font-size: 24px;
    }
    .plan .price {
      font-size: 28px; 
    }
    .plan ul li {
      font-size: 16px; 
      }
    .plan .btn {
      font-size: 16px;
    }
    /* Brewing Tips */
    .brewing-tips-section {
      padding: 30px 20px; 
    }
    .tips-grid {
      flex-direction: column; 
      gap: 20px; 
    }
    .tip {
      width: 100%;
      padding: 20px; 
    }
    .tip img {
      width: 100%; 
      height: auto; 
    }
    .brewing-tips-section h2 {
      font-size: 28px;
    }
    .tip h3 {
      font-size: 22pxauto;
    }
    .brewing-tips-section h2 {
      font-size: 28px;
    }
    .tip h3 {
      font-size: 22px;
    }
    .tip p {
      font-size: 16px;
    }
    .tip:hover {
      transform: translateY(-5px);
    }
    /* Modal */
    .modal-content {
      width: 90%;
      padding: 20px;
      margin: 15% auto;
      max-height: 85vh; 
      overflow-y: auto; 
    }
    .modal-content h2 {
        font-size: 22px;
    }
    .modal-content h3 {
        font-size: 18px;
    }
    .modal-content p,
    .modal-content ul,
    .modal-content ol {
        font-size: 13px;
    }
    .close-modal {
        font-size: 28px;
    }
    /* Testimonials */
    .testimonials-section {
      padding: 30px 20px;
      text-align: center;
    }
    .testimonials-grid {
      flex-direction: column;
      gap: 20px;
      align-items: center;
    }
    .testimonial-card {
      width: 100%;
      padding: 20px;
      text-align: center;
    }
    .testimonial-header {
      flex-direction: column;
      align-items: center;
    }
    .testimonial-avatar {
      margin-bottom: 10px;
      margin: 20px 20px;
    }
    .testimonial-info h4 {
      font-size: 16px;
    }
    .testimonial-text {
      font-size: 16px;
    }
    /* Contact Section */
    .contact-us {
      padding: 30px 20px;
    }
    .contact-content {
      max-width: 100%;
      padding: 20px;
    }
    .contact-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    .contact-info h3 {
      font-size: 18px;
    }
    .contact-info p {
      font-size: 14px;
    }
    .contact-content input,
    .contact-content textarea,
    .contact-content button {
      font-size: 16px;
    }
    /* Sidebar */
    #sidebar {
      width: 200px;
      height: 100vh;
      position: fixed;
      top: 0;
      left: -200px; 
      background: #5B331D;
      transition: left 0.3s ease;
      z-index: 1000;
    }
    #sidebar.active {
        left: 0; 
    }
    /* Main not be pushed */
    #main-content {
      margin-left: 0 !important; 
      transition: none; 
    }
    /* Collapse Button */
    #collapse-button {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      background-color: #5B331D;
      color: white;
      cursor: pointer;
      font-size: 40px;
      text-align: center;
    }
    #sidebar ul li {
      padding: 15px 20px;
      text-align: left;
      width: 100%;
    }
    #sidebar ul li a {
      color: rgb(255, 255, 255);
      text-decoration: none;
      display: block;
      font-size: 1rem;
      transition: background 0.3s ease;
    }
    #sidebar ul li a:hover {
      background: #99644e;
    }
    /* Footer */
    .footer-container {
      flex-direction: column;
      text-align: center;
      padding: 0 20px; 
      width: 100%;
      max-width: 100%;
    }
    .footer {
      padding: 40px 0;
      width: 100%;
    }
    .footer-column {
        width: 100%;
        margin-bottom: 20px;
    }
    .site-wrapper {
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }
    .footer {
      background-color: #3E2723;
      color: #ffffff;
      font-family: 'Poppins', sans-serif;
      padding: 40px 0;
      width: 100%;
      margin-top: auto; 
    }
    .footer-container {
      flex-direction: column;
      text-align: center;
    }
    .footer-column {
      width: 100%;
      margin-bottom: 20px;
    }
    .footer h5 {
      font-size: 16px;
    }
    .footer ul li a {
      font-size: 14px;
    }
    .newsletter input {
      font-size: 14px;
    }
    .newsletter button {
      font-size: 14px;
    }
    .single-post-container {
      padding: 20px;
    }
    .single-post-container h1 {
      font-size: 30px;
    }
    .post-navigation {
      flex-direction: column;
      align-items: center;
    }
  }
  
  /* Tablet Styles (768px - 1024px) */
  @media (min-width: 768px) and (max-width: 1024px) {
    /* Hero Section */
    .hero-section {
      height: 450px;
      padding: 100px 40px;
    }
    .hero-content h1 {
      font-size: 32px;
    }
    .hero-content p {
      font-size: 18px;
    }
    /* About Section */
    .about-us {
      padding-top: 10px;
      flex-direction: column; 
      padding: 0px 50px; 
    }
    .about-image img {
      width: 100%; 
      height: 420px; 
      border-radius: 8px;
      box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);
      margin-bottom: 20px; 
    }
    .about-content {
      max-width: 100%; 
    }
    .about-content-title h2{
      font-size: 32px;
      font-weight: bold;
    }
    .about-content h3 {
      font-size: 24px; 
      text-align: left; 
      margin-bottom: 15px; 
    }
    .about-content p {
      font-size: 18px;
      line-height: 1.6; 
      text-align: justify; 
      margin-bottom: 20px; 
    }
    .about-content-title h2 {
      font-size: 28px;
      margin-bottom: 20px; 
    }
    /* Products Section */
    .products-section {
      padding: 40px;
    }
    .products-grid {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 20px;
      align-items: stretch; 
    }
    .product {
      width: calc(50% - 10px);
      padding: 20px;
    }
    .product img {
      width: 100%;
      height: auto;
    }
    .products-section h2 {
      font-size: 32px;
    }
    .products-section h3 {
      font-size: 24px;
      min-height: 64px; 
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    .products-section p {
      flex-grow: 1;
      text-align: center;
    }
    .product:hover {
      transform: scale(1.05);
    }
    /* Subscription Plans */
    .subscription-section {
      padding: 40px;
    }
    .subscription-grid {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 20px;
      align-items: stretch;   
    }
    .plan {
      width: calc(50% - 10px);
      padding: 20px;
      display: flex;  
      flex-direction: column; 
      justify-content: space-between; 
      min-height: 100%;
      flex: 1;
    }
    .plan h3 {
      font-size: 24px;
      min-height: 64px; 
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    .plan .price {
      font-size: 32px;
    }
    .plan ul li {
      font-size: 16px;
    }
    .plan .btn {
      font-size: 16px;
      margin-top: auto;
    }
    /* Brewing Tips */
    .brewing-tips-section {
      padding: 40px;
    }
    .tips-grid {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 20px;
      align-items: stretch; 
    }
    .tip {
      width: calc(50% - 10px);
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between; 
    }
    .tip img {
      width: 100%;
      height: 8.5rem;
    }
    .brewing-tips-section h2 {
      font-size: 32px;
    }
    .tip h3 {
      font-size: 24px;
      min-height: 64px; 
      display: flex;
      align-items: center; 
      justify-content: center;
      text-align: center;
    }
    .tip p {
      font-size: 16px;
      flex-grow: 1; 
      text-align: center;
    }
    .tip a{
      display: block;
      text-align: center;
      margin-top: auto; 
    }
    .tip:hover {
      transform: translateY(-5px);
    }
    /* Modal */
    .modal-content {
      width: 90%;
      padding: 1.25rem;
      margin: 10% auto; 
      max-height: 80vh; 
      overflow-y: auto; 
    }
    .modal-content h2 {
      font-size: 2rem; 
    }
    .modal-content h3 {
      font-size: 1.75rem;
    }
    .modal-content p,
    .modal-content ul,
    .modal-content ol {
      font-size: 1.2rem; 
    }
    .close-modal {
      font-size: 2.25rem;
    }
    /* Testimonials Section */
    .testimonials-section {
      padding: 40px;
      text-align: center;
    }
    .testimonials-grid {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
    }
    .testimonial-card {
      width: calc(50% - 10px);
      padding: 20px;
      text-align: center;
    }
    .testimonial-header {
      flex-direction: row;
      align-items: center;
    }
    .testimonial-avatar {
      margin-bottom: 10px;
      margin: 20px 20px;
    }
    .testimonial-info h4 {
      font-size: 18px;
    }
    .testimonial-text {
      font-size: 16px;
    }
    /* Contact Section */
    .contact-us {
      padding: 40px;
    }
    .contact-content {
      max-width: 100%;
      padding: 20px;
    }
    .contact-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
    .contact-info h3 {
      font-size: 20px;
    }
    .contact-info p {
      font-size: 16px;
    }
    .contact-content input,
    .contact-content textarea,
    .contact-content button {
      font-size: 16px;
    }
    /* Sidebar Section */
    #sidebar {
       width: 200px;
       height: 100vh;
       position: fixed;
       top: 0;
       left: -200px; 
       background: #5B331D;
       transition: left 0.3s ease;
       -index: 1000;
    }
    #sidebar.active {
      left: 0; 
    }
    /* Main not be pushed */
    #main-content {
      margin-left: 0 !important; 
      transition: none; 
    }
    /* Collapse Button */
    #collapse-button {
      position: absolute;
      bottom: 15px;
      left: 50%;
      transform: translateX(-50%);
      background-color: #5B331D;
      color: white;
      cursor: pointer;
      font-size: 40px;
      text-align: center;
    }
    #sidebar ul li {
      padding: 20px 24px;
      text-align: left;
      width: 100%;
    }
    #sidebar ul li a {
      color: rgb(255, 255, 255);
      text-decoration: none;
      display: block;
      font-size: 20px;
      transition: background 0.3s ease;
    }
    #sidebar ul li a:hover {
      background: #99644e;
    }
    /* Footer */
    .footer {
      padding: 40px;
    }
    .footer-container {
      flex-direction: row;
      flex-wrap: wrap;
      text-align: left;
    }
    .footer-column {
      width: calc(50% - 20px);
      margin-bottom: 20px;
    }
    .footer h5 {
      font-size: 18px;
    }
    .footer ul li a {
      font-size: 16px;
    }
    .newsletter input {
      font-size: 16px;
    }
    .newsletter button {
      font-size: 16px;
    }
  }

  /* Desktop Styles (1025px and above)*/
  @media (min-width: 1025px) {
      /* Products Section */
      .products-section {
        padding: 50px 80px; 
      }
      .products-grid {
        flex-direction: row;
        flex-wrap: wrap; 
        gap: 20px; 
      }
      .product {
        width: calc(50% - 10px); 
        padding: 20px; 
      }
      .product img {
        width: 100%; 
        height: auto;
      }
      .products-section h2 {
        font-size: 32px; 
      }
      .products-section h3 {
        font-size: 24px; 
      }
      .products-section p {
        font-size: 18px; 
      }
      .product:hover {
        transform: scale(1.05); 
      }
      /* Modal */
      .modal-content {
        width: 90%;
        padding: 1.6rem;
        margin: 5% auto; 
        max-height: 80vh;
        max-width: 100vh; 
        overflow-y: auto; 
      }
      /* Subscription Plans */
      .subscription-section {
        padding: 50px 80px; /*alignment */
      }
      .subscription-grid {
        flex-direction: row; 
      }
      .plan {
        width: calc(50% - 10px);
        padding: 20px;
        display: flex;  
        flex-direction: column; 
        justify-content: space-between; 
        min-height: 100%;
        flex: 1;
      }
      .plan h3 {
        font-size: 24px;
        min-height: 64px; 
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
      }
      .plan .price {
        font-size: 32px;
      }
      .plan ul li {
        font-size: 16px;
      }
      .plan .btn {
        font-size: 16px;
        margin-top: auto;
      }
      /* Testimonials Section */
      .testimonials-section {
        padding: 50px 80px; 
        text-align: center;
      }
      .testimonials-grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center; 
      }
      .testimonial-card {
        width: calc(50% - 10px); 
        padding: 20px;
        text-align: center; 
      }
      .testimonial-header {
        flex-direction: row;
        align-items: center; 
      }
      .testimonial-avatar {
        margin-bottom: 0;
        margin-right: 10px;
      }
      .testimonial-info h4 {
        font-size: 18px;
      }
      .testimonial-text {
        font-size: 16px;
      }
  }