/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0 0px; /* Add padding to the left and right sides */
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}




/* all button design */
.custom-button {
    display: inline-block;
    font-size: 18px; /* Default font size */
    font-weight: 549; /* Default font weight */
    color: #000000; /* Default text color */
    background-color: #A37E2D; /* Default background color */
    border: none;
    border-radius: 5px;
    text-decoration: none; /* Remove underline from link */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
    padding: 8px 25px;
}

.custom-button:hover {
    background-color: #ffffff; /* Slightly darker on hover */
    color: #7DA908; /* Change text color on hover */
    border: 2px solid #7DA908; /* Add a border on hover */
}
















/* homepage */
/* Carousel */
.carousel-container {
    position: relative;
    width: calc(100% - 40px); /* Reduce width by 40px (20px left + 20px right) */
    height: 100vh;
    overflow: hidden;
    margin-left: 20px;
    margin-right: 20px;
    background-color: #000;
  }

  .carousel-inner {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    transform: translateX(0%);
  }

  .carousel-item {
    min-width: 100%;
    height: 100%;
    position: relative;
  }

  /* Dark Overlay */
  .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.700); /* Adjust the alpha value (0.0 - 1.0) for darkness */
    z-index: 1; /* Place the overlay above the image */
  }

  .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2; /* Ensure caption is above the overlay */
  }

  .carousel-caption h2 {
    color: #7DA908;
    padding-top: 20PX;
    margin: 0;
  }

  .carousel-caption h1 {
    font-size: 60px;
    padding-top: 40PX;
    margin: 0;
  }

  .content {
    padding-top: 20px;
    font-size: 20px;
    line-height: 30px;
  }
  
 

  .carousel-control-prev,
  .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #7ea90898;
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    z-index: 3; /* Ensure controls are above the overlay */
    font-size: 1.5rem;
    user-select: none;
  }

  .carousel-control-prev {
    left: 20px;
  }

  .carousel-control-next {
    right: 20px;
  }

  /* Mobile responsiveness */
  @media (max-width: 768px) {
    .carousel-container {
      width: 100%;
      margin-left: 0;
      margin-right: 0;
      height: 50vh;
    }
    .carousel-caption h1 {
      font-size: 40px;
      padding-top: 20px;
    }
    .carousel-caption h2 {
      font-size: 24px;
    }
    .custom-button {
      padding: 12px 24px;
      font-size: 14px;
    }
    .carousel-control-prev,
    .carousel-control-next {
      width: 40px;
      height: 40px;
    }
    .carousel-control-prev {
      left: 10px;
    }
    .carousel-control-next {
      right: 10px;
    }
  }

  @media (max-width: 480px) {
    .carousel-container {
      height: 50vh;
    }
    .carousel-caption h1 {
      font-size: 32px;
    }
    .carousel-caption h2 {
      font-size: 20px;
    }
    .custom-button {
      padding: 10px 20px;
      font-size: 12px;
    }
  }


















