/* Generated from page: other */
.themify_builder_content-525 .tb_b6jo310.module-fancy-heading.module .main-head{font-size:80px}
.themify_builder_content-525 .tb_oytg815.module-text{text-align:center;font-size:25px}
.themify_builder_content-525 .tb_5paz195{padding-bottom:60px;padding-top:60px}
.themify_builder_content-525 .tb_lozl195{padding-right:50px;padding-left:50px}
.themify_builder_content-525 .tb_qbj8843{--colg:var(--none);--align_content:var(--align_center);--col:.847fr .973fr 1.109fr .975fr 1.096fr}
.themify_builder_content-525 .tb_sb3z207,.themify_builder_content-525 .tb_dpva363,.themify_builder_content-525 .tb_bl2a394{align-content:space-between;justify-content:center;justify-items:center}
.themify_builder_content-525 .tb_1q19401.module-fancy-heading.module .main-head,.themify_builder_content-525 .tb_wzq5363.module-fancy-heading.module .main-head,.themify_builder_content-525 .tb_nua7815.module-fancy-heading.module .main-head,.themify_builder_content-525 .tb_9qsz394.module-fancy-heading.module .main-head,.themify_builder_content-525 .tb_ridu69.module-fancy-heading.module .main-head{font-size:45px;font-family:"goudy-old-style";font-weight:100}
.themify_builder_content-525 .tb_1q19401.module-fancy-heading,.themify_builder_content-525 .tb_wzq5363.module-fancy-heading,.themify_builder_content-525 .tb_nua7815.module-fancy-heading,.themify_builder_content-525 .tb_9qsz394.module-fancy-heading,.themify_builder_content-525 .tb_ridu69.module-fancy-heading{padding-bottom:0}
.themify_builder_content-525 .tb_1q19401.module-fancy-heading.module .main-head a,.themify_builder_content-525 .tb_wzq5363.module-fancy-heading.module .main-head a,.themify_builder_content-525 .tb_nua7815.module-fancy-heading.module .main-head a,.themify_builder_content-525 .tb_9qsz394.module-fancy-heading.module .main-head a,.themify_builder_content-525 .tb_ridu69.module-fancy-heading.module .main-head a{text-decoration:underline;color:#2c2a29}
.themify_builder_content-525 .tb_1q19401.module-fancy-heading.module .main-head a:hover,.themify_builder_content-525 .tb_wzq5363.module-fancy-heading.module .main-head a:hover,.themify_builder_content-525 .tb_nua7815.module-fancy-heading.module .main-head a:hover,.themify_builder_content-525 .tb_9qsz394.module-fancy-heading.module .main-head a:hover,.themify_builder_content-525 .tb_ridu69.module-fancy-heading.module .main-head a:hover{color:#d3bc8d}
.themify_builder_content-525 .tb_1q19401.module-fancy-heading.module .main-head a:hover:hover,.themify_builder_content-525 .tb_wzq5363.module-fancy-heading.module .main-head a:hover:hover,.themify_builder_content-525 .tb_nua7815.module-fancy-heading.module .main-head a:hover:hover,.themify_builder_content-525 .tb_9qsz394.module-fancy-heading.module .main-head a:hover:hover,.themify_builder_content-525 .tb_ridu69.module-fancy-heading.module .main-head a:hover:hover{text-decoration:none}
.themify_builder_content-525 .tb_tdbb815{align-content:stretch;justify-content:center;justify-items:center;align-items:center}
.themify_builder_content-525 .tb_pa5e815.module-image{padding-top:0}
.themify_builder_content-525 .tb_nua7815.module-fancy-heading.module:hover .main-head,.themify_builder_content-525 .tb_ridu69.module-fancy-heading.module:hover .main-head{text-shadow:-1px 1px 3px #d3bc8d}
.themify_builder_content-525 .tb_08tx69{padding-right:0;align-content:space-between;justify-content:center;justify-items:center;-webkit-mask-position:0 0;mask-position:0 0;-webkit-mask-repeat:repeat;mask-repeat:repeat}
.themify_builder_content-525 .tb_2yze655.module-text{margin-bottom:5px;margin-top:5px;text-align:justify;line-height:25px;font-size:20px}

@media(max-width:1024px){
.themify_builder_content-525 .tb_lozl195{padding-right:25px;padding-left:25px}
}
@media(max-width:768px){
.themify_builder_content-525 .tb_lozl195{padding-right:10px;padding-left:10px}
.themify_builder_content-525 .tb_qbj8843{margin-right:-6px}
.themify_builder_content-525 .tb_dpva363{justify-self:auto;align-self:auto;gap:0;align-items:inherit;grid-auto-flow:row}
}
@media(max-width:600px){
.themify_builder_content-525 .tb_b6jo310.module-fancy-heading.module .main-head{font-size:60px}
.themify_builder_content-525 .tb_lozl195{justify-self:center;align-self:center;align-content:space-evenly;justify-content:center;justify-items:center;padding-right:0;padding-left:0}
.themify_builder_content-525 .tb_qbj8843{--col:none;--area:var(--aream5_auto)}
.themify_builder_content-525 .tb_sb3z207,.themify_builder_content-525 .tb_dpva363,.themify_builder_content-525 .tb_bl2a394,.themify_builder_content-525 .tb_08tx69{justify-self:center;align-items:baseline;align-content:stretch;justify-content:space-evenly}
.themify_builder_content-525 .tb_tdbb815{justify-self:center;align-items:baseline;justify-content:space-evenly}
.themify_builder_content-525 .tb_2yze655.module-text{padding-bottom:0}
}/*Builder Custom CSS START*/
/* Target all icon images within the other-icon class */
.other-icon .image-wrap img {
  width: 100%;
  height: auto;
  max-width: 250px; /* Adjust this value for your desired maximum size */
  aspect-ratio: 1 / 1; /* Ensures square aspect ratio */
  object-fit: contain; /* Ensures image fits within bounds without distortion */
}

/* Make the image wrapper responsive */
.other-icon .image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

@media (max-width: 1000px) {
  .other-list.tb_col_count_5 {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr); /* 6-column grid for centering */
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    justify-items: center;
  }
  
  /* Place items in specific grid positions */
  .other-list .module_column:nth-child(1) { grid-column: 1 / 3; }
  .other-list .module_column:nth-child(2) { grid-column: 3 / 5; }
  .other-list .module_column:nth-child(3) { grid-column: 5 / 7; }
  .other-list .module_column:nth-child(4) { 
    grid-column: 2 / 4; 
    grid-row: 2;
  }
  .other-list .module_column:nth-child(5) { 
    grid-column: 4 / 6; 
    grid-row: 2;
  }
}

/* Ensure columns scale properly on smaller screens */
@media (max-width: 768px) {
  .other-icon .image-wrap img {
    max-width: 250px; /* Smaller size on mobile */
  }
}

/* Mobile - single column */
@media (max-width: 600px) {
  .other-list.tb_col_count_5 {
    grid-template-columns: 1fr !important; /* Fixed: was "1", now "1fr" */
    grid-template-rows: auto !important; /* Reset rows */
    gap: 15px; /* Slightly smaller gap for mobile */
  }
  
  /* Reset the specific grid positioning */
  .other-list .module_column {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  
  /* Adjust icon size for mobile */
  .other-icon .image-wrap img {
    max-width: 200px; /* Smaller icons on mobile */
  }
}
/*Builder Custom CSS END*/