/* homepage */
/* Nacnad Store Description */
.program-container {
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.program-header {
    text-align: center;
    margin-bottom: 40px;
}

.title-border {
    display: inline-block;
    border-bottom: 2px solid #7DA908;
    padding: 5px 10px;
    color: #A37E2D;
    border-radius: 10px;
    font-size: 28px;
    font-weight: bold;
}


.program-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.program-item {
    flex: 1 1 calc(33.333% - 20px);
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 8px #A37E2D;
    transition: transform 0.3s ease;
}

.program-item:hover {
    transform: translateY(-10px);
}

.program-img {
    position: relative;
}

.program-img {
    width: 100%;
    height: 200px;
    overflow: hidden; /* This is key to hiding the overflowing parts */
}

.program-img img {
    width: 100%; /* Make the image fill the width of its container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove any default inline spacing */
}

.program-rate {
    position: absolute;
    top: 10px;
    right: 50%;
    transform: translateX(50%); /* Center horizontally */
    background: #ffffff;
    color: #000000;
    padding: 5px 8px;
    border-radius: 5px;
    text-align: center; /* Ensure text is centered */
    font-size: 12px;
}

.program-text {
    padding: 15px;
    text-align: center;
    font-size: 16px;
    line-height: 30px;
}


.program-footer {
    display: flex;
    justify-content: center;
    background: #7DA908;
    padding-top: 10px;
}


  






























/* homepage */
/* custom furniture */
.custom-furniture-partner {
  width: 100%;
  background: #fff;
  padding: 48px 0;
  display: flex;
  justify-content: center;
}
.custom-furniture-container {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  max-width: 1100px;
  margin: 0 40px;
}
.custom-furniture-images {
  flex-shrink: 0;
}
.custom-furniture-main-img {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(16, 30, 54, 0.06);
  background: #e8f0f5;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.custom-furniture-main-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}
.custom-furniture-thumb-img {
  position: absolute;
  bottom: 16px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 22px;
  box-shadow: 0 2px 16px rgba(16, 30, 54, 0.09);
  background: #e8f0f5;
  border: 2px solid #7DA908;
  z-index: 2;
}
.custom-furniture-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 22px;
}
.custom-furniture-content {
  flex: 1;
  margin-top: 10px;
}
.custom-furniture-label {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-block;
}
.custom-furniture-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #000000;
  margin: 0 0 18px 0;
  line-height: 1.1;
  letter-spacing: -2px;
}
.custom-furniture-desc {
  color: #000000;
  font-size: 1.07rem;
  margin: 0 0 20px 0;
  max-width: 540px;
  line-height: 20px;
}
.custom-furniture-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.custom-furniture-list li {
  font-size: 1.05rem;
  color: #333;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-weight: 500;
}
.custom-furniture-check {
  color: #7DA908;
  font-size: 1.25em;
  margin-right: 11px;
  font-weight: bold;
  display: inline-block;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .custom-furniture-container {
      flex-direction: column;
      align-items: center;
      gap: 38px;
      /* Added padding for mobile devices */
      padding: 0 24px; 
  }
  .custom-furniture-main-img {
      width: 320px;
      height: 320px;
  }
  .custom-furniture-thumb-img {
      width: 120px;
      height: 120px;
      left: 12px;
      bottom: 12px;
      border-radius: 16px;
  }
  .custom-furniture-title {
      font-size: 2rem;
  }
}

.button-container {
  margin-top: 24px;
}









  
















/* homepage */
/* Spaces & Rooms products */
  .modular-furniture-section {
    padding: 20px 20px;
  }

  .modular-furniture-title {
    font-size: 50px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #222;
  }

  .modular-furniture-description {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    margin-top: 5px;
  }

  .modular-furniture-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .modular-furniture-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .modular-furniture-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #7DA908;
    margin-bottom: 15px;
  }

  .modular-furniture-name {
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 18px;
  }

  .modular-furniture-link img.modular-furniture-image {
    margin-top: 30px;
  }

  /* Responsive adjustments for new section */
  @media (max-width: 950px) {
    .modular-furniture-row {
      grid-template-columns: repeat(2, 1fr);
    }
    .modular-furniture-title {
      font-size: 40px;
    }
    .modular-furniture-description {
      font-size: 16px;
    }
    .modular-furniture-image {
      width: 150px;
      height: 150px;
    }
  }

  @media (max-width: 480px) {
    .modular-furniture-row {
      grid-template-columns: 1fr;
    }
    .modular-furniture-title {
      font-size: 32px;
    }
    .modular-furniture-image {
      width: 120px;
      height: 120px;
    }
  }
















/* homepage */
/* Furniture Repair and trade in */
.super_container {
    width: 100%;
}

.deal_ofthe_week {
    width: 100%;
    padding: 20px 0;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.col {
    flex: 1;
    padding: 20px;
}

.img-section img {
    width: 100%;
    max-width: 500px;
    display: block;
    margin: 0 auto;
}

.text-section {
    display: flex;
    align-items: center;
    position: relative;
    text-align: center;
    flex-direction: column;
}

.deal_ofthe_week_content {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center the content */
    align-items: center;
    height: 100%; /* Ensure it takes full height of the parent container */
}

.section_title h2 {
    font-size: 60px;
    margin-bottom: 20px;
}

.timer {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 20px;
}

.timer li {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer_num {
    font-size: 50px;
    font-weight: bold;
    color: #333;
}

.timer_unit {
    font-size: 1rem;
    color: #666;
}

/* --- Mobile-first adjustments --- */
.deal_ofthe_week_content {
    text-align: center;
    align-items: center;
}

.texter {
    text-align: center;
}

.custom-button {
    margin: 0 auto;
    display: inline-block;
}


/* --- Media Queries --- */
@media screen and (max-width: 800px) {
    .row {
        flex-direction: column; /* Stacks items vertically */
        align-items: center; /* Centers items horizontally */
    }
    
    .img-section {
        order: 1; /* Sets the display order of the image section */
        flex: none; /* Prevents stretching */
        width: 100%;
        text-align: center;
    }

    .img-section img {
        max-width: 80%; /* Makes the image smaller on mobile */
        width: auto; /* Maintains aspect ratio */
        margin: 0 auto;
    }

    .text-section {
        order: 0; /* Sets the display order of the text section */
        flex: none;
        width: 100%;
        padding: 20px 10px;
        text-align: center;
        align-items: center;
    }

    .deal_ofthe_week_content {
        align-items: center;
        text-align: center;
    }

    .section_title h2 {
        font-size: 40px;
        text-align: center;
        margin: 0 auto 10px;
    }

    .timer {
        justify-content: center;
    }

    .texter {
        text-align: center;
        padding: 0 10px;
    }

    .button-container {
        text-align: center;
    }
}



















































/* homepage */
/* Nacnad blocks and accessories */
.blocks_accessories-flash-section {
    width: 98vw;
    min-height: auto;
    background: #232222 url('https://www.transparenttextures.com/patterns/scratch.png') repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.blocks_accessories-flash-bg {
    width: 100vw;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blocks_accessories-flash-main {
    display: flex;
    background: rgba(34, 34, 34, 0.6);
    border-radius: 4px;
    max-width: 1100px;
    width: 90vw;
    min-height: 500px;
    padding: 60px 36px;
    box-shadow: 0 2px 34px 2px rgba(0, 0, 0, 0.16);
    position: relative;
    gap: 48px;
    align-items: center;
}

.blocks_accessories-flash-info {
    flex: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blocks_accessories-flash-title {
    font-size: 25px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.1;
}

.blocks_accessories-flash-subgroup {
    margin-bottom: 20px;
}

.blocks_accessories-flash-urgency {
    font-size: 21px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
}

.blocks_accessories-flash-desc {
    color: #ccc;
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 430px;
}



.blocks_accessories-flash-products {
    padding: 0;
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    margin-left: 18px;
    position: relative;
}

.col.right-section {
    width: 450px;
    max-width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    margin-bottom: 18px;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.col.right-section iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.blocks_accessory {
    width: 100%;
    position: relative;
    height: auto;
    margin-bottom: 0;
    padding-bottom: 0;
}

.blocks_accessories-flash-thumbs {
    display: flex;
    gap: 22px;
    margin-top: 0;
    justify-content: center;
    width: 100%;
}

.blocks_accessories-flash-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    background: #161616;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.12);
    display: block;
}

@media (max-width: 920px) {
    .blocks_accessories-flash-main {
        flex-direction: column;
        gap: 30px;
        padding: 40px 10px;
        align-items: center;
    }

    .blocks_accessories-flash-info {
        align-items: center;
        text-align: center;
    }
    
    .blocks_accessories-flash-desc {
        text-align: center;
        margin: 0 auto 30px auto;
    }

    .blocks_accessories-flash-products {
        margin-left: 0;
        align-items: center;
    }

    .col.right-section {
        width: 100%;
        margin-bottom: 10px;
        min-width: 0;
        margin: 0 auto 10px auto; /* Centers the video container */
    }

    .blocks_accessories-flash-thumbs {
        gap: 12px;
        justify-content: center;
    }

    .blocks_accessories-flash-thumb {
        width: 60px;
        height: 60px;
    }

    .blocks_accessories-flash-title {
        font-size: 2rem;
    }

    @media (max-width: 920px) {
      /* existing responsive styles ... */
  
      .blocks_accessories-flash-desc {
          display: none;
      }
  }
  
}











































/* homepage */
/* newsletter subscription */
.nacnad_store_shop-banner {
  background: linear-gradient(90deg, #A37E2D 0%, #90941A 76%, #7DA908 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  margin: 32px auto 0 auto;
  min-height: 120px;
  max-width: 1000px;
  width: 95%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  gap: 24px;
}

.nacnad_store_shop-imgwrap {
  min-width: 160px;
  min-height: 160px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.nacnad_store_shop-img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 80px 80px 38px 38px;
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.2);
  display: block;
}

.nacnad_store_shop-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.nacnad_store_shop-title {
  font-weight: 700;
  font-size: 1.9rem;
  color: #000;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.nacnad_store_shop-desc {
  color: #222;
  font-size: 1.05rem;
  opacity: 0.8;
  line-height: 1.6;
  max-width: 500px;
}

.nacnad_store_shop-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 📱 Tablet view */
@media (max-width: 750px) {
  .nacnad_store_shop-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
    width: 96%;
    border-radius: 14px;
    gap: 16px;
  }

  .nacnad_store_shop-imgwrap {
    margin: 0 auto;
  }

  .nacnad_store_shop-img {
    width: 100px;
    height: 135px;
    border-radius: 60px 60px 28px 28px;
  }

  .nacnad_store_shop-main {
    margin-top: 16px;
  }

  .nacnad_store_shop-title {
    font-size: 1.4rem;
  }

  .nacnad_store_shop-desc {
    font-size: 0.98rem;
    line-height: 1.5;
    padding: 0 10px;
  }

  .nacnad_store_shop-action {
    margin-top: 14px;
  }
}

/* 📱 Small phones */
@media (max-width: 480px) {
  .nacnad_store_shop-banner {
    padding: 18px 12px;
    border-radius: 10px;
    gap: 14px;
  }

  .nacnad_store_shop-img {
    width: 85px;
    height: 110px;
  }

  .nacnad_store_shop-title {
    font-size: 1.2rem;
  }

  .nacnad_store_shop-desc {
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0 8px;
  }

  .custom-button {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}





























/* homepage */
/* newsletter subscription */
.newsletter-subscription-wrapper {
    display: flex;
    gap: 28px;
    max-width: 1100px;
    margin: 32px auto;
    background: #fff;
    
    justify-content: center;
    align-items: center;
  }
  .newsletter-subscription-article {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    min-width: 0;
    border-radius: 2px;
    overflow: hidden;
  }
  .newsletter-subscription-article-img {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    background: #eee;
  }
  .newsletter-subscription-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .newsletter-subscription-article-content {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 28px 30px 18px 30px;
    color: #fff;
    width: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.62) 70%, rgba(0,0,0,0.1) 100%);
    box-sizing: border-box;
  }
  .newsletter-subscription-topic {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.6px;
    color: #7DA908;
    text-transform: uppercase;
    margin-bottom: 9px;
    display: inline-block;
  }
  .newsletter-subscription-title {
    font-size: 1.38rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.2;
  }
  .newsletter-subscription-date {
    font-size: 0.98rem;
    color: #333;
    font-weight: 400;
    letter-spacing: .2px;
  }
  .newsletter-subscription-form-container {
    flex: 1.1;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    border-radius: 2px;
    padding: 0;
  }
  .newsletter-subscription-form-box {
    width: 100%;
    padding: 38px 32px;
    box-sizing: border-box;
  }
  .newsletter-subscription-form-heading {
    color: #A37E2D;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 17px;
  }
  .newsletter-subscription-form-title {
    color: #000000;
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.2;
  }
  .newsletter-subscription-form-desc {
    color: #333;
    font-size: 1.01rem;
    margin-bottom: 22px;
    line-height: 25px;
  }
  .newsletter-subscription-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .newsletter-subscription-input {
    padding: 10px 12px;
    font-size: 1rem;
    border: 2px solid #7DA908;
    border-radius: 10px;
    outline: none;
    background: #ffffff;
    color: #333;
    margin-bottom: 0;
  }

  
  @media (max-width: 900px) {
    .newsletter-subscription-wrapper {
      flex-direction: column;
      gap: 20px;
      margin: 20px 0;
      max-width: 98vw;
    }
    .newsletter-subscription-article-img {
      height: 210px;
    }
    .newsletter-subscription-form-box {
      padding: 24px 12px;
    }
  }





















  
/* about page */
/* be different */
.nacnad_benefits {
    /* Base Desktop Styles (4 columns) */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    max-width: 1100px;
    margin: 50px auto 20px auto;
    border: 1px solid #eee;
    background: #fff;
}

.nacnad_benefits__item {
    /* Define base height for the item container */
    min-height: 270px;
    
    background: #fff;
    border: 1px solid #7DA908;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
}

/* --- IMAGE STYLES --- */
.nacnad_benefits__img {
    width: 100%;
    height: 100%;
    /* This height will be controlled by the parent .nacnad_benefits__item */
    object-fit: cover;
    display: block;
}

/* Base style for Text Content */
.nacnad_benefits__item--text {
    background: #f5f5f5;
    padding: 0;
    position: relative;
}

.nacnad_benefits__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px 24px; /* Combined vertical/horizontal padding */
    height: 100%;
    width: 100%;
    font-family: 'Poppins', Arial, sans-serif;
    position: relative;
    background: transparent;
}

.nacnad_benefits__title {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: bold;
    color: #222;
    line-height: 1.2;
}

.nacnad_benefits__desc {
    margin: 0 0 18px 0;
    font-size: 17px;
    color: #666;
    line-height: 1.4;
}


/* ------------------------------------------------------------------- */
/* Tablet Layout: 2 Columns (Max Width 990px) */
/* ------------------------------------------------------------------- */
@media (max-width: 990px) {
    .nacnad_benefits {
        /* Change grid to 2 columns, 4 rows */
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, auto); /* Use 'auto' height for flexibility */
        /* Reduce top margin */
        margin-top: 30px; 
    }
    
    /* Ensure the content boxes don't get squashed, but the image is constrained */
    .nacnad_benefits__item {
        /* Use 'auto' here for better text content scaling */
        min-height: auto; 
        
        /* Apply a fixed height only to the image tiles */
        max-height: 220px; 
    }
    
    /* Target only the image items to enforce the height limit for the tile */
    .nacnad_benefits__item--image {
        max-height: 220px;
    }
    
    /* Text content padding adjustment */
    .nacnad_benefits__content {
        padding: 24px 18px; 
    }
    
    /* Ensure the titles and descriptions are still readable */
    .nacnad_benefits__title {
        font-size: 18px;
    }
    .nacnad_benefits__desc {
        font-size: 16px;
    }
}


/* ------------------------------------------------------------------- */
/* Mobile Layout: 1 Column (Max Width 650px - slightly adjusted for content) */
/* ------------------------------------------------------------------- */
@media (max-width: 650px) {
    .nacnad_benefits {
        /* Change grid to single column */
        grid-template-columns: 1fr;
        grid-template-rows: none;
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 20px;
    }
    
    /* Force all items (image and text) to adopt a consistent mobile height */
    .nacnad_benefits__item {
        min-height: auto; 
        max-height: none; /* Remove maximum height constraint */
    }
    
    /* Apply a maximum height specifically for the image display in the single column */
    .nacnad_benefits__item--image {
        min-height: 160px;
        max-height: 240px; 
    }
    
    /* Simplify padding for smaller screens */
    .nacnad_benefits__content {
        padding: 16px 16px;
    }
    
    .nacnad_benefits__title {
        font-size: 16px;
    }
    .nacnad_benefits__desc {
        font-size: 15px;
    }
}